Followers 1 Error message By pookins, April 21, 2020 in CustomLoot Closed 1.0.1 Report reply pookins Posted April 21, 2020 Am getting this error in console after loading , is it anything to worry about ? (18:26:59) | CustomLoot was compiled successfully in 2250ms (18:27:00) | ExType: JsonSerializationException (18:27:00) | Failed to call hook 'OnServerInitialized' on plugin 'CustomLoot v1.0.1' (ArgumentException: Could not cast or convert from System.Int64 to Oxide.Plugins.CustomLoot+lootData.) at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (System.Object value, System.Type initialType, System.Type targetType) [0x00062] in <7126fb4f5c5b40029458a4f975f98d13>:0 at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00031] in <7126fb4f5c5b40029458a4f975f98d13>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x0008d] in <7126fb4f5c5b40029458a4f975f98d13>:0 (18:27:00) | Calling 'OnServerInitialized' on 'CustomLoot v1.0.1' took 203ms [GARBAGE COLLECT] (18:27:00) | Loaded plugin CustomLoot v1.0.1 by Steenamaroo Quote Share this comment Link to comment Report reply Steenamaroo Posted April 21, 2020 Hi, That sounds like a corrupt, or incorrectly edited, data file. Try visually scanning them to find an issue, or running them through https://jsonlint.com. Quote Share this comment Link to comment Report reply Guest Posted April 24, 2020 Changed Status from Pending to No Response Quote Share this comment Link to comment Report reply Steenamaroo Posted April 24, 2020 Changed Status from No Response to Closed Quote Share this comment Link to comment
Report reply pookins Posted April 21, 2020 Am getting this error in console after loading , is it anything to worry about ? (18:26:59) | CustomLoot was compiled successfully in 2250ms (18:27:00) | ExType: JsonSerializationException (18:27:00) | Failed to call hook 'OnServerInitialized' on plugin 'CustomLoot v1.0.1' (ArgumentException: Could not cast or convert from System.Int64 to Oxide.Plugins.CustomLoot+lootData.) at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (System.Object value, System.Type initialType, System.Type targetType) [0x00062] in <7126fb4f5c5b40029458a4f975f98d13>:0 at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00031] in <7126fb4f5c5b40029458a4f975f98d13>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x0008d] in <7126fb4f5c5b40029458a4f975f98d13>:0 (18:27:00) | Calling 'OnServerInitialized' on 'CustomLoot v1.0.1' took 203ms [GARBAGE COLLECT] (18:27:00) | Loaded plugin CustomLoot v1.0.1 by Steenamaroo Quote Share this comment Link to comment
Report reply Steenamaroo Posted April 21, 2020 Hi, That sounds like a corrupt, or incorrectly edited, data file. Try visually scanning them to find an issue, or running them through https://jsonlint.com. Quote Share this comment Link to comment
Report reply Guest Posted April 24, 2020 Changed Status from Pending to No Response Quote Share this comment Link to comment
Report reply Steenamaroo Posted April 24, 2020 Changed Status from No Response to Closed Quote Share this comment Link to comment