Jump to content

new error

Closed 1.2.0

LizardMods
LizardMods

Posted

Failed to call hook 'OnCollectiblePickup' on plugin 'SkillTree v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SkillTree.OnCollectiblePickup (CollectibleEntity entity, BasePlayer player) [0x00000] in <0e2a83378d4140baac42a1cecf9865f8>:0
  at Oxide.Plugins.SkillTree.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0321b] in <0e2a83378d4140baac42a1cecf9865f8>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0                                                                                                                                                                                                                                                                                                                1kb/s in, 9kb/s out
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0
Failed to call hook 'OnCollectiblePickup' on plugin 'SkillTree v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SkillTree.OnCollectiblePickup (CollectibleEntity entity, BasePlayer player) [0x00000] in <0e2a83378d4140baac42a1cecf9865f8>:0
  at Oxide.Plugins.SkillTree.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0321b] in <0e2a83378d4140baac42a1cecf9865f8>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0                                                                                                                                                                                                                                                                                                                3kb/s in, 5kb/s out
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0

imthenewguy

Posted

Have added a few more null checks to the hook for next release to hopefully prevent his error.

Zoreeno

Posted

We're also seeing this same error. Haven't gotten any report of issues from players though. They probably just aren't noticing.

Some info that may (or may not) be helpful for you... This error seems to fire off at the exact same time as another plugin that uses the OnCollectiblePickup hook - Plugin is ExtraGatherBonus. Which just lets me set additional items to drop when a player loots ground pickups. 

Again this might be meaningless, but ever since the hook was changed by oxide or FP, or whoever, there seems to be a few plugins out there having the issue. 

Zoreeno

Posted (edited)

Here is the error from Skill Tree:

09/11/2022 22:44:16 | Failed to call hook 'OnCollectiblePickup' on plugin 'SkillTree v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SkillTree.OnCollectiblePickup (CollectibleEntity entity, BasePlayer player) [0x00000] in <66124346cda949f3899bbb3d4b8dadd5>:0
at Oxide.Plugins.SkillTree.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0321b] in <66124346cda949f3899bbb3d4b8dadd5>: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

And then at the exact same time/second, from ExtraGatherBonuses:

09/11/2022 22:44:16 | 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 <66124346cda949f3899bbb3d4b8dadd5>:0
at Oxide.Plugins.ExtraGatherBonuses.OnGather (BasePlayer player, System.String name) [0x00053] in <66124346cda949f3899bbb3d4b8dadd5>:0
at Oxide.Plugins.ExtraGatherBonuses.OnCollectiblePickup (CollectibleEntity collectible, BasePlayer player) [0x00012] in <66124346cda949f3899bbb3d4b8dadd5>:0
at Oxide.Plugins.ExtraGatherBonuses.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0008d] in <66124346cda949f3899bbb3d4b8dadd5>: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

Again not sure if they are related, but happens at the same time so figured it could be significant. 

Edit: I also just noticed I'm one version behind on Skill Tree.  I'll update and see if it continues. 

Edited by Zoreeno
Zoreeno

Posted

I didn't realize that you pushed an update. I'll let you know if that gets rid of my errors 🙂 

  • Like 1
imthenewguy

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

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.