Failed to call hook 'CheckOfflineStatus'


Hi, I have a problem when I load the plugin and try to execute one of the commands.

Failed to call hook 'CheckOfflineStatus' on plugin 'AntiOfflineRaid v1.0.2' (IndexOutOfRangeException: Index was outside the bounds of the array.)
at Oxide.Plugins.AntiOfflineRaid.CheckOfflineStatus (BasePlayer player, System.String command, System.String[] args) [0x0003f] in <a077b293b2904db7bd3561852160f479>:0
at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d67] in <a077b293b2904db7bd3561852160f479>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <18d4f19bbc844191b11ed9e69284d09b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <18d4f19bbc844191b11ed9e69284d09b>:0

I will look tonight. How are you calling the command?

Error occurs as soon as I execute /ao without argument in game chat. There is also an error when the plugin is loaded by the server.

Having same issues

tempest86

Having same issues

same here

I just saw this and tested /ao myself

 

Failed to call hook 'CheckOfflineStatus' on plugin 'AntiOfflineRaid v1.0.2' (IndexOutOfRangeException: Index was outside the bounds of the array.)
  at Oxide.Plugins.AntiOfflineRaid.CheckOfflineStatus (BasePlayer player, System.String command, System.String[] args) [0x0003f] in <f858e7a191204e2bb84e29230b656e0a>:0 
  at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00d67] in <f858e7a191204e2bb84e29230b656e0a>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0 

The Dev knows of this issue and has failed to fix it. Time to look for another one.