• ConVar Detection in Lua
    7 replies, posted
Hello. I'm currently making an anti-cheat for gmod and so far the progress is pretty good. The only thing that i'm struggling with is an convar detection in lua. I tried to return a clients convar value but that dosen't seem to be working anymore (I was using cheat engine to force change the convar). I was thinking of maybe using net.Send etc to actually test if a player can for example run a lua script but thats just an idea. If any of you know how to do it or if it's even possible, Please tell me.
Could you be more specific on what you're trying to detect? ConVar mismatch testing is as simple as networking the server's desired values to the client and comparing their convar values.
My bad, What im trying to detect is if a player has bypassed sv_allowcslua or sv_cheats. And the mismatching method is an old method. When bypassing the convars it dosent set the "normal" sv_allowcslua to 1 insted it stays at 0 and there for will be undetected.
[lua] cvars.AddChangeCallback("sv_cheats",function() banme(); end) RunConsoleCommand("sv_cheats",1) [/lua] lol
Thank you PyroFire!:D
convar detection is bad anti-cheat. Have cheats wich replace original names of ConVar
That's quite neat actually? ;o
Yup. I have this hack (for work). It's old and free
Sorry, you need to Log In to post a reply to this thread.