Jump to content

IDK this error

No Response 2.4.1

o.reload RaidableBases
Unloaded plugin Raidable Bases v2.4.1 by nivex
Failed to call hook 'OnServerInitialized' on plugin 'RaidableBases v2.4.1' (JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[Oxide.Plugins.RaidableBases+LootItem]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'default', line 2, position 12.)
  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) [0x00374] 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 <dfcb48ea05694263bbc08e62a39c274c>:0 
  at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x00021] in <dfcb48ea05694263bbc08e62a39c274c>:0 
  at Oxide.Plugins.RaidableBases.GetTable (System.String file) [0x00010] in <77c06e73fb124b5e817ac6ca27fdc5e9>:0 
  at Oxide.Plugins.RaidableBases.LoadBaseTables () [0x0005b] in <77c06e73fb124b5e817ac6ca27fdc5e9>:0 
  at Oxide.Plugins.RaidableBases.LoadProfiles () [0x001b9] in <77c06e73fb124b5e817ac6ca27fdc5e9>:0 
  at Oxide.Plugins.RaidableBases.Initialize () [0x0003e] in <77c06e73fb124b5e817ac6ca27fdc5e9>:0 
  at Oxide.Plugins.RaidableBases.OnServerInitialized (System.Boolean isStartup) [0x0012a] in <77c06e73fb124b5e817ac6ca27fdc5e9>:0 
  at Oxide.Plugins.RaidableBases.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0031f] in <77c06e73fb124b5e817ac6ca27fdc5e9>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <dfcb48ea05694263bbc08e62a39c274c>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <dfcb48ea05694263bbc08e62a39c274c>:0 
Loaded plugin Raidable Bases v2.4.1 by nivex

coud u help me ? 🙂

Share this comment


Link to comment

hiya, there's something wrong with the files in the oxide/data/RaidableBases/Base_Loot directory. make sure only loot tables are in that directory, and make sure that they're valid json files as well

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

80.8k

Files Sold

Total number of files sold.

1.6m

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.