BotSpawn

Moved

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

5/5, 81 likes
  1. Ok, not going to pursue this, but my point is that while you were refusing to give information, I was giving the specific to solution to someone who did.
    Now that you've given the info, we know the solution.

    Not trying to be some bad guy man - Just want to get the problems solved.

    For the record, I'm not being sarcastic.
    I'm being passive-aggressive, but for those who are really paying attention I'm actually being ironic.

    It's all good fun buddy. ;)
     
  2. I try to spawn Bot for away from me, and I wait few minutes, but same problems :s

    https://cdn.discordapp.com/attachments/386297780341178373/399003223240736775/unknown.png

    Code:
        "punisher-d13": {
          "Activate": true,
          "Murderer": false,
          "Bots": 2,
          "BotHealth": 300,
          "Radius": 100,
          "Kit": ["punisher-1", "punisher-2", "punisher-3", "punisher-4"],
          "BotName": "Punisher",
          "Bot_Accuracy": 4,
          "Bot_Damage": 1,
          "Respawn_Timer": 2700,
          "Disable_Radio": true,
          "LocationX": 15.7244816,
          "LocationY": 2.07530928,
          "LocationZ": 1537.5144,
          "Aggression_Range": 100,
          "Roam_Range": 40,
          "Weapon_Drop": true,
          "Keep_Default_Loadout": false
        },
    I will continue to give you feedback if I find any other bug like this:).
     
  3. Ok, thanks @Sorrow
    I'll get a look at it. :)

    Silly question - You don't have vanish on?
    [DOUBLEPOST=1515201078][/DOUBLEPOST]No streams of OnEntityTakeDamage/OnEntityDeath/OnNpcPlayerTarget errors?

    Either I fixed it, or everyone's stopped using BotSpawn! :(
     
  4. Steenamaroo, as soon as someone on my server shoots one of the bots, they get disconnected with the following error - rpc error in onprojectileattack. As of now, the BotSpawn plugin is unusable for me. I haven't seen any resolution in this forum. Any help would be appreciated.
     
  5. Hi @jimaggie
    I haven't seen that in a while but last time I did oxide wasn't up to date.

    I sent you a PM with a few other suggestions.
     
  6. I cannot get the plugin to load to save my life. Deleted the config again and still won't load. I get this message...

    BotSpawn was compiled successfully in 1672ms

    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Non platform assembly: data-00000000FA7CEB10 (this message is harmless)
    Fallback handler could not load library D:/TCAFiles/Users/MichaelF3/19806/RustDedicated_Data/Mono/data-00000000FA7CEB10.dll
    [BotSpawn] Creating a new config file

    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    ExType: JsonSerializationException

    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    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 <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

    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Unloaded plugin BotSpawn v1.4.3 by Steenamaroo

    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    No previous version to rollback plugin: BotSpawn

    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)



    Update: Had to delete my data json file and it loaded.
     
  7. No, only Kits and BotsSpawn ;).
     
  8. Hi @Candyman13
    This error is relating to the formatting of "Kits" in config and/or data.
    Since you've deleted config, It's gotta be the data file.
    Either trash it and reload, or edit it to conform with the new format, detailed in update 1.3.7 notes.

    There's a bunch of new options, and options removed, so trashing is probably preferable.
    [DOUBLEPOST=1515202632][/DOUBLEPOST]@Sorrow - What weapon does your guy have?

    Both kitted murderers and scientists are attacking me more or less straight away with a config similar to yours.
     
    Last edited by a moderator: Jan 6, 2018
  9. Got the plugin loaded but my guys are just standing there not moving. They don't roam and they dont shoot at me and vanish is off. God mode was off as well. Kit loaded fine and they are holding the gun I have in the kit which is an lr300. could it have something to do with that?
     
  10. Are you new to BotSpawn or did you have it running previous?
    Usually no movement at all comes from nav_grid/navmesh settings.

    Have a look at the second entry in FAQ if you think that's the case.

    edit: lr300 is fine. ;)
     
  11. I installed BotSpawn the day it came out. It's awesome btw, so thank you! But I've never had to mess with nav mesh before....
     
  12. ha, thank you for that.
    Damn - If they've suddenly ceased to move with the recent updates, I'm not really sure what the reason could be.

    There's no shortage or errors and issues, heh, believe that, but this hasn't been one of them.

    The only similar thing I'm aware of is that Scientists will freeze up if they're given something silly like a building plan, but clearly that's not the case. :(
     
  13. Next time you have a error post the full error read this if you have any problems Reporting bugs and issues | Oxide
     
  14. Looks Like Nav_Grid is Disabled... No Idea why that would have changed...
     
  15. Glad to hear it! That's the answer.

    If you're have trouble getting it to stay true, your host may be overriding the startup script parameter.
    I'm not sure which hosts, if any, do that now, but I've heard of it before.
     
    Last edited by a moderator: Jan 6, 2018
  16. If you're a BotSpawn newcomer, this might be useful.
     
  17. I am trying to type the botspawn.reset but when I type it in the console nothing happens, I tried a couple of variations, I am thinking I am forgetting something? I know there are several pages, and I was searching through them but I keep missing it! Do I need to type something before botspawn.reset like when I reload it I type oxide.reload BotSpawn. I tried both "Botspawn.reset and botspawn.reset
     
  18. Hi there,
    That reset option is there as a clean-slate because some previous bugs caused bots to remain after the plug was unloaded.

    Simply typing "botspawn.reset" once after the latest version loads will remove any old bots that shouldn't be there.
    You don't need to do it every time - Just once after update, if you were getting spammed with errors.

    You may or may not get console feedback, but as long as you don't see further errors or issues, all is good. :)
     
  19. This is what I am getting now
    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

    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
     
  20. Ok, that error means that the entry for "Kit" in config or data has not been updated to the new format.

    The easiest option is really just to wipe config+data then reload.
    If you want to manually fix it, check out the update notes for V1.3.7

    Full wipe is probably the best bet, as other options have been added+removed from config/data.