Jump to content

Random NRE when shooting certain NPCs

Pending 1.0.1

INFINITY-Z
INFINITY-Z

Posted (edited)

Hi,
getting constant NRE's when players kill NPCs. Did not find out which type, yet. This is all I can forward for now:
(happens with any of the three configs, all default settings)

02/05 14:49:27 | Failed to call hook 'OnEntityDeath' on plugin 'NPCHealthBar v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.NPCHealthBar.OnEntityDeath (BaseCombatEntity entity, HitInfo info) [0x00000] in <ba83d5badc0a42bcbf1e11061eee9840>:0
at Oxide.Plugins.NPCHealthBar.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00092] in <ba83d5badc0a42bcbf1e11061eee9840>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <18d4f19bbc844191b11ed9e69284d09b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <18d4f19bbc844191b11ed9e69284d09b>:0

Edited by INFINITY-Z
Chris Dg.

Posted

Hi, 

sorry to hear that , I am gonna look into it asap. If you can , please send me config file that you use , just for me to make sure it looks as it should. Nevertheless, I am gonna look into it and provide solution . 

Thank you .

INFINITY-Z

Posted

I merely used the default configs that come with the plugin. I reloaded again on our live server to test and it seems to happen upon any kill as the NRE spam started right away:

 

02/06 19:05:56 | NPCHealthBar was compiled successfully in 1234ms

02/06 19:05:56 | Loaded plugin NPC health bar plug v1.0.1 by kiko

02/06 19:05:58 | Drydocked Cargoship Guard[4977198] was killed by dbzrocks297[] at (-2216.08, 19.36, -1912.96)

02/06 19:05:58 | Failed to call hook 'OnEntityDeath' on plugin 'NPCHealthBar v1.0.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.NPCHealthBar.OnEntityDeath (BaseCombatEntity entity, HitInfo info) [0x00000] in <687adef16535447fa346b9dad67deaa5>:0
at Oxide.Plugins.NPCHealthBar.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00092] in <687adef16535447fa346b9dad67deaa5>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <18d4f19bbc844191b11ed9e69284d09b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <18d4f19bbc844191b11ed9e69284d09b>:0

 

Chris Dg.

Posted

Hey , 

I pushed update , it should be fixed now . If anything else let me know .

Thanks

INFINITY-Z

Posted

I'll get back to you once I tested it. Thank you

INFINITY-Z

Posted

I have tested it for a while now and did not get any issues with the default config of my choice, thank you for addressing and fixing it so quick.
If anything should give errors again I would provide as much info as possible but hope it won't be necessary 😄
Thanks, have a great day.

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.1k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.