BotSpawn

Moved

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

5/5, 81 likes
  1. > oxide.reload BotSpawn
    BotSpawn was compiled successfully in 2541ms
    BotSpawn v1.5.2: Failed to load config file (is the config file corrupt?) (After
    parsing a value an unexpected character was encountered: b. Path 'Zones.Dome.Ki
    t[1]', line 63, position 28.)
    Failed to initialize plugin 'BotSpawn v1.5.2' (JsonReaderException: Unexpected c
    haracter encountered while parsing value: b. Path 'Zones.Dome.Kit[1]', line 63,
    position 29.)
    at Newtonsoft.Json.JsonTextReader.ReadStringValue (ReadType readType) [0x00000
    ] in <filename unknown>:0
    at Newtonsoft.Json.JsonTextReader.ReadAsString () [0x00000] in <filename unkno
    wn>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (New
    tonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contr
    act, Boolean hasConverter) [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList (IL
    ist list, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonA
    rrayContract contract, Newtonsoft.Json.Serialization.JsonProperty containerPrope
    rty, System.String id) [0x00000] in <filename unknown>:0
    Failed to initialize plugin 'BotSpawn v1.5.2' (JsonReaderException: Invalid Java
    Script property identifier character: }. Path 'CustomProfiles', line 2, position
    25.)
    at Newtonsoft.Json.JsonTextReader.ParseUnquotedProperty () [0x00000] in <filen
    ame unknown>:0
    at Newtonsoft.Json.JsonTextReader.ParseProperty () [0x00000] in <filename unkn
    own>:0
    at Newtonsoft.Json.JsonTextReader.ParseObject () [0x00000] in <filename unknow
    n>:0
    at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.JsonReader.ReadAndAssert () [0x00000] in <filename unknown>
    :0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Ne
    wtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Seriali
    zation.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member,
    Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonso
    ft.Json.Serialization.JsonProperty containerMember, System.Object existingValue)
    [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInter
    nal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.
    Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty
    member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, N
    ewtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existin
    gValue) [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue
    (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConve
    rter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract cont
    ainerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, New
    tonsoft.Json.JsonReader reader, System.Object target) [0x00000] in <filename unk
    nown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (
    System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Seri
    alization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonPropert
    y member, System.String id) [0x00000] in <filename unknown>:0
    Unloaded plugin BotSpawn v1.5.2 by Steenamaroo
    No previous version to rollback plugin: BotSpawn
    [DOUBLEPOST=1524098591][/DOUBLEPOST]That is what happens when i try to load the mod, i couldnt copy when the server first starts but its the exact same message.
     
  2. "BotSpawn v1.5.2: Failed to load config file (is the config file corrupt?) (After
    parsing a value an unexpected character was encountered: b. Path 'Zones.Dome.Ki
    t[1]', line 63, position 28.)"

    You have a type error in your config file at the "kit" entry for Dome.
     
  3. Found it, going to see if it works now.
    [DOUBLEPOST=1524108715][/DOUBLEPOST]Nope, new error seems to be similar to what happened before but checking the config shows that i didnt have any typos this time.



    > oxide.reload BotSpawn
    BotSpawn was compiled successfully in 2497ms
    BotSpawn v1.5.2: Failed to load config file (is the config file corrupt?) (Unexp
    ected character encountered while parsing value: T. Path 'Zones.GasStation.Activ
    ate', line 74, position 18.)
    Failed to initialize plugin 'BotSpawn v1.5.2' (JsonReaderException: Unexpected c
    haracter encountered while parsing value: T. Path 'Zones.GasStation.Activate', l
    ine 74, position 19.)
    at Newtonsoft.Json.JsonTextReader.ReadAsBoolean () [0x00000] in <filename unkn
    own>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (New
    tonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contr
    act, Boolean hasConverter) [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (
    System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Seri
    alization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonPropert
    y member, System.String id) [0x00000] in <filename unknown>:0
    Failed to initialize plugin 'BotSpawn v1.5.2' (JsonReaderException: Invalid Java
    Script property identifier character: }. Path 'CustomProfiles', line 2, position
    25.)
    at Newtonsoft.Json.JsonTextReader.ParseUnquotedProperty () [0x00000] in <filen
    ame unknown>:0
    at Newtonsoft.Json.JsonTextReader.ParseProperty () [0x00000] in <filename unkn
    own>:0
    at Newtonsoft.Json.JsonTextReader.ParseObject () [0x00000] in <filename unknow
    n>:0
    at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.JsonReader.ReadAndAssert () [0x00000] in <filename unknown>
    :0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Ne
    wtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Seriali
    zation.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member,
    Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonso
    ft.Json.Serialization.JsonProperty containerMember, System.Object existingValue)
    [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInter
    nal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.
    Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty
    member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, N
    ewtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existin
    gValue) [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue
    (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConve
    rter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract cont
    ainerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, New
    tonsoft.Json.JsonReader reader, System.Object target) [0x00000] in <filename unk
    nown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (
    System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Seri
    alization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonPropert
    y member, System.String id) [0x00000] in <filename unknown>:0
    Unloaded plugin BotSpawn v1.5.2 by Steenamaroo
    No previous version to rollback plugin: BotSpawn
     
  4. When are BOTS on HapisIsland?
     
  5. Is "Warehouse" the Mining Outpost? Also what are radtowns? Aren't the radioactive monuments already radtowns?
     
  6. Not being funny, but the error is telling you exactly what is wrong.

    Failed to load config file (is the config file corrupt?)
    (Unexpected character encountered while parsing value: T. Path 'Zones.GasStation.Activate', line 74, position 18.)

    It will only tell you one at a time, though. Safe to assume you've applied the same mistake in several places?

    all true/false should be lower case - "Activate": false, OR "Activate": true,

    [DOUBLEPOST=1524142525][/DOUBLEPOST]
    Each monument type has a unique name. 'Radtown' is no longer a generic term as far as I know.

    Although, "Mining Outpost" might be one of the warehouses with a quarry beside it - I'm not certain.
    There can be a maximum of 3 warehouses accounted for.
    If one is a mining outpost and I can make the naming more specific, I'll do that. :)
    [DOUBLEPOST=1524142635][/DOUBLEPOST]
    You can use them right now but, as far as I know, only with custom locations.
    See the chat commands in the overview.
     
    Last edited by a moderator: Apr 19, 2018
  7. Ah, okay well ill try this. Thanks for being patient with my stupidity.
     
  8. No probs. If it's quicker, or easier, delete the config and let the plugin create a default one, then take a copy of it somewhere for handy syntax reference.
     
  9. What is the line limit? Because I'm about 2000 lines away and it's not working anymore. So I'm starting to wonder if there's a limit?
     
  10. Sorry, I don't follow. Line limit?
     
  11. I got a error on BotSpawn:

    Code:
    BotSpawn was compiled successfully in 2611ms
    ExType: JsonSerializationException
    Failed to initialize plugin 'BotSpawn v1.5.3' (ArgumentException: Could not cast or convert from System.Boolean to Oxide.Plugins.BotSpawn+MonumentSettings.)
      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.5.3 by Steenamaroo
    No previous version to rollback plugin: BotSpawn
    
     
  12. Do you get an error with an unmodified config file?

    Edit: Best I can figure out, you have an entry in the data file with all its variables removed.
    Simply "Name": true,
    If you can fix it, go ahead. If not, I'd unload the plugin, delete the /data/BotSpawn.json, then reload the plugin.
     
    Last edited by a moderator: Apr 19, 2018
  13. Got it working. Thanks for the help!
     
  14. Tried looking thru this thread but couldn't find anything..If I missed it then I apologize. This plugin is working fine for me except airdrops. When an airdrop occurs I get on rustadmin "sal[7673523/3972527] was killed by Explosion" for all the bots at that location, names are different of course. I am using FancyDrop and I have turned off all the explosions and rocket launches to signafy the drop site but I still get this. When I go out to the drop site there are no bots.
     
  15. Hey,
    Most likely that's the suicide timer - After that period of time the bots go out with a bang. ;)
    It's just there so low-pop servers don't end up with X bots per airdrop building up over time.
     
  16. "Disable_Radio": true,

    I have this setting for all the bots, but the radio noise is still there. Am I missing something or is there an issue with this?
     
  17. I guess it's broken; Thanks.
    I'll look into it. :)
    [DOUBLEPOST=1524184722][/DOUBLEPOST]
    Found it and fixed it, thanks.

    There's an update coming fairly soon with a few other changes.
     
  18. Thanks for the quick response!
     
  19. The Scientists added by the last game update have radios turned on which this plugin does not alter,
    And All the "warehouses" are listed as "mining outposts" on the map wherever they are placed, dont know why they bothered changing it to that a while ago but they must have had something in mind, This plugin, Monument radiation and Radtown Animals still call them warehouses also the "Radtown" is now called "Sewer Branch" , could these changes be added to next update ?
     
    Last edited by a moderator: Apr 21, 2018
  20. Hello, I meet a little problem. In the line "Allow_Rust_Loot": true, with an allocated kit, the bot does not loot the items in the kit, but only the loot assigned by Rust. Would you know the source of this problem?