Jump to content

it broke during the last update

Closed 1.0.0

DutchPrelude
DutchPrelude

Posted

Quote

Failed to call hook 'LoterieCommand' on plugin 'CLottery v2.1.0' (JsonReaderException: Error reading JArray from JsonReader. Current JsonReader item is not an array: StartObject. Path '', line 1, position 1.) at Newtonsoft.Json.Linq.JArray.Load (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Linq.JsonLoadSettings settings) [0x0004c] in <7126fb4f5c5b40029458a4f975f98d13>:0 at Newtonsoft.Json.Linq.JArray.Load (Newtonsoft.Json.JsonReader reader) [0x00000] in <7126fb4f5c5b40029458a4f975f98d13>:0 at Newtonsoft.Json.Converters.HashSetConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) [0x00041] in <7126fb4f5c5b40029458a4f975f98d13>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) [0x00055] in <7126fb4f5c5b40029458a4f975f98d13>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <7126fb4f5c5b40029458a4f975f98d13>:0 at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <7126fb4f5c5b40029458a4f975f98d13>:0 at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <7126fb4f5c5b40029458a4f975f98d13>:0 at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <7126fb4f5c5b40029458a4f975f98d13>:0 at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <7126fb4f5c5b40029458a4f975f98d13>:0 at Oxide.Core.Configuration.DynamicConfigFile.ReadObject[T] (System.String filename) [0x00028] in :0 at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x00021] in :0 at Oxide.Plugins.CLottery.LoadData () [0x0000b] in :0 at Oxide.Plugins.CLottery.CheckHasGifts (BasePlayer player) [0x00026] in :0 at Oxide.Plugins.CLottery.LoterieCommand (BasePlayer player, System.String command, System.String[] args) [0x0000c] in :0 at Oxide.Plugins.CLottery.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00090] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

 

TF Crazy

Posted

Error in you json file

Send it to me and I will correct it for you

TF Crazy

Posted

Hum ok, delete in data/CLottery/Lottery.json file

TF Crazy

Posted

Changed Status from Pending to Work in Progress

DutchPrelude

Posted

that normally deletes after a wipe.
but did it now manually and had to reboot the server for a little " update" 

now it seems to be working just fine 😄

TF Crazy

Posted

I will redo the plugin soon

  • Like 1
TF Crazy

Posted

Changed Status from Work in Progress to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

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.