Jump to content

error

Pending 1.3.7

Papi Rusty
Papi Rusty

Posted

Failed to call hook 'OnLootEntity' on plugin 'TheOffering v1.3.5' (NullReferenceException: Object reference not set to an instance of an object.)
  at Oxide.Plugins.TheOffering.OnLootEntity (BasePlayer player, StorageContainer instance) [0x00013] in <5992d0ae9e1340dd9270433b49915434>:0 
  at Oxide.Plugins.TheOffering.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x012ac] in <5992d0ae9e1340dd9270433b49915434>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0 

  • Curator
Wrecks

Posted

Is this able to be replicated

Malkizid

Posted (edited)

It does not appear to happen at all on my OxideServer.
Its running fine when an Offering is active
There are also no errors when a player is using The Offering box to deposit, track or win rewards.

(for reference we are using the latest update v 1.3.7)

Maybe the NRE is because of an item reference in your offering config that is no longer in the server?
Example a custom item or an invalid item shortname, in the config or something like that.

Edited by Malkizid
  • Curator
Wrecks

Posted

yeah hard to target idk if its a constant thing or just a random one time here and there, harder to track down, i check the player and container for null too right at the start

  • Like 1
  • Curator
Wrecks

Posted

I added some lines to make it more defensive. 

2m

Downloads

Total number of downloads.

9.4k

Customers

Total customers served.

136.4k

Files Sold

Total number of files sold.

2.9m

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.