Jump to content

error

Pending 1.0.8

Ed2
Ed2

Posted

getting this error, probably simple but im not sure what to do with the line

 

Could not initialize plugin 'WaterPatrol v1.0.8' (JsonReaderException: Input string '3.0' is not a valid integer. Path '['The time before the patrol boat explodes when it hits the ground [sec.]']', line 1038, position 80.)
  at Newtonsoft.Json.JsonTextReader.ParseNumber (Newtonsoft.Json.ReadType readType) [0x0027b] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonTextReader.ReadNumberValue (Newtonsoft.Json.ReadType readType) [0x00203] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonTextReader.ReadAsInt32 () [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x0004a] in <271c58b7a8684db5a2c92be17a81f252>: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 <271c58b7a8684db5a2c92be17a81f252>: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 <271c58b7a8684db5a2c92be17a81f252>: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 <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Oxide.Core.Configuration.DynamicConfigFile.ReadObject[T] (System.String filename) [0x00028] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Plugins.WaterPatrol.LoadConfig () [0x0000d] in <9129b06f3fcf4054bc0148897ca61b16>:0 
  at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0000f] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <206a0f2c6ee141f38e2ad549cde44d70>:0 
  at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0028e] in <f43c9d9394394e90b1ee81fa64f46fe5>:0 
  at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00027] in <beb2b64691c64e2b95b99491bd85442c>:0 
  at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <beb2b64691c64e2b95b99491bd85442c>:0 
No previous version to rollback plugin: WaterPatrol

Jbird

Posted

6 hours ago, Ed2 said:

getting this error, probably simple but im not sure what to do with the line

It looks like there's just a config error that was made.

Grab line 1038 and copy and paste it here. Can probably just fix that mistake and you might be good to go.

Ed2

Posted

 "The time before the patrol boat explodes when it hits the ground [sec.]": 5.0,

Jbird

Posted

On 12/10/2024 at 7:11 AM, Ed2 said:

 "The time before the patrol boat explodes when it hits the ground [sec.]": 5.0,

Interesting that actually looks fine. Is there anything out of place just after that in the next section that you see?

If you would like to, jump in the Mad Mapper Discord and create a ticket there and tag me in it. Might have you share the config so I can take a look if you want.

Ed2

Posted

i actually deleted the config and cs file and reinstalled and it work. not sure what the problem was but its a file i never configed but its working now

 

Jbird

Posted

9 hours ago, Ed2 said:

i actually deleted the config and cs file and reinstalled and it work. not sure what the problem was but its a file i never configed but its working now

Right on glad to hear it's sorted! Thank you for letting me know.

  • Like 1
1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.4m

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.