BotSpawn

Moved

Total Downloads: 11,762 - First Release: Jul 31, 2017 - Last Update: Jul 27, 2018

5/5, 81 likes
  1. Keep getting this error with the latest update, edited a fresh config file 3 times, usually pretty good at doing this. Unloaded BotSpawn an reinstalled to make sure was on latest version and downloaded fresh config to edit via FTP. Could someone please have a look when you get a chance, thanks!
     

    Attached Files:

  2. Would you mind testing fixed for me? I haven't been able to replicate this on 1.4.2

    Pm me, please. It seems I don't have permissions to start a conversation.

    [DOUBLEPOST=1515180792][/DOUBLEPOST]
    Single kit format is ["name"] - you're missing the ""
     
    Last edited by a moderator: Jan 5, 2018
  3. Code:
    (14:59:37) | Failed to call hook 'OnEntityDeath' on plugin 'BotSpawn v1.4.2' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component:GetComponentFastPath (System.Type,intptr)
      at UnityEngine.Component.GetComponent[botData] () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.OnEntityDeath (.BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.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
    (14:59:37) | carrol[1025476/76561190005447849] was killed by bear (Bear)
     
  4. @MiikaaQC , could you please try the version a few posts down?
     
    Last edited by a moderator: Jan 5, 2018
  5. Code:
    | Failed to call hook 'OnEntityTakeDamage' on plugin 'BotSpawn v1.4.2' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component:GetComponentFastPath (System.Type,intptr)
      at UnityEngine.Component.GetComponent[botData] () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.OnEntityTakeDamage (.BaseCombatEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.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
    (20:01:35) | Failed to call hook 'OnEntityTakeDamage' on plugin 'BotSpawn v1.4.2' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component:GetComponentFastPath (System.Type,intptr)
      at UnityEngine.Component.GetComponent[botData] () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.OnEntityTakeDamage (.BaseCombatEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.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
    (20:01:36) | Failed to call hook 'OnEntityTakeDamage' on plugin 'BotSpawn v1.4.2' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component:GetComponentFastPath (System.Type,intptr)
      at UnityEngine.Component.GetComponent[botData] () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.OnEntityTakeDamage (.BaseCombatEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.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
    (20:01:36) | Failed to call hook 'OnEntityTakeDamage' on plugin 'BotSpawn v1.4.2' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component:GetComponentFastPath (System.Type,intptr)
      at UnityEngine.Component.GetComponent[botData] () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.OnEntityTakeDamage (.BaseCombatEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.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
    (20:01:37) | Failed to call hook 'OnEntityTakeDamage' on plugin 'BotSpawn v1.4.2' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component:GetComponentFastPath (System.Type,intptr)
      at UnityEngine.Component.GetComponent[botData] () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.OnEntityTakeDamage (.BaseCombatEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.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
    (20:01:41) | Failed to call hook 'OnEntityTakeDamage' on plugin 'BotSpawn v1.4.2' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component:GetComponentFastPath (System.Type,intptr)
      at UnityEngine.Component.GetComponent[botData] () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.OnEntityTakeDamage (.BaseCombatEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.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
    (20:01:41) | Failed to call hook 'OnEntityTakeDamage' on plugin 'BotSpawn v1.4.2' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component:GetComponentFastPath (System.Type,intptr)
      at UnityEngine.Component.GetComponent[botData] () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.OnEntityTakeDamage (.BaseCombatEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.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
    (20:01:42) | [Death Notes] stacee was shot in the Left Forearm by CosmoZA-668 with a M249 (Weapon flashlight | Muzzle Brake | Simple Handmade Sight) from 18.41m.
    (20:01:42) | Failed to call hook 'OnEntityDeath' on plugin 'BotSpawn v1.4.2' (NullReferenceException: )
      at (wrapper managed-to-native) UnityEngine.Component:GetComponentFastPath (System.Type,intptr)
      at UnityEngine.Component.GetComponent[botData] () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.OnEntityDeath (.BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.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
    Hi just updated after wiping , spawn data & botspawn.json im getting this spamming console after 10 mins of it working fine
     
  6. I can't start PMs with anyone, but if the guys with errors could install the attached version, then do "botspawn.reset" in console once loaded, I'd be very grateful.

    Think I've figured out what was going on.
     

    Attached Files:

  7. on it now, ill let you know
    [DOUBLEPOST=1515183713][/DOUBLEPOST]Yep all good no more console spamming and bots drop weapons again, GJ :)
     
  8. Ok, nice! Going to leave that out there for a while before updating.
    Hopefully it stays that way! ;)
     
  9. Just an FYI the botspawn.reset is case sensitive so BotSpawn.reset is the correct console cmd


    Update >>>> console spam is back after 10 mins again
     
  10. Really? Shouldn't be - The code is lowercase "[ConsoleCommand("botspawn.reset")]"
     
  11. i think its an oxide thing I saw Wulf mention it in another thread

    Yep console spam is back sorry steenamaroo
     
  12. *<turns off computer>* :(
     
  13. anything I can do to help?

    I noticed that the new botspawn.json has an empty kit "" used to be "default" would that be the problem?
     
  14. Kind stumped - If you could PM your config+data I guess that might help?
    Thanks dude.
     
  15. That's it, I missed that on every one of them. Thanks for the help! :)
     
  16. Nah, [] = no kit now. Thanks though!
     
  17. Most likely a FP issue, but I noticed the Scientists don´t shoot when you´re inside a building, the second you move out of it, they let it rain down over you, move inside and they stop shooting, they´re still trying to get near you as they see you, they can shoot through chain link and prison cell walls, but not through normal window wall (tested without bars, shudders or anything).
     
    Last edited by a moderator: Jan 5, 2018
  18. I didn't know that, Saxxoo. Thanks!


    Everyone getting errors, I'm working on it with a few guys and will post one more update later tonight.
     
  19. Ok heres what i have figured out. Any time i edit my config file. the .cs file break complelty. and whats very odd about this is im keeping a fresh copy in a untouched file and even that .cs file is corrupted. i have to re download a fresh one. an attempt to reload the plugin also is breaking the .cs file. after deleting my data json, they worked fine(not mowing me down in 2 shots) then i got back on and there mostly standing around. OK. i figured some lag. lower number of bots. and im getting wrecked again. i appreciate your time and effort you have put into this plugin. i do have to say maintaining a rust server is the most pain in the ass game i ever hosted. i host privatly to so i can imagine what people that are paying for it are going threw. rust is brutal..
     
  20. Can you PM me please, prokyle?
    I can't start conversations.