BotSpawn

Moved

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

5/5, 81 likes
  1. you changed "Activate": to "AutoSpawn": so all are now false after plugin update and i need it all edit per hand again that was a hard work :D *joke*
    you need change it in the overview too :p
     
  2. just finished creating new kits/bot names for new zones but get this when i reload plugin,

    (19:52:47) | [BotSpawn] Failed to find spawnpoints in BiomeArctic.

    (19:52:47) | [BotSpawn] Failed to find spawnpoints in BiomeTundra.


    does this mean anything ?? as it counts the bots as being alive
     
  3. Not sure what's going on but everytime I load the plugin it overwrites my config with default values again :(
     
  4. The safety check just kicks in too early, if the no of bots is low.
    I'll increase it in next version but, for now, just up the number to maybe 10 or so?
     
  5. ok , will do
    Edit. tried 10 still got error
    tried 15 no error
     
    Last edited by a moderator: Jun 8, 2018
  6. Would it be possible to have timed spawns? The first thing that comes to my mind would be spawning murderers at night. Maybe have custom spawns in data json. Have the time set and one or more monument/biome inside [ ] or specific coordinates. Ability to set up more than one timed spawn profile of course.
     
  7. Thanks. It's a silly oversight on my part. Will fix in next V.
    [DOUBLEPOST=1528467355][/DOUBLEPOST]
    Hey,
    Yeah, that's been requested quite a bit.
    Not sure how best to handle it; If you make it that the only spawn at night, for example, do we make it that they are removed gradually as the morning comes, or let them linger?
     
  8. Hm... Maybe have it so if de-spawn time is not set (blank) they stay until killed or de-spawn on the next scheduled spawn to avoid over-spawning. That way everyone can choose their own times be it night or not.
     
  9. Same here. Will be rolling back to 1.6.5 as I cannot make use of the new Parent_Monument functionality if my custom locations get wiped every time I reload the plugin.
     
  10. Been waiting for another test candidate! PMing now.
     
  11. Trainyard fix on the way...
     
  12. Hello i have a problem with botspawn :


    Code:
    (23:09:02) | Unloaded plugin BotSpawn v1.6.1 by Steenamaroo
    (23:09:03) | Failed to call hook 'OnServerInitialized' on plugin 'BotSpawn v1.6.1' (ArgumentException: An item with the same key has already been added. Key: PowerPlant)
      at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at Oxide.Plugins.BotSpawn.AddProfile (System.String name, Oxide.Plugins.BotSpawn+Zones+CustomSettings monument, UnityEngine.Vector3 pos) [0x0000e] in <7e238eff0b314091a7dc4c8762816259>:0
      at Oxide.Plugins.BotSpawn.FindMonuments () [0x0042c] in <7e238eff0b314091a7dc4c8762816259>:0
      at Oxide.Plugins.BotSpawn.OnServerInitialized () [0x00000] in <7e238eff0b314091a7dc4c8762816259>:0
      at Oxide.Plugins.BotSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0013e] in <7e238eff0b314091a7dc4c8762816259>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc1c06ce0ebd4145b07f6c3438d70a62>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <901ba4905e044f67b6e6ad4ce05063c4>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <901ba4905e044f67b6e6ad4ce05063c4>:0
    (23:09:03) | Calling 'OnServerInitialized' on 'BotSpawn v1.6.1' took 452ms
    (23:09:03) | Loaded plugin BotSpawn v1.6.1 by Steenamaroo

    Code:
    (23:21:47) | Unloaded plugin BotSpawn v1.6.5 by Steenamaroo
    (23:21:47) | Failed to call hook 'OnServerInitialized' on plugin 'BotSpawn v1.6.6' (ArgumentException: An item with the same key has already been added. Key: PowerPlant)
      at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at Oxide.Plugins.BotSpawn.AddProfile (System.String name, Oxide.Plugins.BotSpawn+ConfigProfile monument, UnityEngine.Vector3 pos, System.Single rotation) [0x0000e] in <00b835f4b86a4e9684d69ab36b540c02>:0
      at Oxide.Plugins.BotSpawn.FindMonuments () [0x00443] in <00b835f4b86a4e9684d69ab36b540c02>:0
      at Oxide.Plugins.BotSpawn.OnServerInitialized () [0x00000] in <00b835f4b86a4e9684d69ab36b540c02>:0
      at Oxide.Plugins.BotSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001d7] in <00b835f4b86a4e9684d69ab36b540c02>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc1c06ce0ebd4145b07f6c3438d70a62>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <901ba4905e044f67b6e6ad4ce05063c4>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <901ba4905e044f67b6e6ad4ce05063c4>:0
    (23:21:47) | Calling 'OnServerInitialized' on 'BotSpawn v1.6.6' took 423ms
    (23:21:47) | Loaded plugin BotSpawn v1.6.6 by Steenamaroo
    Do you have same bug ?
     
    Last edited by a moderator: Jun 8, 2018
  13. All my NPCs are unkillable with bullets, but can be killed with melee.

    I already tried unloading all my plugins to no avail

    Anyone else having this problem?
     
  14. same here with last oxide and botspawn plugin and fresh config / data

    Code:
    Failed to call hook 'OnServerInitialized' on plugin 'BotSpawn v1.6.6' (ArgumentException: An item with the same key has already been added. Key: PowerPlant)
      at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0
      at Oxide.Plugins.BotSpawn.AddProfile (System.String name, Oxide.Plugins.BotSpawn+ConfigProfile monument, UnityEngine.Vector3 pos, System.Single rotation) [0x0000e] in <a93c8b6ae334473ca7969e230061c98d>:0
      at Oxide.Plugins.BotSpawn.FindMonuments () [0x00443] in <a93c8b6ae334473ca7969e230061c98d>:0
      at Oxide.Plugins.BotSpawn.OnServerInitialized () [0x00000] in <a93c8b6ae334473ca7969e230061c98d>:0
      at Oxide.Plugins.BotSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001d7] in <a93c8b6ae334473ca7969e230061c98d>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc1c06ce0ebd4145b07f6c3438d70a62>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <901ba4905e044f67b6e6ad4ce05063c4>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <901ba4905e044f67b6e6ad4ce05063c4>:0 
     
  15. I've the same error :

    Code:
    | Failed to call hook 'OnServerInitialized' on plugin 'BotSpawn v1.6.6' (ArgumentException: An item with the same key has already been added. Key: PowerPlant)at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <e1a80661d61443feb3dbdaac88eeb776>:0at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0at Oxide.Plugins.BotSpawn.AddProfile (System.String name, Oxide.Plugins.BotSpawn+ConfigProfile monument, UnityEngine.Vector3 pos, System.Single rotation) [0x0000e] in <00b835f4b86a4e9684d69ab36b540c02>:0at Oxide.Plugins.BotSpawn.FindMonuments () [0x00443] in <00b835f4b86a4e9684d69ab36b540c02>:0at Oxide.Plugins.BotSpawn.OnServerInitialized () [0x00000] in <00b835f4b86a4e9684d69ab36b540c02>:0at Oxide.Plugins.BotSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001d7] in <00b835f4b86a4e9684d69ab36b540c02>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc1c06ce0ebd4145b07f6c3438d70a62>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <901ba4905e044f67b6e6ad4ce05063c4>:0at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <901ba4905e044f67b6e6ad4ce05063c4>:0
    
     
  16. Suggest just unloading until the next update.
    I'm working through a list of fixes right now.

    Thanks for the reports.
    [DOUBLEPOST=1528493928][/DOUBLEPOST]@Sorrow @WesleyEng_com @JiNGo
    Are there actually two powerplants on your map, do you know?

    I can't get on my server right now.
     
  17. Yes i have power plant :)
     
  18. lol. Two?
     
  19. no bots after rust updat bots do not want to spawn ind and no error