• Anti-Cheat Discussion Thread 2
    418 replies, posted
Please don't derail this one Does anyone have the code from the OP of the sethhack thread? he blanked the first post.... So. here's the 206 SethHack Users posted in the other thread [URL]http://pastebin.com/4Eu0ZkC9[/URL] Here's HeX's AntiCheat talked about in the other thread, that was accompanied by a SS of Seth being made [URL]http://pastebin.com/FKuJddhV[/URL] uh. on my laptop right now and dropbox apparently didn't sync else I'd post my lazy mode anticheat on here basically, it's this that I grabbed from Hex's and had some fun with [lua] local function Useless() RunConsoleCommand("say", "AHH!!!! MY PENIS IS ON FIRE AHHHHHH!") end RunString = Useless RunStringEx = Useless Runstring = Useless CompileString = Useless Compilestring = Useless CompileFile = Useless Compilefile = Useless WFC111255 = Useless LoadString = Useless loadstring = Useless setfenv = Useless getfenv = Useless concommand.GetTable = Useless hook.GetTable = Useless [/lua] pretty simple, semieffective, mildly hillarious
Found this in my Lua dump. [url]http://dl.dropbox.com/u/8845827/Lua%20Files/hac.lua[/url]
Oh well, i guess it was bound to find it's way onto FP eventually :(
[QUOTE=mfsinc;33477839]Oh well, i guess it was bound to find it's way onto FP eventually :([/QUOTE] Just glanced through it and tested it against my anti-cheat test. It's really neat and it has some fun features :v: (You have an error though, on line 1622 you need to remove the slash from Where = "/". Otherwise your clients get this error: [lua\includes\enum\hac.lua:1782] Lua file rights error. A script tried to access the file "[NH]Core.luaa". Your current rights only allow access to files in GMod's base folder.)
[QUOTE=raBBish;33478250]Just glanced through it and tested it against my anti-cheat test. It's really neat and it has some fun features :v: (You have an error though, on line 1622 you need to remove the slash from Where = "/". Otherwise your clients get this error: [lua\includes\enum\hac.lua:1782] Lua file rights error. A script tried to access the file "[NH]Core.luaa". Your current rights only allow access to files in GMod's base folder.)[/QUOTE] Both these versions are quite old, the latest one ([url=http://puu.sh/9wPh]HAC106[/url], [url=http://puu.sh/9wQg]Logo[/url]) doesn't error and is a lot better than the old one.
[QUOTE=mfsinc;33478469]Both these versions are quite old, the latest one ([url=http://puu.sh/9wPh]HAC106[/url], [url=http://puu.sh/9wQg]Logo[/url]) doesn't error and is a lot better than the old one.[/QUOTE] I want to test it with my anti-cheat ignorer [img]http://www.facepunch.com/fp/emoot/argh.gif[/img] I'm not really sure of your commands' arguments, but I believe it ignored your old version successfully.
[QUOTE=raBBish;33478525]I want to test it with my anti-cheat ignorer [img]http://www.facepunch.com/fp/emoot/argh.gif[/img] I'm not really sure of your commands' arguments, but I believe it ignored your old version successfully.[/QUOTE] Join my DM server if you like, but if it detects cheats you rocket into the air and explode. 92.19.145.138:27015
[QUOTE=mfsinc;33478627]Join my DM server if you like, but if it detects cheats you rocket into the air and explode. 92.19.145.138:27015[/QUOTE] I tried to join your server last night using gmod.game-host.org:27015 and I kept timing out I might've had PeerBlock on though...
Does it ban too ? or log or w/e ?
[QUOTE=DylanWilson;33479730]I tried to join your server last night using gmod.game-host.org:27015 and I kept timing out I might've had PeerBlock on though...[/QUOTE] Hmm, can you access [url]http://gmod.game-host.org/server/motd.html[/url] (that runs on the same box) [editline]28th November 2011[/editline] [QUOTE=frosty802;33479783]Does it ban too ? or log or w/e ?[/QUOTE] Yes, depends what it finds though. Some stuff it just logs and tells admins.
[QUOTE=mfsinc;33479819]Hmm, can you access [url]http://gmod.game-host.org/server/motd.html[/url] (that runs on the same box) [editline]28th November 2011[/editline] Yes, depends what it finds though. Some stuff it just logs and tells admins.[/QUOTE] sure can, must've been PeerBlock, I'll get on in a bit
Hmm well I went on there, seems that you didn't have scriptenforcer so my anti-cheat was conflicting with yours causing a bit of lag and that so I might have been added to the ban list because of that. I sent you a PM as I am confused about something.
[QUOTE=frosty802;33487524]Hmm well I went on there, seems that you didn't have scriptenforcer so my anti-cheat was conflicting with yours causing a bit of lag and that so I might have been added to the ban list because of that. I sent you a PM as I am confused about something.[/QUOTE] I saw you join, and yes there was a ban for a few things (now removed, they're only 15 mins long). Your AC did conflict with mine and trigger a few false positives, but i never have SE enabled cause i like people to be able to use their own scripts (except cheats).
Ah well it was blocking RunConsoleCommand because it was detected it had been overwritten and wasn't a C function. It was angry about some other functions. Basically your server would have been kicked ;p *some other things* ? That be by chance the suspicious items we spoke about?
Other thread got closed, let's come over here guys.
Hex anti-cheat is a horrible approach of doing stuff. It uses functions that every cheat has hooked/patched and scans using a blacklist.
[QUOTE=frosty802;33494243]Ah well it was blocking RunConsoleCommand because it was detected it had been overwritten and wasn't a C function. It was angry about some other functions. Basically your server would have been kicked ;p *some other things* ? That be by chance the suspicious items we spoke about?[/QUOTE] Yes
[QUOTE=DylanWilson;33475776]Please don't derail this one Does anyone have the code from the OP of the sethhack thread? he blanked the first post.... So. here's the 206 SethHack Users posted in the other thread [URL]http://pastebin.com/4Eu0ZkC9[/URL] Here's HeX's AntiCheat talked about in the other thread, that was accompanied by a SS of Seth being made [URL]http://pastebin.com/FKuJddhV[/URL] uh. on my laptop right now and dropbox apparently didn't sync else I'd post my lazy mode anticheat on here basically, it's this that I grabbed from Hex's and had some fun with [lua] local function useless() RunConsoleCommand("say", "AHH!!!! MY PENIS IS ON FIRE AHHHHHH!") end RunString = Useless RunStringEx = Useless Runstring = Useless CompileString = Useless Compilestring = Useless CompileFile = Useless Compilefile = Useless WFC111255 = Useless LoadString = Useless loadstring = Useless setfenv = Useless getfenv = Useless concommand.GetTable = Useless hook.GetTable = Useless [/lua] pretty simple, semieffective, mildly hillarious[/QUOTE] Function names are case sensitive. You defined the function "useless" but set all the other functions to a nil variable "Useless".
[QUOTE=Hentie;33495081]Function names are case sensitive. You defined the function "Useless" but set all the other functions to a nil variable "useless".[/QUOTE] oops, that was something I typed up real quick cause I was on my laptop, my real code works lol
You made that? Its very simular to an older version of HeX Anti-Cheat I have. [URL=http://p.imgtube.net/KFzKq.png][IMG]http://p.imgtube.net/KFzKq.png[/IMG][/URL]
btw, since my hack runs before init.lua and enum.lua ( It's ran inside init.lua, but before everything else ), I just require the libraries I need. [lua]if SERVER then return end MsgN("Henry Hacks Initiated!") local hax = {} local hook = require ( "hook" ) local concommand = require ( "concommand" ) require ( "player_manager" ) require ( "gamemode" ) local lockon = false local lockonent local hax_team = CreateClientConVar("hax_team", "1", false, false) local emeta = FindMetaTable("Entity") for k,v in pairs(emeta) do emeta["HAX"..k] = v end local pmeta = FindMetaTable("Player") for k,v in pairs(pmeta) do pmeta["HAX"..k] = v end function hax.drawStuff() cam.Start3D(LocalPlayer():HAXEyePos(), LocalPlayer():HAXEyeAngles()) for k,v in pairs(ents.GetAll()) do if ((v:IsNPC()) or (v:IsPlayer() and v:Alive() and v != LocalPlayer())) then cam.IgnoreZ(true) render.SuppressEngineLighting(true) v:DrawModel() render.SuppressEngineLighting(false) cam.IgnoreZ(false) end end cam.End3D() end hook.Add("RenderScreenspaceEffects", "haxdrawstuff", hax.drawStuff) hax.npcstate = {} hax.npcstate[-1] = "invalid" hax.npcstate[0] = "none" hax.npcstate[1] = "idle" hax.npcstate[2] = "alert" hax.npcstate[3] = "combat" hax.npcstate[4] = "script" hax.npcstate[5] = "playdead" hax.npcstate[6] = "prone" hax.npcstate[7] = "dead" function hax.paintstuff() if !GAMEMODE:HUDShouldDraw("CHudDeathNotice") then GAMEMODE:DrawDeathNotice( 0, 0 ) end for k,v in pairs(ents.GetAll()) do if (v:IsNPC() or v:IsPlayer()) and v != LocalPlayer() then local scrpos = v:LocalToWorld(v:OBBCenter()):ToScreen() local str = "Entity!" local col = Color(255,255,255,255) if v:IsPlayer() then str = v:GetName().." "..v:Health() col = team.GetColor(v:Team()) end if v:IsNPC() then str = v:GetClass() end draw.SimpleText(str, "DefaultSmallDropShadow", scrpos.x, scrpos.y, col, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) end end end hook.Add("HUDPaint", "haxpaintsomestuff", hax.paintstuff) function hax.CreateMove(ucmd) if lockonent and lockon then if lockonent:IsValid() then if lockonent:IsPlayer() then if lockonent:Health() <= 0 then return end end local pos = lockonent:HAXLocalToWorld(lockonent:OBBCenter()) if lockonent:HAXLookupAttachment("eyes") then if lockonent:HAXGetAttachment(lockonent:HAXLookupAttachment("eyes")) then pos = lockonent:HAXGetAttachment(lockonent:HAXLookupAttachment("eyes")).Pos end end a = (pos - LocalPlayer():HAXEyePos()):Angle() ucmd:SetViewAngles( a ) end end end hook.Add("CreateMove", "haxpaintsomaestuff", hax.CreateMove) local function getfilt() local filt = {} for k,v in pairs(player.GetAll()) do if v:IsPlayer() and (v:Team() == LocalPlayer():Team() and hax_team:GetInt() == 1) then table.insert(filt,v) end end table.insert(filt,ents.GetByIndex(0)) return filt end function hax.lockon(cmd,args) local ply = LocalPlayer() local pos = ply:HAXGetShootPos() local ang = ply:HAXGetAimVector() local tracedata = {} tracedata.start = pos tracedata.endpos = pos + ( ang * 9000 ) tracedata.filter = getfilt() tracedata.mask = CONTENTS_SOLID + CONTENTS_MONSTER + CONTENTS_HITBOX local trace = util.TraceLine( tracedata ) if trace.HitWorld then MsgN(trace.Entity) end if trace.Entity then if trace.Entity:IsPlayer() or trace.Entity:IsNPC() then lockonent = trace.Entity lockon = true end end end function hax.lockoff(cmd,args) lockon = false end concommand.Add("+hax_lockon",hax.lockon) concommand.Add("-hax_lockon",hax.lockoff) concommand.Add("lua_run_cl",function(cmd,args) print("> "..args[1]) RunString(args[1]) end)[/lua]
[QUOTE=I am God.;33494359]Other thread got closed, let's come over here guys.[/QUOTE] It didn't get closed? Just got moved to the general chat board. [url]http://www.facepunch.com/threads/1142690[/url]
[QUOTE=frosty802;33496253]It didn't get closed? Just got moved to the general chat board. [url]http://www.facepunch.com/threads/1142690[/url][/QUOTE] Garry opened it again i guess he likes the drama.
[QUOTE=Hentie;33496221]btw, since my hack runs before init.lua and enum.lua ( It's ran inside init.lua, but before everything else ), I just require the libraries I need. lolcode[/QUOTE] You posted your hacks code. Rule 1 of making hacks: Do, not, post, the, code.
[QUOTE=tazy4tazy;33497326]You posted your hacks code. Rule 1 of making hacks: Do, not, post, the, code.[/QUOTE] The problem with that is I want hacks to be detected :V
I should probably revive my hack I actually managed to implement nospread without the view shaking like hell, and an aimbot
So is there any way to stop seth hack that isn't patched?
[QUOTE=tostopagaben;33497786]So is there any way to stop seth hack that isn't patched?[/QUOTE] When it comes to detecting lua cheats there's almost always a way to do it.
[QUOTE=frosty802;33495894]You made that? Its very simular to an older version of HeX Anti-Cheat I have.[/quote] [QUOTE=DylanWilson;33475776] uh. on my laptop right now and dropbox apparently didn't sync else I'd post my lazy mode anticheat on here basically, it's this that I grabbed from Hex's and had some fun with [/QUOTE] read OP. i just retyped the function to be like mine
[QUOTE=tostopagaben;33497786]So is there any way to stop seth hack that isn't patched?[/QUOTE] I guess no-one reads / looks around anymore? [url]http://www.facepunch.com/threads/1143435[/url] That beats SH, afew false positives are known if it happens too much just remove the player kick parts and only pay attention to the messages that say "<player name>, has cheats" Maybe I should release an updated version.
Sorry, you need to Log In to post a reply to this thread.