NullReferenceException at DoSpawnsFixed
Failed to call hook 'OnEntityDeath' on plugin 'NPCDropGun v2.0.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NPCDropGun.DoSpawns (BasePlayer player) [0x0002b] in <2dd05bedc4924795b52618e0af2a76d2>:0 
  at Oxide.Plugins.NPCDropGun.OnEntityDeath (BasePlayer player) [0x00016] in <2dd05bedc4924795b52618e0af2a76d2>:0 
  at Oxide.Plugins.NPCDropGun.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <2dd05bedc4924795b52618e0af2a76d2>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <41771c7bc8d246d0b0a34c2f0d27f2cb>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b0a93b504f034a0db8b1c3d2503c0987>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b0a93b504f034a0db8b1c3d2503c0987>:0

Plugin Version: 2.0.0
Oxide Version: 2.0.4428

Thanks for the report, working on fix

Merged post

Fixed
5ba0b9633e817.png?uid=5ba0b9716c220 2CHEVSKII
Thanks for the report, working on fix

Merged post

Fixed

Hi,
i still get the same error for each death.
I got another plugin that changes the loottable for some npc. Could that be causing a conflict?

It could actually, but not sure, what it's name?
It is "NPC Setup", but not from this site :(

Hey man, I keep getting this error message, it started happening right after the recent Rust update.

I have updated the mod to the recent version 2.0.1 but it still doesn't work. Short of reinstalling my entire server, i don't know what to do.

I have run the mod on it's own to see if there are any mod conflicts happening but I still get the same error message on my console.

I keep getting this everytime someone kills an NPC. Thanks!

Failed to call hook 'OnEntityDeath' on plugin 'NPCDropGun v2.0.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.NPCDropGun.DoSpawns (BasePlayer player) [0x0002b] in <1ac205829cb54d6d80ecbaebf291cfdb>:0 at Oxide.Plugins.NPCDropGun.OnEntityDeath (BasePlayer player) [0x00016] in <1ac205829cb54d6d80ecbaebf291cfdb>:0 at Oxide.Plugins.NPCDropGun.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <1ac205829cb54d6d80ecbaebf291cfdb>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <33f7c42a56934dae8ec04b11017dce31>: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​
Investigating, thanks for your reports.
Zombie[5070090] was killed by sentry.scientist.static (entity)
Failed to call hook 'OnEntityDeath' on plugin 'NPCDropGun v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NPCDropGun.DoSpawns (BasePlayer player) [0x0002b] in <53202e544bf34c12b042be68d6c8ccdc>:0
  at Oxide.Plugins.NPCDropGun.OnEntityDeath (BasePlayer player) [0x00016] in <53202e544bf34c12b042be68d6c8ccdc>:0
  at Oxide.Plugins.NPCDropGun.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <53202e544bf34c12b042be68d6c8ccdc>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <33f7c42a56934dae8ec04b11017dce31>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b0a93b504f034a0db8b1c3d2503c0987>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b0a93b504f034a0db8b1c3d2503c0987>:0

not 100% sure why im getting this error. but i think it has to do the Botspawn mod. BotSpawn just got an update to 2.0.1 recently. so not sure if the two can communicate. please help. thanks! <3

Fixed in the latest update (2.0.2)

hi, i keep getting. eventually i took it out of the server.

Failed to call hook 'OnEntityDeath' on plugin 'NPCDropGun v2.0.2' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.NPCDropGun.DoSpawns (BasePlayer player) [0x0002b] in <5bfdd1c7feb4421aa196b7efd8d5cb26>:0
  at Oxide.Plugins.NPCDropGun.OnEntityDeath (BasePlayer player) [0x00016] in <5bfdd1c7feb4421aa196b7efd8d5cb26>:0
  at Oxide.Plugins.NPCDropGun.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <5bfdd1c7feb4421aa196b7efd8d5cb26>: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
Please, try the last update and give feedback. I cannot reproduce the error even tho I spent half an hour killing various bots.
Locked automatically