Jump to content

Botspawn Not Working

Pending 2.1.9

Failed to run a 1.00 timer in 'BotSpawn v2.1.9' (JsonReaderException: Unexpected character encountered while parsing value: Z. Path 'Events.AirDrop.BotNames', line 6, position 19.) at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.JsonReader.Skip () [0x00024] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetExtensionData (Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.JsonReader reader, System.String memberName, System.Object o) [0x00042] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00267] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0015c] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Oxide.Core.Configuration.DynamicConfigFile.ReadObject[T] (System.String filename) [0x00028] in <0fbce81d88d64454b3e7abb24df7026b>:0 at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x00021] in <0fbce81d88d64454b3e7abb24df7026b>:0 at Oxide.Plugins.BotSpawn.<OnServerInitialized>m__0 () [0x00066] in <32b5228d5a5b4ce69b16e97e3960a9c9>:0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <0fbce81d88d64454b3e7abb24df7026b>:0

Share this comment


Link to comment

Hi,

From overview
Kits, Names, and Headshot weapons should be formatted as follows:


["kit1"], for single or ["kit1", "kit2", "kit3"], for many.
["name1"], for single or ["name1", "name2", "name3"], for many.
["lr300.entity"], for single or [ "lr300.entity", "m92.entity" ], for many.

 

Share this comment


Link to comment

well i had it working then did a reset on the server and now it doing this

 

Failed to run a 1.00 timer in 'BotSpawn v2.1.9' (JsonReaderException: Invalid character after parsing property name. Expected ':' but got: }. Path 'DataProfiles', line 2, position 27.) at Newtonsoft.Json.JsonTextReader.ParseProperty () [0x00116] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.JsonTextReader.ParseObject () [0x000d8] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.JsonTextReader.Read () [0x00053] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.JsonReader.ReadAndAssert () [0x00000] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x000b6] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00061] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00267] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0015c] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <2ae3f091decd4989b3c4d466e6eb5985>:0 at Oxide.Core.Configuration.DynamicConfigFile.ReadObject[T] (System.String filename) [0x00028] in <0fbce81d88d64454b3e7abb24df7026b>:0 at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x00021] in <0fbce81d88d64454b3e7abb24df7026b>:0 at Oxide.Plugins.BotSpawn.<OnServerInitialized>m__0 () [0x00066] in <bde9e512ed254948bd93c5a871a57173>:0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <0fbce81d88d64454b3e7abb24df7026b>:0

Share this comment


Link to comment

never mind found it and fixed it

Had

{
  "DataProfiles": {""},
  "MigrationDataDoNotEdit": {}
}

changed to 

 

{
  "DataProfiles": {},
  "MigrationDataDoNotEdit": {}
}

 

 

  • Like 1

Share this comment


Link to comment
348.2k

Downloads

Total number of downloads.

1.8k

Customers

Total customers served.

23.8k

Files Sold

Total number of files sold.

369.5k

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.