Jump to content

failed to call hook error

Closed 1.0.11

hi, i keep getting this error even with the new skill tree update. 

Please help. Thank you

 

Failed to call hook 'STCanGainXP' on plugin 'DeployableNature v1.0.11' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.DeployableNature.STCanGainXP (BasePlayer player, BaseEntity source) [0x0000c] in <1f927328732248b7a96148c40ef3a9a7>:0

at Oxide.Plugins.DeployableNature.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00330] in <1f927328732248b7a96148c40ef3a9a7>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

Share this comment


Link to comment

Hi, so i found out that this error is also triggered when an animal from "Legendary Beast" plugin gets killed. No i don't know if its only with legendary beast or there are others that caused this as well but I just thought I'd add this info.

Share this comment


Link to comment

Show me the error for legendary beasts please.

 

Have added a null/real player check for the method that calls STCanGainXP for next release. Add me on discord and we can test. im the new guy#0001

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.4k

Files Sold

Total number of files sold.

1.6m

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.