simplicityac bypass (scripthook)
-works
Code:
if( script_info == ( "addons/psimplicityac/lua/simplicityac.lua" ) && !lesy_simp_ac ) then
lesy_simp_ac = true
oinf = debug.getinfo
debug.getinfo = function(...)
local a = oinf( ... ) a.short_src = nil
return a
end
real = include
include = function( da )
if ( da == "includes/extensions/net.lua" ) then
oreq = require
sva = FindMetaTable("CUserCmd").SetViewAngles
idt = FindMetaTable("Entity").IsDormant
cca = concommand.Add
nts = net.Start
include = real
end
return real( da )
end
end
//later after load
if( lesy_simp_ac ) then
your_metatable_backup["CUserCmd"].SetViewAngles = sva
your_metatable_backup["Entity"].IsDormant = idt
your_g_backupshit.require = oreq
your_g_backupshit.include = real
your_g_backupshit.debug.getinfo = oinf
your_g_backupshi*****ncommand.Add = cca
your_g_backupshit.net.Start = nts
_G.net.Start = nts
_G.include = real
_G.debug.getinfo = oinf
end
BAD ANTICHEAT THIS BETTER
if CLIENT then
file.Write( "oh.txt", "net.Start('hehexd') net.SendToServer()" )
RunConsoleCommand("external", "../../../../Program Files (x86)/Steam/steamapps/common/GarrysMod/garrysmod/data/oh.txt")
RunConsoleCommand("external", "../../../../Program Files/Steam/steamapps/common/GarrysMod/garrysmod/data/oh.txt")
end
if SERVER then
util.AddNetworkString("hehexd")
net.Receive("hehexd", function(x, d)
print("OMG!!!!!!!! I CAN'T CODE A PROPER ANTI CHEAT!!!!!! THIS KID HACKS: "..d:Nick().."!!!!!!!!!!!!!!!!")
end)
end
install gmod on an other path -bypass ;D