BotSpawn

Moved

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

5/5, 81 likes
  1. Not sure if you've noticed, but if you attack a zombie within aggro range WHILE it's respawning/returning to spawn point, it'll continue to walk to spawn rather than coming after you. Doesn't happen 100% of the time, but most of the time they just stare at you while walking back to spawn.
     
  2. I thought I had this same problem but players testing for me saw them moving around just fine - I think it had something to do with using Vanish or noclip or something but they'd stand still for me but when someone else would run over they'd begin moving around, almost like they only move when players are nearby now.
     
  3. ExType: JsonSerializationException

    Failed to initialize plugin 'BotSpawn v1.4.3' (ArgumentException: Could not cast or convert from System.String to System.Collections.Generic.List`1[System.String].) at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (System.Object value, System.Type initialType, System.Type targetType) [0x00000] in :0 at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00000] in :0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x00000] in :0

    Unloaded plugin BotSpawn v1.4.3 by Steenamaroo

    Previous version of plugin failed to load


    Dont know what to do I have deleted and reuploaded several times please help I just want them to run around and hit people like zombies heres my config


    {
    "Options": {
    "Allow_Rust_Loot": true,
    "Animal_Safe": false,
    "APC_Safe": true,
    "Cull_Default_Population": true,
    "Ignore_Animals": false,
    "Ignore_HumanNPC": true,
    "Peace_Keeper": false,
    "Remove_BackPacks": true,
    "Suicide_Timer": 300,
    "Supply_Enabled": false,
    "Turret_Safe": false,
    "Wipe_Belt": true,
    "Wipe_Clothing": false
    },
    "Zones": {
    "AirDrop": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": [],
    "Murderer": false,
    "Radius": 100,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Airfield": {
    "Activate": true,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "Zombie",
    "Bots": 20,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "zombie",
    "Murderer": true,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Dome": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": [],
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "GasStation": {
    "Activate": true,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "zombie",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "zombie",
    "Murderer": true,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "GasStation1": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "",
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Harbor1": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "",
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Harbor2": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "",
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Junkyard": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "",
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Launchsite": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "",
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Lighthouse": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "",
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Lighthouse1": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": [],
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Lighthouse2": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": [],
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "MilitaryTunnel": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": [],
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "PowerPlant": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "",
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "QuarryA": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": [],
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "QuarryB": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": [],
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "QuarryC": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": [],
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Radtown": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": [],
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Satellite": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "",
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "SuperMarket": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "",
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "SuperMarket1": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "",
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Trainyard": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "",
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Warehouse": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": [],
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Warehouse1": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": [],
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Warehouse2": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": [],
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    },
    "Watertreatment": {
    "Activate": false,
    "Aggression_Range": 40,
    "Bot_Accuracy": 4,
    "Bot_Damage": 0.4,
    "BotHealth": 100,
    "BotName": "randomname",
    "Bots": 5,
    "Disable_Radio": true,
    "Keep_Default_Loadout": false,
    "Kit": "",
    "Murderer": false,
    "Radius": 100,
    "Respawn_Timer": 60,
    "Roam_Range": 40,
    "Weapon_Drop": true
    }
    }
    }
     
  4. everywhere u put kits u need use [] as example "Kit": ["zombie"], and i see u have sometimes just "Kit": "", edit it to "Kit": [],
     
  5. Everytime a player shoots a bot, they are kicked for invalid projectile error. only happens with bots activated
     
  6. Try renaming or removing LootConfig.cs + restart the server.
    It seems there's a known issue right now.
     
  7. yes... i have tested again... if a player is near by the NPC´s they are moving ;) but with Vanish they are not walking
    [DOUBLEPOST=1515604372][/DOUBLEPOST]
    the ai.dormant command is not working... its not possible to change it to "false"
     
  8. Sorry - Should have been an underscore.

    Type ai_dormant into Rcon/server window/F1 console.
    If the response is "True", then you need to set ai_dormant to False in your startup script.

    I think typing ai_dormant false then reloading BotSpawn should work, but it wont stick after server restart.
     
  9. Thanks for the response, I had edited my initial post to say I missed the part about custom spawns though, I didn't notice the mod updated with it :) This is a nice feature.

    I notice that I can give each spawn type its own name instead of "randomname", is there any way to get this to show up in Rust - Death Notes | Oxide ? instead of "zombie" (or whatever else it's set in DeathNote). looking to have different names for different bots/murderers per spawn area.
     
  10. Sorry, not from this end. DeathNotes would need to be updated up to read, and display, that.
     
  11. Hello, first of all, many thanks for your work.
    Since a few minutes, i have a bit trouble with BotSpawn. The Bots respawned on the Server by itself, then all of them was away. I've tried to reload and receive this message:
    Code:
    Failed to initialize 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.Wipe () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.BotSpawn.Init () [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.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    Unloaded plugin BotSpawn v1.4.2 by Steenamaroo
    Previous version of plugin failed to load: BotSpawn
    I'm sorry if there exist allready an answer for this.. No idea what to do now.. Tried to restart a several times and also installed the Plugin new - no change of this problem..
     
  12. Hi,
    V1.4.3 addresses this issue.

    As soon as V1.4.3 loads for the first time, type botspawn.reset into console to clear up the rogue bots.
     
  13. Oh ok.. Thanks. I will look at this. :)
     
  14. DeathNotes shows the bot names I set on my server so I'm not sure what I have set different but it is definitely possible. To me they show the names indistinguishable from player names. My generic scientists all appear in DeathNotes chat lines as "Banana Cultist" and then I've been making other groups with different gang names with different kits.
     
  15. Death notes shows all deaths of bots/scientists. shows Murderer deaths as "zombie" so when they are killed by Radtown Animal spawned "green" zombies it shows as "zombie was killed by zombie" , shows scientist deaths with "random name" but bota with chosen name for area ie: Railway Patrol/Harbor Patrol/Naval Police, no problems so far except had to lower accuracy as even with low setting they can kill you from "miles" away :)
    I did find that if you have "weapon drop" set to "true" they not only drop the weapon they were using but also have the same weapon in their belt, So if they were equipped with a shotgun and assault rifle (no ammo needed) you would end up getting three weapons instead of two, i changed it to "false" , they seem to swap weapons quite well
     
  16. Good afternoon. Please tell me. Is it possible to use a grid instead of Navmesh points spawn bots? So how do the default populanions.
     
  17. Checked on my server this evening and found that animals are killing my bots and they arent moving. console is set for the animals to ignore. not a navmesh issue since animals are moving. help?
     
  18. How do you change the start up script? im new to this thxs
     
  19. Hello everyone,

    I have reported a bug since 1.4.3 you have an idea?

    Failed to call hook 'OnNpcPlayerTarget' on plugin 'BotSpawn v1.4.3' (NullReferenceException: Object reference not set to an instance of an object)
    at Oxide.Plugins.BotSpawn.SelectWeapon (.NPCPlayerApex npcPlayer, .BasePlayer victim, Boolean hasAttacker) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.BotSpawn.OnNpcPlayerTarget (.NPCPlayerApex npcPlayer, .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


    this message does not stop in the console: /
     
    Last edited by a moderator: Jan 11, 2018
  20. Hi @Moustik
    I think you're the first to report this since 1.4.3.
    Would you mind PMing me a list of your plugins?

    If you're not sure how, just type plugins or oxide.plugins into RCON and copy/paste the result.

    Long shot, but if you happen to know what the NPC was targeting, or near, that would help a lot!