BotSpawn

Moved

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

5/5, 81 likes
  1. Ok I'll try adding monument locations manually to data and use murderers instead and see if that works.
     
  2. I don't think it matters which locations you use, unless there's some other issue?
    Killing Scientists is causing RPC errors, and those errors are causing BotSpawn to lose track of which bots are dead and which are alive.
     
  3. I tried using it with custom location and config locations disabled and that didn't give any errors.
     
  4. it's useless, you have to be patient, rust do shit with their patch today
     
  5. I installed the newest version of your plugin and set the changes (only Zombies) because of that crash when shooting scientists.
    But it doesnt work at all now. No Zombies anywhere!
     
  6. I haven't updated the plugin in a while, and I just did.

    I'm having an issue where the bots are able to do damage to players inside a pvp-free zone... it wasn't like this before. There was some change?

    Do you know how I could make it so that the bots do not deal damage when inside a certain zone (using Zone Manager -- the api says you can check if a player is in a zone, but idk if BasePlayer can work on a bot?) Or better yet, so that they get ejected when entering the zone, or are just not able to attack at all in the zone.

    Many thanks for any help you can help with! :D
     
  7. Using data file with custom location instead of config file and murderer instead of scientist the bots work now on my server.
     
  8. (13:33:41) | narcisa[1879480/5816958] was killed by Explosion

    (13:33:41) | Failed to run a 306.00 timer in 'BotSpawn v1.5.1' (NullReferenceException: Object reference not set to an instance of an object)

    at NPCPlayerApex.OnKilled (.HitInfo info) [0x00000] in <filename unknown>:0

    at BaseCombatEntity.Die (.HitInfo info) [0x00000] in <filename unknown>:0

    at BasePlayer.Die (.HitInfo info) [0x00000] in <filename unknown>:0

    at BaseCombatEntity.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0

    at BasePlayer.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0

    at NPCPlayerApex.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.BotSpawn+<SpawnBots>c__AnonStorey1.<>m__0 () [0x00000] in <filename unknown>:0

    at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0

    (13:33:41) | NullReferenceException: Object reference not set to an instance of an object
    broken perhaps !?!?
    std file no changes no custom locations
     
  9. Code:
     (NullReferenceException: Object reference not set to an instance of an object)at NPCPlayerApex.DoServerDestroy () [0x00000] in <filename unknown>:0at Scientist.DoServerDestroy () [0x00000] in <filename unknown>:0at BaseNetworkable.DoEntityDestroy () [0x00000] in <filename unknown>:0at BaseNetworkable.Kill (DestroyMode mode) [0x00000] in <filename unknown>:0at Oxide.Plugins.BotSpawn.Wipe () [0x00000] in <filename unknown>:0at Oxide.Plugins.BotSpawn.Unload () [0x00000] in <filename unknown>:0at Oxide.Plugins.BotSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    fix pls
     
  10. pls stop spam the same error, re-read above or the previous pages, the problem just rust since the patch today!
    It's for good and bug tracking.

    To read is life. Participated is encouraging, spammed the same thing is demotivating! pls
    [DOUBLEPOST=1520374488][/DOUBLEPOST]
    I just tried your solution but without result, it is a windows server. or linux?
     
  11. Windows
     
  12. lol. Everyone having fun in here? <sigh>
     
  13. Mine are working fine. Make sure you disable all of them in config and only enable in data.
     
  14. i think a few people may be making the same mistake i made at first, i set everything to zombies after generating a new config and forgot to set "activatate" to true... *face palm* lol!!
     
  15. More likely the bots in your data profiles happen to be murderers.
    As I said, there's a global issue relating to Scientists. Not BotSpawn....Scientists.
    [DOUBLEPOST=1520381083][/DOUBLEPOST]
    Ha, we've all done it! ;)
     
  16. Yes. Setting them in config to murderers doesn't work, but setting them in data does.
     
  17. I got it to work by forcing all the bots to be murderers in config.......not what i want but will work until FP figures this out.
     
  18. Atleast it works. Mil tunnel scientists work fine though.
     
  19. Get these errors in console every time after killing a zombie.
    Botspawn is only spawn zombies.

    (16:41:28) | Failed to call hook 'OnEntitySpawned' on plugin 'BotSpawn v1.5.1' (NullReferenceException: Object reference not set to an instance of an object)

    at Oxide.Plugins.BotSpawn.OnEntitySpawned (.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
     
  20. Please read.
    The issue is with Rust and scientists.
    What you do in BotSpawn is irrelevant, unless you're having/describing some other issue.

    Another guy had this but it looks like his thread is gone.
    Do you have any plugins that would do anything to/for/with corpses?
    A loot plugin, location notifier, anything like that?

    As a troubleshooting measure, please
    unload.oxide * (* is part of the command)
    oxide.load BotSpawn
    oxide.load Kits


    test