(22:53:20) | [Oxide] 06:53 [Error] Failed to run a 10.00 timer in 'DiscordStatus v2.0.4' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.DiscordStatus.GetAuthCount () [0x00016] in <c47eb43afd924f038825d7b746d9d601>:0
at Oxide.Plugins.DiscordStatus.Format (System.String message) [0x00146] in <c47eb43afd924f038825d7b746d9d601>:0
at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x00043] in <c47eb43afd924f038825d7b746d9d601>:0
at Oxide.Plugins.DiscordStatus.<OnServerInitialized>m__0 () [0x00000] in <c47eb43afd924f038825d7b746d9d601>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <4452f821def6406d834e4149849fe7ea>:0 NullReferenceException at GetAuthCountError
Hello, i have three discord plugins running on my server, rustcord, discordauth, and discordstatus. This last one stopped working today, i joined on my discord server and the bot doesnt show anything. I review the log file and saw this, but i dont know much about it, if someone can help me i would be very grateful :S
(I have a reload timer for each one in timedexecute, because i read that its neccesary because those discord plugins stop a while after you start the server)
00:02 [Info] [Timed Execute] ran CMD: oxide.reload Rustcord
12:02 AM [Warning] [Discord Extension] Discord socket opened!
12:02 AM [Warning] [Discord Extension] Your bot was found in 1 Guilds!
00:07 [Info] Unloaded plugin Discord Status v2.0.4 by Tricky
00:07 [Info] Loaded plugin Discord Status v2.0.4 by Tricky
00:07 [Info] [Timed Execute] ran CMD: oxide.reload DiscordStatus
12:07 AM [Warning] [Discord Extension] Discord socket opened!
12:07 AM [Warning] [Discord Extension] Your bot was found in 1 Guilds!
00:07 [Error] Failed to call hook 'API_GetAuthCount' on plugin 'DiscordAuth v1.1.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.DiscordAuth.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003c2] in <fdfb80d5d4684dc9b83ab21fabb8f23f>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <98321e516fc1420ea57d4d2088213a59>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0
00:07 [Error] Failed to run a 5.00 timer in 'DiscordStatus v2.0.4' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.DiscordStatus.GetAuthCount () [0x00016] in <1471e918de5c40bd964359f595f8036e>:0
at Oxide.Plugins.DiscordStatus.Format (System.String message) [0x00146] in <1471e918de5c40bd964359f595f8036e>:0
at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x00043] in <1471e918de5c40bd964359f595f8036e>:0
at Oxide.Plugins.DiscordStatus.<OnServerInitialized>m__0 () [0x00000] in <1471e918de5c40bd964359f595f8036e>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <ac41dd3599754d448b8c218b34645820>:0
00:19 [Info] Unloaded plugin Discord Auth v1.1.3 by Tricky
00:19 [Error] Could not initialize plugin 'DiscordAuth v1.1.3' (JsonReaderException: After parsing a value an unexpected character was encountered: j. Path 'Authenticated', line 4, position 79.)
at Newtonsoft.Json.JsonTextReader.ParsePostValue () [0x00179] in <2953a6e76ee34625bf5fc75750290816>:0
at Newtonsoft.Json.JsonTextReader.Read () [0x0005a] in <2953a6e76ee34625bf5fc75750290816>: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) [0x0028b] in <2953a6e76ee34625bf5fc75750290816>: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 <2953a6e76ee34625bf5fc75750290816>: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 <2953a6e76ee34625bf5fc75750290816>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <2953a6e76ee34625bf5fc75750290816>:0
at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <2953a6e76ee34625bf5fc75750290816>:0
at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <2953a6e76ee34625bf5fc75750290816>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <2953a6e76ee34625bf5fc75750290816>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <2953a6e76ee34625bf5fc75750290816>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <2953a6e76ee34625bf5fc75750290816>:0
at Oxide.Core.Libraries.Lang.GetMessageFile (System.String plugin, System.String lang) [0x00067] in <ac41dd3599754d448b8c218b34645820>:0
at Oxide.Core.Libraries.Lang.RegisterMessages (System.Collections.Generic.Dictionary`2[TKey,TValue] messages, Oxide.Core.Plugins.Plugin plugin, System.String lang) [0x00032] in <ac41dd3599754d448b8c218b34645820>:0
at Oxide.Plugins.DiscordAuth.LoadDefaultMessages () [0x000bc] in <fdfb80d5d4684dc9b83ab21fabb8f23f>:0
at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0001d] in <ac41dd3599754d448b8c218b34645820>:0
at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <ac41dd3599754d448b8c218b34645820>:0
at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <98321e516fc1420ea57d4d2088213a59>:0
at Oxide.Plugins.CovalencePlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x000b3] in <98321e516fc1420ea57d4d2088213a59>:0
at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00027] in <ac41dd3599754d448b8c218b34645820>:0
at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <ac41dd3599754d448b8c218b34645820>:0
00:19 [Info] No previous version to rollback plugin: DiscordAuth
00:19 [Info] [Timed Execute] ran CMD: oxide.reload DiscordAuth
00:29 [Info] Unloaded plugin Rustcord v1.10.2 by Kirollos & OuTSMoKE
00:29 [Info] Loaded plugin Rustcord v1.10.2 by Kirollos & OuTSMoKE
00:29 [Info] [Timed Execute] ran CMD: oxide.reload Rustcord According to one of the errors, your oxide/lang file for the plugin is unreadable.
OMG! Thanks!
Its was a \n that I writed whit caps and it was writed \N haha.
Sorry for my incompetence :S
EDIT: And it was in DiscordAuth, not in DiscordStatus