Jump to content

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

Pending 3.0.8

Jeff.Thibault1
Jeff.Thibault1

Posted

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

 

  • Administrator
Steenamaroo

Posted

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.

Jeff.Thibault1

Posted

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

  • Administrator
Steenamaroo

Posted

Yup, definitely looks like a config file issue.

Try running it through https://jsonlint.com validator, or feel free to attach it here.

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
11.2k
Customers served
Files Sold
160.2k
Total 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.