Jump to content

OnCollectiblePickup error

No Response 3.0.4

iLakSkiL
iLakSkiL

Posted

Been getting this same error randomly.

Quote

Failed to call hook 'OnCollectiblePickup' on plugin 'RustRewards v3.0.4' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.RustRewards.OnCollectiblePickup (Item item, BasePlayer player, CollectibleEntity entity) [0x00064] in :0 at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0058c] 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

  • Like 1
iLakSkiL

Posted

still getting this with version 3.0.5. I do have my own gather rate plugin, so that might be conflicting maybe?

  • Administrator
Steenamaroo

Posted

Can you unload the plugin the open your /config/RustRewards.json and check it's as it should be?

It might be a legit error, but I've had a few 'Failed to call hook...' which were actually the result of config file becoming null.
Not sure why, yet.

iLakSkiL

Posted

It looks fine, I do have all the items in the Pickup class set to 0.0, so is that messing it up maybe?

iLakSkiL

Posted

okay I unloaded my gather plugin and then the RustRewards error went away. I'll message you in your discord to see about a solution

iLakSkiL

Posted

Not sure how to change the title or tags on the post, but if there are any admins/mods around, please close this thread. The issue I'm having is not originating from RustRewards.

  • Administrator
Steenamaroo

Posted

Hi,
Glad you've found it's coming from elsewhere, although RustRewards shouldn't throw an error regardless.
If an item or player is null it should silently handle that - I'm not seeing how OnCollectiblePickup can NRE, but I'll take a closer look at it.

Thanks for the info.

Guest

Posted

Changed Status from Pending to No Response

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.7k

Files Sold

Total number of files sold.

2.1m

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.