Jump to content

Errors on entity death. @ entity loot

Closed 1.0.0 1.0.0

DodgeMan

Posted

06:21 [Error] Failed to call hook 'OnLootEntity' on plugin 'WaterTreatmentEvent v0.9.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.WaterTreatmentEvent+Rewards.ProcessReward (BasePlayer player, System.String rewardType) [0x00000] in <aa126d962c0b46f0bf8d57dac58aceca>:0 
  at Oxide.Plugins.WaterTreatmentEvent+Rewards.RewardForCrate (BasePlayer player) [0x00000] in <aa126d962c0b46f0bf8d57dac58aceca>:0 
  at Oxide.Plugins.WaterTreatmentEvent.OnLootEntity (BasePlayer player, HackableLockedCrate entity) [0x0009b] in <aa126d962c0b46f0bf8d57dac58aceca>:0 
  at Oxide.Plugins.WaterTreatmentEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00960] in <aa126d962c0b46f0bf8d57dac58aceca>: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 . 

 

This error occurred after a reboot as well.

 

And even after the new 1.0.0 update.Tried to dig around and see, but didnt have a ton of time. 

 

Failed to call hook 'OnEntityDeath' on plugin 'WaterTreatmentEvent v0.9.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.WaterTreatmentEvent+Rewards.ProcessReward (BasePlayer player, System.String rewardType) [0x00000] in :0 at Oxide.Plugins.WaterTreatmentEvent+Rewards.RewardForBradley (BasePlayer player) [0x00000] in :0 at Oxide.Plugins.WaterTreatmentEvent.OnEntityDeath (BradleyAPC apc, HitInfo info) [0x0007b] in :0 at Oxide.Plugins.WaterTreatmentEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00993] in :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

Yac Vaguer

Posted

Hi @DodgeMan
 

Please update to the newest version of the plugin g and remember to recreate the config file o

DodgeMan

Posted

Ooof, for some reason, I downloaded it and pasted it in there but apparently it didnt take. Will redo this right now. My appologies.

Yac Vaguer

Posted

Don't worry 

 

If you have issue it might be helpful to activate the verbose mode in the config and share the issues in the logs/WaterTreatmentEvent log folder

Yac Vaguer

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.0.0

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.