Hi everyone . I got this mistake on my server and spam my console. Can you help me ? Thanks![]()
R-AntiCheat [Unmaintained]
Discussion in 'Plugin Support' started by Reneb, Dec 5, 2014.
-
Such lol
Killed one with remover and got this...
Code:[Oxide] 2:17 PM [Error] AntiCheat: NullReferenceException while calling OnTick: at (wrapper managed-to-native) UnityEngine.Component:get_transform () at Oxide.Plugins.AntiCheat.CheckAllPlayers (System.Collections.Generic.List`1 players) [0x00000] in <filename unknown>:0 at Oxide.Plugins.AntiCheat.OnTick () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 [Oxide] 2:17 PM [Error] AntiCheat: NullReferenceException while calling OnTick: at (wrapper managed-to-native) UnityEngine.Component:get_transform () at Oxide.Plugins.AntiCheat.CheckAllPlayers (System.Collections.Generic.List`1 players) [0x00000] in <filename unknown>:0 at Oxide.Plugins.AntiCheat.OnTick () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 [Oxide] 2:17 PM [Error] AntiCheat: NullReferenceException while calling OnTick: at (wrapper managed-to-native) UnityEngine.Component:get_transform () at Oxide.Plugins.AntiCheat.CheckAllPlayers (System.Collections.Generic.List`1 players) [0x00000] in <filename unknown>:0 at Oxide.Plugins.AntiCheat.OnTick () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 Qvoterpolist has left (disconnect) [Oxide] 2:17 PM [Error] AntiCheat: NullReferenceException while calling OnTick: at (wrapper managed-to-native) UnityEngine.Component:get_transform () at Oxide.Plugins.AntiCheat.CheckAllPlayers (System.Collections.Generic.List`1 players) [0x00000] in <filename unknown>:0 at Oxide.Plugins.AntiCheat.OnTick () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 [Oxide] 2:17 PM [Error] rustweb: NullReferenceException while calling OnTick: at (wrapper managed-to-native) UnityEngine.Component:get_transform () at dcodeIO.RustWeb.WebSocket.SendPlayerLocation (.BasePlayer player) [0x00000] in <filename unknown>:0 at dcodeIO.RustWeb.WebSocket.UpdateLocations () [0x00000] in <filename unknown>:0 at dcodeIO.RustWeb.RustWeb.Tick () [0x00000] in <filename unknown>:0 at Oxide.Rust.Plugins.RustWebPlugin.OnTick () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 [Oxide] 2:17 PM [Error] AntiCheat: NullReferenceException while calling OnTick: at (wrapper managed-to-native) UnityEngine.Component:get_transform () at Oxide.Plugins.AntiCheat.CheckAllPlayers (System.Collections.Generic.List`1 players) [0x00000] in <filename unknown>:0 at Oxide.Plugins.AntiCheat.OnTick () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
-
strange looks like a player disconnected without the plugin seeing the disconnection
reloading the plugin from the console should fix that: oxide.reload AntiCheat
thx i'll fix that later on. -
Not sure what's going on here Reneb:
Code:10:14 PM [Info] Loaded plugin AntiCheat v1.5.0 by Reneb & Fix by DieWildeBetty 10:14 PM [Error] AntiCheat: Exception while calling Loaded: Unexpected token at Oxide.Core.Configuration.KeyValuesConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0
Last edited by a moderator: Feb 8, 2015 -
resetting all your files should fix the problem:
config/AntiCheat.json
and data/AntiCheat_Data.json
then do: oxide.reload AntiCheat -
Works on new version of oxide, Reneb?
-
yes C# plugins didnt get touched by the oxide update
-
-
all of a sudden in my log im gettin flooded with these error messages
8:39 PM [Error] AntiCheat: NullReferenceException while calling OnTick:
at (wrapper managed-to-native) UnityEngine.Component:get_transform ()
at Oxide.Plugins.AntiCheat.CheckAllPlayers (System.Collections.Generic.List`1 players) [0x00000] in <filename unknown>:0
at Oxide.Plugins.AntiCheat.OnTick () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
8:39 PM [Error] AntiCheat: NullReferenceException while calling OnTick:
at (wrapper managed-to-native) UnityEngine.Component:get_transform ()
at Oxide.Plugins.AntiCheat.CheckAllPlayers (System.Collections.Generic.List`1 players) [0x00000] in <filename unknown>:0
at Oxide.Plugins.AntiCheat.OnTick () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 -
oxide.reload AntiCheat
-
unloaded, deleted data file and config, reloaded and got this
[Oxide] 6:52 AM [Error] AntiCheat: NullReferenceException while calling OnServerInitialized: Object reference not set to an instance of an object at Oxide.Plugins.AntiCheat.InitPlayer (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.AntiCheat.StartAll () [0x00000] in <filename unknown>:0 at Oxide.Plugins.AntiCheat.OnServerInitialized () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 -
i got that then i did it again and it was fine
-
> ac_reset
[Oxide] 7:57 AM [Error] AntiCheat: InvalidOperationException while calling cmdConsoleReset:
[Oxide] 7:57 AM [Error] AntiCheat: out of sync
at System.Collections.Generic.Dictionary`2+Enumerator[System.String,System.Object].VerifyState () [0x00000] in <filename unknown>:0
at System.Collections.Generic.Dictionary`2+Enumerator[System.String,System.Object].MoveNext () [0x00000] in <filename unknown>:0 -
Reneb updated R-AntiCheat with a new update entry:
doors are back, fixed ac_reset
-
Am I doing something wrong, I have Enhanced Ban System, then added the new Anticheat to my oxide/plugins folder, my server wont start, says:
r-AntiCheat plugin was compiled successfully in 155ms
then
Unable to find main plugin class: R-AntiCheat
I have removed all previous versions/data/json
Thanks in advance -
Because the plugin name must be: AntiCheat.cs
-
Thanks Renab
-
In the data\AntiCheat_Data.json I can see several lines in the format:
Code:"Steam64ID" : "XXXX"
Code:"7656119807486####": "0", "7656119804194####": "2489",
-
-
Just asking the plugins works properly ? no ban for laggers or sth ? i've read the descreption but just to be sure