Jump to content

Failed to call hook

Closed 1.0.12 1.0.13

WarKingz
WarKingz

Posted

getting this in console

instance of an object)
  at Oxide.Plugins.DeployableNature.OnCollectiblePickup (CollectibleEntity collectible, BasePlayer player) [0x000ae] in :0 
  at Oxide.Plugins.DeployableNature.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00649] in :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 
Failed to call hook 'OnCollectiblePickup' on plugin 'ExtraGatherBonuses v1.0.5' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.ExtraGatherBonuses.CheckBonus (BasePlayer player, Oxide.Plugins.ExtraGatherBonuses+GatherInfo info) [0x00000] in :0 
  at Oxide.Plugins.ExtraGatherBonuses.OnGather (BasePlayer player, System.String name) [0x00053] in :0 
  at Oxide.Plugins.ExtraGatherBonuses.OnCollectiblePickup (CollectibleEntity collectible, BasePlayer player) [0x00012] in :0 
  at Oxide.Plugins.ExtraGatherBonuses.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000a3] in :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 

 

  • Curator
imthenewguy

Posted

Will add a few more null checks to the hook for the next release.

  • Curator
imthenewguy

Posted

Changed Status from Pending to Closed

Changed Fixed In to Next Version

2.3m

Downloads

Total number of downloads.

10.6k

Customers

Total customers served.

153.8k

Files Sold

Total number of files sold.

3.3m

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.