BotSpawn

Moved

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

5/5, 81 likes
  1. Although not a global solution, try setting Monuments to "Activate: True" on just ONE location. Progressively, turn them on one at a time. I have read Military Tunnels is a good working spot for Bots where people have had a similar problem to you.

    Otherwise, you could remove all your plugins, test BotSpawn again. If BotSpawn works, install the plugins one at a time, to check which one causes the issue.

    If you do find that its a conflicting plugin, come back and let us know.
     
    Last edited by a moderator: Feb 1, 2018
  2. i don't currently use the plugin because i would like the peacekeeper to be fixed first. But i have a couple ideas. instead of peacekeeper, something like a neutral setting instead of passive so if attacked they fight back, unlike with peacekeeper where they can be meleed to death. Basically dmg aggros them. And also if we can maybe do a scheduled zombie horde type of event that a huge zombie horde walks through the server. Kinda like Heli or airdrop except on the ground. a 7 days to die type of feature. maybe a separate plugin idea.
     
  3. ... not working:

    BotSpawn was compiled successfully in 97ms
    ExType: JsonSerializationException
    Failed to initialize plugin 'BotSpawn v1.4.4' (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 <filename unknown>:0
    at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00000] in <filename unknown>: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 <filename unknown>:0
    Unloaded plugin BotSpawn v1.4.4 by Steenamaroo
     
  4. Format your config properly.
    Overview/FAQ.
    [DOUBLEPOST=1517499817][/DOUBLEPOST]
    Unfortunately the hook called when they target is not working, so it's not a case of changing how peacekeeper works - The overall thing just doesn't work.
    However, melee damage is (should be?) prevented when peacekeeper is enabled.

    When it works, that's how it works. No farming/abuse.

    Hordes/planned routes etc is possible but I don't think I'll be adding any features until this can be considered stable/reliable.
     
  5. The "standard" bots at radplaces are gone after a couple of hours. They do not spawn in anymore. However, the custom made bots with /botspawn add ARE always on their place. When I reload the plugin, all bots spawn instantly again.

    Is that a known issue?
     
  6. i was talking about after you get that hook fixed. It is a great thing and def needed for me when i want to incorporate bots.

    the other was an idea for you. ideas are sometimes needed from everyone to keep features coming bc writers block occurs.
     
  7. Adding custom bots doesn't seem to work after the update.

    Code:
    (23:36:12) | Failed to call hook 'botspawn' on plugin 'BotSpawn v1.4.4' (NullReferenceException: Object reference not set to an instance of an object)at Oxide.Plugins.BotSpawn.botspawn (.BasePlayer player, System.String command, System.String[] args) [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
     
  8. It is now, I guess? :p
    If Rust is destroying any bots due to location/terrain issues, the plugin wont 'know' and respawn them, so maybe over time they gradually getting picked off permanently, one by one?
    Would make sense, I guess...People have reported this although I wasn't able to replicate it.

    Gotcha. Thanks. :)

    Not aware of a problem - Could you again with freshly created config+data? (unload, delete, load).
     
  9. I get this also. This is how they act:
    They will not agro until you are in set argo range.
    They will shoot you from extreme range if you hit them even outside agro range.
    They will keep shooting @ the last person they hate even if they Die, leave the agro range, or respawn via TP if you come withing about 150-200m
    Scientist see threw Vanish Murderers do not.
     
  10. Bots on my server have forgotten how to walk and turn. They shoot, change weapons, but do not go ... What's the problem?

    My bad. Fixed
     
    Last edited by a moderator: Feb 2, 2018
  11. OMG, I've just uninstalled the old version... and DL the new.
    Someone know where it does it come from?

    [RCON][xxx.xxx.xx.xxx:xxxxx] oxide.reload BotSpawn
    ExType: JsonSerializationException
    Failed to initialize plugin 'BotSpawn v1.4.4' (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.4 by Steenamaroo
     
  12. FAO Everyone - It looks like the targeting hook works again but only for murderers.

    That means murderers will respect peacekeeper, smart-switch weapons based on distance, use lights/lasers/flashlights, etc.
    Scientists, still, will not.
     
  13. Steenamaroo updated BotSpawn with a new update entry:

    1.4.5

     
  14. ... not working:

    BotSpawn was compiled successfully in 1885ms
    ExType: JsonSerializationException
    Failed to initialize plugin 'BotSpawn v1.4.5' (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 <filename unknown>:0
    at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00000] in <filename unknown>: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 <filename unknown>:0
    Unloaded plugin BotSpawn v1.4.5 by Steenamaroo
     
  15. It works fine.
    You need to observe the correct formatting in your config and data - Specifically the "Kits" section.

    Details are in the overview, the FAQ, previous posts here, or the V 1.3.7 update notes.
     
  16. Do you have Kit ideas for murders? And a Kit order
     
  17. when changing the config to murderers true, do they still use the kits?
     
  18. Any bots can be given kits, yes.
     
  19. When we say scientists, do we mean anything that isn't a murderer?