Jump to content

Failed to call hook 'OnEntityDeath' on plugin 'RadTownLoot v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)

Closed 1.0.3 1.0.4

Shark-A-Holic
Shark-A-Holic

Posted

Failed to call hook 'OnEntityDeath' on plugin 'RadTownLoot v1.0.3' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.RadTownLoot.SpawnLoot (ItemContainer container, System.Collections.Generic.List`1[T] loot) [0x00042] in <2c45a3a0066347da93e298aba719711f>:0 at Oxide.Plugins.RadTownLoot.SpawnRadLoot (UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00087] in <2c45a3a0066347da93e298aba719711f>:0 at Oxide.Plugins.RadTownLoot.OnEntityDeath (Bear bear, HitInfo hitInfo) [0x000af] in <2c45a3a0066347da93e298aba719711f>:0 at Oxide.Plugins.RadTownLoot.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001e4] in <2c45a3a0066347da93e298aba719711f>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :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

Krungh Crow

Posted (edited)

ok havent seen that one yet i will check that

did u add any new loot plugins or did u upload it through FTP maybe try with web FTP.
I had a event yesterday and spawned in over 300 bears and wasnt giving me this in console.
Neither do the bears i killed today so i cant recreate the error.
u also set permissions for players to use it ?

Edited by Krungh Crow
Krungh Crow

Posted

Changed Status from Pending to Can't Reproduce

Changed Fixed In to 1.0.3

Shark-A-Holic

Posted (edited)

No new loot plugins, I'm only using BetterLoot. Plugin was loaded via Web FTP. Tried uploading it with standard FTP as well. The issue is still occurring, so it has not been fixed. All players have the corresponding permissions. 🙂

Edited by Shark-A-Holic
Krungh Crow

Posted (edited)

ill try reproduce it but its not having this error on the servers i use.
Did u changed the loottable for any chance prior to having the error ?

 

Edited by Krungh Crow
Shark-A-Holic

Posted

7 hours ago, Krungh Crow said:

ill try reproduce it but its not having this error on the servers i use.
Did u changed the loottable for any chance prior to having the error ?

 

Loot tables attached 🙂

RadTownLoot.json

Krungh Crow

Posted

ill have a go at it trying to reproduce it tomorrow

  • Like 1
Shark-A-Holic

Posted

2 minutes ago, Krungh Crow said:

ill have a go at it trying to reproduce it tomorrow

Sounds good dude! Thanks again!

  • Like 1
Shark-A-Holic

Posted

Hey krung, this latest update seems to have resolved the issue. Thank you!

  • Like 1
Krungh Crow

Posted

Changed Status from Can't Reproduce to Closed

Changed Fixed In from 1.0.3 to 1.0.4

maskovaney

Posted

Hi, again me 🙂

New error 😞

14:16:17 Failed to call hook 'OnEntityDeath' on plugin 'RadTownLoot v1.1.4' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.RadTownLoot.OnEntityDeath (Wolf wolf, HitInfo hitInfo) [0x00068] in <a689b56db997479e942127efcc422836>:0
at Oxide.Plugins.RadTownLoot.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00254] in <a689b56db997479e942127efcc422836>: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

  • Like 1
Krungh Crow

Posted

ill check that too is this only with wolves ?

  • Like 1
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

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.