Jump to content

error

Can't Reproduce 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 

Wrecks

Posted

Is this able to be replicated

Mankus

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
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

Wrecks

Posted

I added some lines to make it more defensive. 

Wrecks

Posted

Changed Status from Pending to Cant Reproduce

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.9k
Customers served
Files Sold
156.6k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • 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.