Jump to content

loading bundle issue

Closed 1.0.1

TwoShoes
TwoShoes

Posted

I loaded C, D, AND E I did not load A as I already have A with the original plugin.. When I reload the plugin get this in console..
 

Failed to call hook 'OnServerInitialized' on plugin 'DefendableBases v1.0.7' (JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Oxide.Plugins.DefendableBases+BaseConfig' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.)
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract) [0x00058] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id) [0x00012] 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) [0x0007f] 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 <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x00021] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Plugins.DefendableBases.LoadConfigs () [0x00077] in <069ea16851fe4f08a6b0b977bd4fc988>:0 
  at Oxide.Plugins.DefendableBases.OnServerInitialized () [0x00079] in <069ea16851fe4f08a6b0b977bd4fc988>:0 
  at Oxide.Plugins.DefendableBases.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x009b8] in <069ea16851fe4f08a6b0b977bd4fc988>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <b6af59acae274e5a94fb209dfc179b8f>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0
(21:20:28) | Calling 'OnServerInitialized' on 'DefendableBases v1.0.7' took 128ms
(21:20:28) | Loaded plugin DefendableBases v1.0.7 by KpucTaJl

 

jtedal

Posted

Hello. Can I ask you to send this message again in our discord through our ticket system? We will probably need the help of the developer of this plugin and this way it will be easier for us to communicate 

TwoShoes

Posted (edited)

and whats the discord? NM i found it

Edited by TwoShoes
TwoShoes

Posted

This can now be marked as fixed Thank you for the help

  • Like 1
jtedal

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.7k

Files Sold

Total number of files sold.

2m

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.