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

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.5m
Total downloads
Customers
10.9k
Customers served
Files Sold
157.4k
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.