ArgumentNullException at Player.IsConnectedSolved
Hello!

Getting this since last Rust update:

Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.3.6' (ArgumentNullException: Value cannot be null.
Parameter name: key)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <a8ed250850854b439cedc18931a314fe>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <a8ed250850854b439cedc18931a314fe>:0 
  at ListHashSet`1[T].Contains (T val) [0x00000] in <c4d064b82a9145e894df7306b1fbbd9b>:0 
  at Oxide.Game.Rust.Libraries.Player.IsConnected (BasePlayer player) [0x00000] in <2e418872a3444958b4c8f6d2168beadc>:0 
  at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsConnected () [0x00000] in <2e418872a3444958b4c8f6d2168beadc>:0 
  at Oxide.Plugins.AntiOfflineRaid.getClanMembersOnline (System.UInt64 targetID) [0x0001e] in <db3b516695cd4f43854b2e1d45dff3ee>:0 
  at Oxide.Plugins.AntiOfflineRaid.IsClanOffline (System.UInt64 targetID) [0x00000] in <db3b516695cd4f43854b2e1d45dff3ee>:0 
  at Oxide.Plugins.AntiOfflineRaid.OnStructureAttack (BaseEntity entity, HitInfo hitinfo) [0x00056] in <db3b516695cd4f43854b2e1d45dff3ee>:0 
  at Oxide.Plugins.AntiOfflineRaid.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x00022] in <db3b516695cd4f43854b2e1d45dff3ee>:0 
  at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00462] in <db3b516695cd4f43854b2e1d45dff3ee>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <efb9a8684e344ecfa065c7b416e6d2fd>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b0a93b504f034a0db8b1c3d2503c0987>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b0a93b504f034a0db8b1c3d2503c0987>:0 ​

Can you check? Thanks =)

Update Oxide, you're outdated.
Oh didn't notice a new update was out! My bad, thank you Wulf!
Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.3.7' (ArgumentNullException: Value cannot be null.
Parameter name: key)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <a8ed250850854b439cedc18931a314fe>:0
  at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <a8ed250850854b439cedc18931a314fe>:0  out
  at ListHashSet`1[T].Contains (T val) [0x00000] in <c4d064b82a9145e894df7306b1fbbd9b>:0
  at Oxide.Game.Rust.Libraries.Player.IsConnected (BasePlayer player) [0x00000] in <2e418872a3444958b4c8f6d2168beadc>:0
  at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsConnected () [0x00000] in <2e418872a3444958b4c8f6d2168beadc>:0
  at Oxide.Plugins.AntiOfflineRaid.getClanMembersOnline (System.UInt64 targetID) [0x0002f] in <900b571680214619b26cf02c82daa5fa>:0
  at Oxide.Plugins.AntiOfflineRaid.IsClanOffline (System.UInt64 targetID) [0x00000] in <900b571680214619b26cf02c82daa5fa>:0
  at Oxide.Plugins.AntiOfflineRaid.OnStructureAttack (BaseEntity entity, HitInfo hitinfo) [0x00056] in <900b571680214619b26cf02c82daa5fa>:0
  at Oxide.Plugins.AntiOfflineRaid.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x00022] in <900b571680214619b26cf02c82daa5fa>:0
  at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00462] in <900b571680214619b26cf02c82daa5fa>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <efb9a8684e344ecfa065c7b416e6d2fd>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b0a93b504f034a0db8b1c3d2503c0987>:0
Corrosive
Failed to call hook 'OnEntityTakeDamage' on plugin 'AntiOfflineRaid v0.3.7' (ArgumentNullException: Value cannot be null.
Parameter name: key)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <a8ed250850854b439cedc18931a314fe>:0
  at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <a8ed250850854b439cedc18931a314fe>:0  out
  at ListHashSet`1[T].Contains (T val) [0x00000] in <c4d064b82a9145e894df7306b1fbbd9b>:0
  at Oxide.Game.Rust.Libraries.Player.IsConnected (BasePlayer player) [0x00000] in <2e418872a3444958b4c8f6d2168beadc>:0
  at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.get_IsConnected () [0x00000] in <2e418872a3444958b4c8f6d2168beadc>:0
  at Oxide.Plugins.AntiOfflineRaid.getClanMembersOnline (System.UInt64 targetID) [0x0002f] in <900b571680214619b26cf02c82daa5fa>:0
  at Oxide.Plugins.AntiOfflineRaid.IsClanOffline (System.UInt64 targetID) [0x00000] in <900b571680214619b26cf02c82daa5fa>:0
  at Oxide.Plugins.AntiOfflineRaid.OnStructureAttack (BaseEntity entity, HitInfo hitinfo) [0x00056] in <900b571680214619b26cf02c82daa5fa>:0
  at Oxide.Plugins.AntiOfflineRaid.OnEntityTakeDamage (BaseCombatEntity entity, HitInfo hitInfo) [0x00022] in <900b571680214619b26cf02c82daa5fa>:0
  at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00462] in <900b571680214619b26cf02c82daa5fa>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <efb9a8684e344ecfa065c7b416e6d2fd>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b0a93b504f034a0db8b1c3d2503c0987>:0

Update Oxide; you're very outdated. Also, please see existing threads before posting an issue.

5e13a8d5b2bc5.jpg Wulf

Update Oxide; you're very outdated. Also, please see existing threads before posting an issue.

Queued up to apply on next restart

Locked automatically