AimTrain

AimTrain 1.3.2

Fixed Players are still invisible after unloading the plugin.
Overhauled UI.
Added Stats (UI only).
Bots don't die anymore they reset instead (Fixes DeathNotes spam, Leaderboards plugins, Performance improvement).
Added bool IsAimTraining(playerId).
Fixed unnecessary data being saved.
  • Like
Reactions: Franky
- The teleporting to Arenas / out of Arena is now done in a loading screen so players wont experience weird render lags
- Fixed
Code:
Failed to call hook 'cmdAimTrain' on plugin 'AimTrain v1.0.8' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.AimTrain+PlayerData].get_Item (UInt64 key) [0x00000] in <filename unknown>:0
  at Oxide.Plugins.AimTrain.cmdAimTrain (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
  at Oxide.Plugins.AimTrain.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
  • Like
Reactions: Franky
Please delete the Config file, Data file & the Lang file before using this Version & check the overview for the new commands.

- Added "Vanish", players cant see each other anymore during AimTrain & cant hear each others gunshots. It is not using the CanNetworkTo hook so it will not lag your server.
- Added support for NoEscape (https://oxidemod.org/plugins/noescape.1394/)
- Fixed Bots running through Rocks , foundations etc. Bots can now also run on top of foundations so you could make Sky Arenas etc.
- Added support for multiple Arenas (check the overview for more Infos).
- Reduced the time it takes to spawn the bots for the first time.
Fixed Bots not spawning in some rare cases
Added UI Buttons to Leave AimTrain and turn on/off infinite ammo (disabled by default)
https://i.imgur.com/M5CsPPp.jpg

Reset your config to get the option to turn on the UI.
  • Like
Reactions: Franky
Fixed unlimited Bots spawning @Coopa
Unsubscribing from hooks when no one is playing AimTrain
Added a config option to let people join with items in their inventory @Coopa
Fixed people Teleporting/Trading while AimTraining @TomHud™

Make sure to reset the config to get the new option.
Fixed affecting HumanNPC and other Bot/NPC plugins @KDDMan
Fixed lag when all Bots spawn at once.
  • Like
Reactions: Franky
Fix for OnItemDropped NRE and other potential NRE's
  • Like
Reactions: Franky
Fix for OnEntityTakeDamage NRE
  • Like
Reactions: Franky