NullReferenceException at OnEntityTakeDamageError
Failed to call hook 'OnEntityTakeDamage' on plugin 'Taser v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Taser.OnEntityTakeDamage (BaseCombatEntity Entity, HitInfo HitInfo) [0x000e9] in <9c038ed6ded84477bcdcdce827c45962>:0

at Oxide.Plugins.Taser.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000c2] in <9c038ed6ded84477bcdcdce827c45962>: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 <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

I will take a look at this

I have this errorm however this one loads very well when starting my server

Failed to call hook 'OnEntityTakeDamage' on plugin 'Taser v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Taser.OnEntityTakeDamage (BaseCombatEntity Entity, HitInfo HitInfo) [0x000e9] in <450f26e2dd3a466984a96e0c85d9e160>:0
at Oxide.Plugins.Taser.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000c2] in <450f26e2dd3a466984a96e0c85d9e160>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

Sorry, forgot to replay but saw the message, I will see whats happening

GYTfpcaa2VRSz2M.jpg Kopter

Sorry, forgot to replay but saw the message, I will see whats happening

ok... The plugin loads fine when the server starts up, but after a while I get this message in my console.Thank you.

I added something, maybe it will fix it, let me know

k0wtFxpzDPOPibi.jpg Kopter

I added something, maybe it will fix it, let me know

Ok. I test this tomorrow. 😉

ivkQIygEXtLdpjl.jpg Kopter

I added something, maybe it will fix it, let me know

The error no longer appears in my logs.So the problem is solved.Good work.;)

this error when the server start:

Failed to call hook 'OnEntityTakeDamage' on plugin 'Taser v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Taser.OnEntityTakeDamage (BaseCombatEntity Entity, HitInfo HitInfo) [0x000e9] in <37300e82e8d94a9b84d97c153262b188>:0
at Oxide.Plugins.Taser.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000c2] in
<37300e82e8d94a9b84d97c153262b188>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

Weird, I will recheck as this was reported and I thought I had fixed it, but it's not when the server starts

I got it when the server was started.
 
 
(16:23:30) | Failed to call hook 'OnEntityTakeDamage' on plugin 'Taser v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Taser.OnEntityTakeDamage (BaseCombatEntity Entity, HitInfo HitInfo) [0x000e9] in <67bbd64c72e8474a8294b79289706d9c>:0
at Oxide.Plugins.Taser.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000c2] in <67bbd64c72e8474a8294b79289706d9c>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <dfcb48ea05694263bbc08e62a39c274c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <dfcb48ea05694263bbc08e62a39c274c>:0

Hey, sorry for the late response, but, update to the latest version, 2.0.0.