1. Code:
    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
    I get spammed this error

    btw it's this line local playerCoords = self.DynData[userID].lastknownposition
    I haven't changed anything in this function
     
  2. How reload the plugin ?
     
    Last edited by a moderator: Jan 9, 2015
  3. oxide.reload r-AntiCheat
    in the console
     
  4. Thank you))
    You fix plugin ?
     
  5. the plugin isnt broken
     
  6. Okey, but i have many errors from your plugin.

    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
    this Second
    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
    And this third
    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
  7. 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. :)
     
  8. I delete uControl plugin, how fix problem ?
     
  9. the problem with r-anticheat is just that you need to reload when it does this error:
    oxide.reload r-AntiCheat
    in the console
     
  10. I get tired
    Every 5 min i must enter this command
    [DOUBLEPOST=1420913074][/DOUBLEPOST]Sometimes, i can't reload plugin
     
  11. normally it's only once on server restart.
     
  12. 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
     
  13. /ac_reset
     
  14. 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
     
  15. So,... Any help. :)

    KR,

    MADE
     
  16. 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'
    Here is my config:
    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
    }
    Kind Regards,

    MADE
     
    Last edited by a moderator: Feb 24, 2015
  17. yes it's normal it means that he lagged and was detected 1 time out of 2
     
  18. 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?
     
  19. So far as I know, You would have to give every user you want to use /ac_reset rcon access. Reneb would know more!
     
  20. 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.