RaidTracker | Failed to call hook 'ViewExplosionsCommand'Fixed
Hi, I'm using plugin RaidTracker but, since today's (02/24/2023) update doesn't work : 
https://umod.org/plugins/raid-tracker
We don't have any log of explosion on discord or in console 
I don't have in the chat "[number] explosion in your zone ..."

Exemple when I use command : /x

| Failed to call hook 'ViewExplosionsCommand' on plugin 'RaidTracker v2.0.0' (ArgumentNullException: Value cannot be null.
Parameter name: source)
at System.Linq.Enumerable.Where[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Plugins.RaidTracker.FindRaidEventsInSphere (UnityEngine.Vector3 pos, System.Single r) [0x00014] in <85a5bdee534c418fb3b939dd19c9e249>:0
at Oxide.Plugins.RaidTracker.ViewExplosionsCommand (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x00935] in <85a5bdee534c418fb3b939dd19c9e249>:0
at Oxide.Plugins.RaidTracker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005ab] in <85a5bdee534c418fb3b939dd19c9e249>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0
We deleted plugin and upload another freshly download (virgin plugin)  on "Umod"
We have this error when we put plugin in server : 
 
02/25 03:53:01 | RaidTracker was compiled successfully in 2574ms
02/25 03:53:02 | Failed to call hook 'Unload' on plugin 'RaidTracker v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.RaidTracker.SaveRaidEventLog () [0x00000] in <e178b494b3a04f56820edd72c9a24d24>:0
at Oxide.Plugins.RaidTracker.Unload () [0x00060] in <e178b494b3a04f56820edd72c9a24d24>:0
at Oxide.Plugins.RaidTracker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00588] in <e178b494b3a04f56820edd72c9a24d24>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0
02/25 03:53:02 | Calling 'Unload' on 'RaidTracker v2.0.0' took 211ms
02/25 03:53:02 | Unloaded plugin Raid Tracker v2.0.0 by Clearshot
02/25 03:53:02 | [Raid Tracker] Discord webhook disabled!
02/25 03:53:02 | Failed to call hook 'OnServerInitialized' on plugin 'RaidTracker v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.RaidTracker.OnServerInitialized () [0x0007e] in <7fac5e494bb14af091c1fcbcfed41022>:0
at Oxide.Plugins.RaidTracker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002d7] in <7fac5e494bb14af091c1fcbcfed41022>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0
02/25 03:53:02 | Loaded plugin Raid Tracker v2.0.0 by Clearshot

I found my problem. 

I had file :
oxide\data\RaidTracker : 

 - ConfigBackup (folder) , file in : RaidTracker_2023-2-27_15-54-31.JSON 
 - WipedRaidEvents (empty folder) 
 - DecayEntityIgnoreList.JSON
 - RaidEventLog.JSON

 

I deleted all file/folder in "data" folder, I have again install plugin, now it's ok. 

Locked automatically