Jump to content

Leviathan despawn/move away

Not a Bug 1.0.0

massa2a
massa2a

Posted

Got this probleme coming in the console when a player attempt to approach the leviathan.

[Scrap Leviathan] Leviathan update failed; removing it: Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path 'EventLeft', line 29, position 97.
  at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer (System.Char quote) [0x00099] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonTextReader.ParseString (System.Char quote, Newtonsoft.Json.ReadType readType) [0x00014] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonTextReader.ReadStringValue (Newtonsoft.Json.ReadType readType) [0x0015a] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonTextReader.ReadAsString () [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x00077] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (System.Collections.IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x00262] 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) [0x002a8] 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 Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Oxide.Core.Libraries.Lang.GetMessageFile (System.String plugin, System.String lang) [0x00067] in <db058accaef24d86af67c0d18d641acb>:0 
  at Oxide.Core.Libraries.Lang.GetMessageKey (System.String key, Oxide.Core.Plugins.Plugin plugin, System.String lang) [0x00036] in <db058accaef24d86af67c0d18d641acb>:0 
  at Oxide.Core.Libraries.Lang.GetMessageByLanguage (System.String key, Oxide.Core.Plugins.Plugin plugin, System.String lang) [0x0000d] in <db058accaef24d86af67c0d18d641acb>:0 
  at Oxide.Plugins.ScrapLeviathan.HudDoc (System.String code, System.Single fill, System.Boolean surfaced) [0x0012f] in <c652667f5bd24e7ca1efa156297759fa>:0 
  at Oxide.Plugins.ScrapLeviathan.RefreshHud () [0x00237] in <c652667f5bd24e7ca1efa156297759fa>:0 
  at Oxide.Plugins.ScrapLeviathan.Tick () [0x00130] in <c652667f5bd24e7ca1efa156297759fa>:0 

crash

Posted

Hey, that's a broken lang file: the EventLeft line (line 29) in one of your oxide/lang/<language>/ScrapLeviathan.json files is missing a closing ", probably from an edit. Add the missing quote, or delete that file and run oxide.reload ScrapLeviathan so it gets regenerated, and the Leviathan will stop despawning when players get close.

  • Love 1
massa2a

Posted

Thank you, you;re a genius 😍

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.3m
Total downloads
Customers
12.4k
Customers served
Files Sold
175.7k
Total sales
Payments
3.8m
Processed total
×
×
  • 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.