Got this error every time a plyer trys to buySolved
02:58 [Error] Failed to call hook 'cmdBuyItem' on plugin 'ServerRewards v0.4.74' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ServerRewards.cmdBuyItem (ConsoleSystem+Arg arg) [0x0005d] in <ccb29e510198457c91319c0cfaf1c124>:0

at Oxide.Plugins.ServerRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e58] in <ccb29e510198457c91319c0cfaf1c124>:0

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

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

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

Did you ever get this fixed? I am having the same issue after the Rust and Oxide updates today.

grizzlygaming

Did you ever get this fixed? I am having the same issue after the Rust and Oxide updates today.

So when I went to look at the data files and one of the files had "null" in a bunch of the spaces. 

 

I copied all the data for server rewards(just incase), removed the data files, and only replaced the player data and reward data as other files got messed up somehow

I was able to get it all going again without any loss but it seems this can happen if a small mistake is made in data files or server crashes. Or in yourcase the oxide update

Thank you! It put a 'null' in the cooldown data, so we had to unload the plugin, copy the backup file into the data folder for cooldown, and then load the plugin.

I apprecaite the help.

GrizzlyIslandRustServers

Thank you! It put a 'null' in the cooldown data, so we had to unload the plugin, copy the backup file into the data folder for cooldown, and then load the plugin.

I apprecaite the help.

Yw I hope your Island Thrives :D Im sure your citizens will be happy they can keep their hard earned RP - Keep up the great work!

Locked automatically