Repeating Error in console infinitely with letters in red.
[Error] Failed to call hook 'OnPlayerInput' on plugin 'AntiOfflineRaid v0.4.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.AntiOfflineRaid.OnPlayerInput (BasePlayer player, InputState input) [0x0002d] in <40e42a37fb7e435b80aa70e396a461cb>:0
at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00346] in <40e42a37fb7e435b80aa70e396a461cb>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0
Someone could tell me why and how to solve it?
[Error] Failed to call hook 'OnPlayerInput' on plugin 'AntiOfflineRaid v0.4.2' (NullReferenceException: Object reference not set to an instance of an object)Not An Issue
was this a one off or are you still seeing this?
I have already restarted and updated the server several times and it keeps happening.
It is impossible to keep the server open with that infinite error.
Already today I gave up.
Tomorrow I'll try to see if it's still the same.
Merged post
Said error happened just after upgrading to Oxide (legacy) v2.0.5297.
I don't know if that has something to do with it.
Merged post
I had to remove the plugin for now until there is a solution to this problem because the console keeps repeating the error infinitely.
Merged post
The error happens when a player is raiding a base.
I have raidable bases on my server.
I do not know if that may also be influencing.
are you using the free raidable bases or the paid one.. I am running the paid one and do not see this issue you show..
Discarded that they are the raidable bases then.
Merged post
Problem finally solved.
Merged post
The problem was that it only deleted the AntiOfflineRaid.cs file in the plugins folder.
Tried deleting AntiOfflineRaid.json file in config and antiofflineraid.json file in data as well.
I installed the AntiOfflineRaid.cs again and it was fixed.
Merged post
Thank you very much and sorry for the inconvenience caused.
Greetings to all.