Failed to call hook 'OnEntityDeath' on plugin 'Bounty v0.2.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Bounty.OnEntityDeath (BaseCombatEntity entity, HitInfo info) [0x0004a] in <ef3692b7db9041ec80bd2b577608ea61>:0
at Oxide.Plugins.Bounty.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003de] in <ef3692b7db9041ec80bd2b577608ea61>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e414 NullReferenceException at OnEntityDeathError
Please use descriptive titles when posting new threads, "BUG?????????" would not be considered descriptive. Thanks!
OK, can you solve it?
Failed to call hook 'OnEntityDeath' on plugin 'Bounty v0.5.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Bounty.OnEntityDeath (BaseCombatEntity entity, HitInfo info) [0x0004a] in <678b7e653a9b4af3b15ed68872571d58>:0
at Oxide.Plugins.Bounty.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003de] in <678b7e653a9b4af3b15ed68872571d58>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0 This error seems to pop everytime somebody kills a scientist, I have an odd theory.. I'm not very advanced but could this be happening because scientists aren't players so the hook can't call? (I'm still learning, my apoligies if this sounds cringey.)
No, the error means something doesn't exist when it was expected to be; aka "null" because it was killed/destroyed.Fitz
Failed to call hook 'OnEntityDeath' on plugin 'Bounty v0.5.5' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Bounty.OnEntityDeath (BaseCombatEntity entity, HitInfo info) [0x0004a] in <678b7e653a9b4af3b15ed68872571d58>:0 at Oxide.Plugins.Bounty.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003de] in <678b7e653a9b4af3b15ed68872571d58>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0This error seems to pop everytime somebody kills a scientist, I have an odd theory.. I'm not very advanced but could this be happening because scientists aren't players so the hook can't call? (I'm still learning, my apoligies if this sounds cringey.)
Wulf
No, the error means something doesn't exist when it was expected to be; aka "null" because it was killed/destroyed.
So, is it an issue that it's constantly flooding like that? - How would I also go about fixing it?
Failed to call hook 'OnEntityDeath' on plugin 'Bounty v0.2.5'
at Oxide.Plugins.Bounty.OnPlayerDisconnected (BasePlayer player) [0x00000] in <3d01ca3913e24ecd8cb9c7ecd437fee1>:0
at Oxide.Plugins.Bounty.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002b7] in <3d01ca3913e24ecd8cb9c7ecd437fee1>: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 Could you provide the full error please?
Failed to call hook 'OnEntityDeath' on plugin 'Bounty v0.2.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Bounty.OnEntityDeath (BaseCombatEntity entity, HitInfo info) [0x0004a] in <959b32bd3ecc49ae89205158fbcc4dab>:0
at Oxide.Plugins.Bounty.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003de] in <959b32bd3ecc49ae89205158fbcc4dab>: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 Merged post
The mod is broken because of this. Cant set bounties on anyone