> 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.
BotSpawn
Moved
Total Downloads: 11,690 - First Release: Jul 31, 2017 - Last Update: Jul 27, 2018
- 5/5, 81 likes
-
"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. -
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 -
When are BOTS on HapisIsland?
-
Is "Warehouse" the Mining Outpost? Also what are radtowns? Aren't the radioactive monuments already radtowns?
-
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]
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]
See the chat commands in the overview.Last edited by a moderator: Apr 19, 2018 -
Ah, okay well ill try this. Thanks for being patient with my stupidity.
-
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.
-
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?
-
Sorry, I don't follow. Line limit?
-
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
-
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 -
Got it working. Thanks for the help!
-
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.
-
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. -
"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? -
I guess it's broken; Thanks.
I'll look into it.
[DOUBLEPOST=1524184722][/DOUBLEPOST]
There's an update coming fairly soon with a few other changes. -
Thanks for the quick response!
-
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 -
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?