I get spammed this errorCode:9:43 AM: ERROR: Error in timer (r-AntiCheat) : NLua.Exceptions.LuaScriptException: [string "r-AntiCheat.lua"]:348: attempt to index field '?' (a nil value) at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Main+<>c__DisplayClass6.<lua_NewTimer>b__4 () [0x00000] in <filename unknown>:0
btw it's this line local playerCoords = self.DynData[userID].lastknownposition
I haven't changed anything in this function
R-AntiCheat [Unmaintained]
Discussion in 'Plugin Support' started by Reneb, Sep 9, 2014.
-
oxide.reload r-AntiCheat
in the console -
You fix plugin ? -
the plugin isnt broken
-
This first
Code:--- End of inner exception stack trace --- 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 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Plugin.CallFunction (NLua.LuaFunction func, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugin.Call (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.PluginManager.Call (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Main.Load () [0x00000] in <filename unknown>:0 at Oxide.Main..ctor () [0x00000] in <filename unknown>:0 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 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at Oxide.Plugin.CallFunction (NLua.LuaFunction func, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugin.Call (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.PluginManager.Call (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Main.Load () [0x00000] in <filename unknown>:0 at Oxide.Main..ctor () [0x00000] in <filename unknown>:0 : NLua.Exceptions.LuaScriptException: [string "ucontrol.lua"]:34: attempt to index field 'flags_plugin' (a nil value) at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [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
Code:mscorlib: System.ArgumentException: An element with the same key already exists in the dictionary. at System.Collections.Generic.Dictionary`2[System.String,NLua.LuaFunction].Add (System.String key, NLua.LuaFunction value) [0x00000] in <filename unknown>:0 at Oxide.Plugin.Load (System.String filename) [0x00000] in <filename unknown>:0 at Oxide.Main.Load () [0x00000] in <filename unknown>:0 at Oxide.Main..ctor () [0x00000] in <filename unknown>:0 at System.Collections.Generic.Dictionary`2[System.String,NLua.LuaFunction].Add (System.String key, NLua.LuaFunction value) [0x00000] in <filename unknown>:0 at Oxide.Plugin.Load (System.String filename) [0x00000] in <filename unknown>:0 at Oxide.Main.Load () [0x00000] in <filename unknown>:0 at Oxide.Main..ctor () [0x00000] in <filename unknown>:0
Code:6:44 PM: ERROR: Error in timer (r-AntiCheat) : NLua.Exceptions.LuaScriptException: [string "r-AntiCheat.lua"]:347: attempt to perform arithmetic on field 'y' (a string value) at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Main+<>c__DisplayClass6.<lua_NewTimer>b__4 () [0x00000] in <filename unknown>:0
Last edited by a moderator: Feb 24, 2015 -
First error is from uControl, second one is from two plugins using the same command and third one is from this one but shouldn't happen to often, might have been a bugged position of a player or something of that sort, unless it is doing that every 5 minutes I wouldn't worry too much.
-
-
the problem with r-anticheat is just that you need to reload when it does this error:
oxide.reload r-AntiCheat
in the console -
Every 5 min i must enter this command
[DOUBLEPOST=1420913074][/DOUBLEPOST]Sometimes, i can't reload plugin -
normally it's only once on server restart.
-
How do I wipe the logs on my anticheat? I want to re-check everyone every few hours but I don't know how to wipe the list
-
/ac_reset
-
Hi Reneb,
Maybe I missed something. There are commands for Console or just for chat?
Commands:
-/ac_check PLAYER=> check one player (reset his timer)
-/ac_checkall=> reset all timers of ONLINE players
-/ac_reset => to wipe the database and reset the timer for everybody
Is it possible to have Console commands?
Thanks in advance,
MADE -
KR,
MADE -
Hi Reneb,
Sorry, just one more question.
This guys was not banned. Is it right, since it happened in the same minute (2:46)?
Code:2:44 PM: [color #996600]Kluguer is walking too fast: 16 meters in 2 seconds. 2:44 PM: [color #996600]Kluguer is walking too fast: 16 meters in 2 seconds. 2:46 PM: [color #996600]Kluguer is walking too fast: 16 meters in 2 seconds. 2:46 PM: [color #996600]Kluguer is walking too fast: 16 meters in 2 seconds. 2:46 PM: [color #996600]Kluguer is walking too fast: 17 meters in 2 seconds. 2:46 PM: [color #996600]Kluguer is walking too fast: 18 meters in 2 seconds. 2:46 PM: [color #996600]Kluguer is walking too fast: 15 meters in 2 seconds. 2:46 PM: [color #996600]Kluguer is walking too fast: 17 meters in 2 seconds. 2:46 PM: User "Kluguer" disconnected with SteamID 'STEAM_0:1:xxxxxxxxxx'
Code:{ "NotifyInChat":true, "useAntiFlyhack":true, "useAntiBlueprintUnlocker":true, "PunishForCeilingSpawnRemoval":true, "FlyDetectionsForPunish":2, "PunishByKick":false, "AirdropAutoLootDetectionsForPunish":2, "NotifyAdmins":true, "Version":"1.5", "useAntiJumphack":true, "useAntiAirdropAutoLoot":true, "useAntiCeilingSpawnRemoval":true, "NotifyInChatName":"r-AntiCheat", "SpeedDetectionsForPunish":3, "JumpDetectionsForPunish":2, "timeofcheck":2700, "NotifyInConsole":true, "PermanentCheck":false, "PunishForBlueprintUnlocker":true, "useAntiWallSpeedHack":true, "PunishForAirdropAutoLoot":true, "useAntiSpeedhack":true, "PunishByBan":true }
MADELast edited by a moderator: Feb 24, 2015 -
yes it's normal it means that he lagged and was detected 1 time out of 2
-
Is there a way to give all player /ac_reset so when they think some one is hacking they can type it will auto ban the player?
-
So far as I know, You would have to give every user you want to use /ac_reset rcon access. Reneb would know more!
-
I've just tested it, if you give someone the oxmin flagg "all" (wouldn't recommend giving everyone it though, he he), they are also able to use /ac_reset and /ac_checkall. I'm currently checking the other flags.