NullReferenceException at OnNpcTargetError

Just started playing up today.... after a server reload

Failed to call hook 'OnNpcTarget' on plugin 'DangerousTreasures v2.0.9' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.DangerousTreasures.OnNpcTarget (BaseEntity npc, BaseEntity target) [0x0007d] in <3bf456a11c434ae6b7e5783750b040f7>:0 
  at Oxide.Plugins.DangerousTreasures.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001cb] in <3bf456a11c434ae6b7e5783750b040f7>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <8a646463979e4a1d9c0e2f1298e9483f>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1fe782f4b27a43ae85d29ebb2d56c007>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <1fe782f4b27a43ae85d29ebb2d56c007>:0  

 

Plugin has been updated 2 months ago from your version
yep you are right......
dont know what happened there......

Merged post

clearly something else has changed.....

Failed to call hook 'OnNpcTarget' on plugin 'DangerousTreasures v2.1.2' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.DangerousTreasures.OnNpcTarget (BaseEntity npc, BaseEntity target) [0x0007d] in <15877d679d2f4c83b4cc197ddb5cd33f>:0 
  at Oxide.Plugins.DangerousTreasures.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0022d] in <15877d679d2f4c83b4cc197ddb5cd33f>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <8a646463979e4a1d9c0e2f1298e9483f>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1fe782f4b27a43ae85d29ebb2d56c007>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <1fe782f4b27a43ae85d29ebb2d56c007>:0  
​
5e7c5648be6ee.jpg razorfishsl
yep you are right......
dont know what happened there......

Merged post

clearly something else has changed.....

Failed to call hook 'OnNpcTarget' on plugin 'DangerousTreasures v2.1.2' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.DangerousTreasures.OnNpcTarget (BaseEntity npc, BaseEntity target) [0x0007d] in <15877d679d2f4c83b4cc197ddb5cd33f>:0 
  at Oxide.Plugins.DangerousTreasures.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0022d] in <15877d679d2f4c83b4cc197ddb5cd33f>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <8a646463979e4a1d9c0e2f1298e9483f>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1fe782f4b27a43ae85d29ebb2d56c007>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <1fe782f4b27a43ae85d29ebb2d56c007>:0  
​

Already updated to 2.1.3

Have the same error with the actual version...
any ideas?

Failed to call hook 'OnNpcTarget' on plugin 'DangerousTreasures v2.1.8' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.DangerousTreasures.OnNpcTarget (BasePlayer player, BasePlayer target) [0x0005e] in <10bfb2f498d3454ebfec2b2baf2a6db2>:0
at Oxide.Plugins.DangerousTreasures.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00228] in <10bfb2f498d3454ebfec2b2baf2a6db2>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>: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
qCEaaoxQ0ZIZEOW.jpg DrDBug

Have the same error with the actual version...
any ideas?

Failed to call hook 'OnNpcTarget' on plugin 'DangerousTreasures v2.1.8' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.DangerousTreasures.OnNpcTarget (BasePlayer player, BasePlayer target) [0x0005e] in <10bfb2f498d3454ebfec2b2baf2a6db2>:0
at Oxide.Plugins.DangerousTreasures.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00228] in <10bfb2f498d3454ebfec2b2baf2a6db2>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>: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

I am using the latest version (i dont use bots with it) and have had no problems , in fact i have never had any serious problems with any version of the plugin since its release ,

As you wrote, i do use bots an got this error message. Anyway, the bots are there and the event is runing fine 'but' i got this error...