Jump to content

Failed to call hook 'OnItemAction' on plugin 'RustRewards v3.0.8'

Pending 3.0.8

Failed to call hook 'OnItemAction' on plugin 'RustRewards v3.0.8' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.RustRewards.OnItemAction (Item item, System.String action, BasePlayer player) [0x0002f] in <f96a7261657f4552b1625663a10e4fc5>:0
  at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00551] in <f96a7261657f4552b1625663a10e4fc5>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e23ba2c0f246426296d81c842cbda3af>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0

 

Share this comment


Link to comment

Looks like 3.0.8 didn't fix the rare config issue, then. 😞
Please check your config file - Most likely the contents are 'null'. If that is the case, delete the file (or preferably restore in a backup), then reload RustRewards.

Sorry about this. I'll push a patch to hopefully stop it happening again.

  • Like 1

Share this comment


Link to comment

yep seem like this. Im going to do what you asked me 🙂

 

[DEBUG] Reload requested for plugin which is already loading: RustRewards
RustRewards was compiled successfully in 2283ms
Unloaded plugin RustRewards v3.0.8 by Steenamaroo
[RustRewards] Config file issue detected. Please delete file, or check syntax and fix.
Calling 'OnServerInitialized' on 'RustRewards v3.0.9' took 2630ms
Loaded plugin RustRewards v3.0.9 by Steenamaroo
Calling 'OnEntityTakeDamage' on 'RustRewards v3.0.9' took average 2632ms

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.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.