Results 1 to 13 of 13
  1. #1
    niggerkiller420's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    0

    Rottweiler's Anti-Cheat

    Code:
    --[[
    
    	Rottweiler's Anti-Cheat
    	06/10/2015 18:13
    	
    ]]
    
    rac = rac or {};
    
    --Config
    rac.G = _G;
    rac.ProductName = "[Rottweiler's Anti-Cheat]";
    rac.CheckAdmins = false;
    rac.PrintServerConsole = true;
    rac.BadCVars = {"sv_cheats", "sv_allowcslua", "host_timescale"};
    rac.CVarChanged = rac.G.cvars.OnConVarChanged;
    rac.AddHook = rac.G.hook.Add;
    
    --Client
    if CLIENT then
    	function rac.SendUpdateVar(cmd, oldval, newval)
    		net.Start("rac_check")
    		net.WriteString(cmd)
    		net.WriteInt((oldval == nil and 0 or oldval), 32)
    		net.WriteInt((newval == nil and 0 or newval), 32)
    		net.SendToServer()
    	end
    	
    	cvars.OnConVarChanged = function(name, oldvalue, newvalue)
    		for k,v in pairs(rac.BadCVars) do
    			if (v == name) then
    				rac.SendUpdateVar(name, tonumber(oldvalue), tonumber(newvalue))
    			end
    		end
    		rac.CVarChanged(name, oldvalue, newvalue)
    	end
    	
    	function rac.InitializeClient()
    		for k,v in pairs(rac.BadCVars) do
    			rac.SendUpdateVar(v, 0, GetConVar(v):GetInt())
    		end
    	end
    	
    	net.Receive("rac_check", function(ln, ply)
    		rac.InitializeClient()
    	end)
    	
    	rac.InitializeClient()
    end
    
    --Server
    if SERVER then
    	AddCSLuaFile()
    	
    	util.AddNetworkString("rac_check")
    	
    	function rac.PrintAdmins(txt)
    		for k,v in pairs(player.GetAll()) do
    			if (IsValid(v) and v:IsPlayer()) then
    				if (v:IsAdmin() or v:IsSuperAdmin()) then
    					--v:ChatPrint(rac.ProductName .. " " .. pl:Name() .. " (" .. pl:SteamID() .. ") seems to have " .. cvar .. " enabled clientside")
    					v:ChatPrint(rac.ProductName .. " " .. txt)
    				end
    			end
    		end
    	end
    	
    	function rac.Initialize()
    		print(rac.ProductName .. " Initialized");
    	end
    	
    	function rac.Validate(ply, cmd, oldval, newval)
    		for k,v in pairs(rac.BadCVars) do
    			if (cmd == v and newval ~= GetConVar(cmd):GetInt()) then
    				if (rac.CheckAdmins) then
    					rac.Detected(ply, cmd, oldval, newval)
    				else
    					if (not ply:IsAdmin() and not ply:IsSuperAdmin()) then
    						rac.Detected(ply, cmd, oldval, newval)
    					end
    				end
    			end
    		end
    	end
    	
    	function rac.Detected(ply, cmd, oldval, newval)
    		rac.PrintAdmins(ply:Name() .. "'s " .. cmd .. " value varies from the server's. (It's set to " .. newval .. " client-side)");
    		if (rac.PrintServerConsole) then
    			print(ply:Name() .. "'s " .. cmd .. " value varies from the server's. (It's set to " .. newval .. " client-side)");
    		end
    	end
    	
    	function rac.ForceCheck(ply)
    		net.Start("rac_check");
    		net.Send(ply);
    	end
    	
    	rac.AddHook("PlayerInitialSpawn", "racPlayerSpawnMethod66", function(ply)
    		rac.ForceCheck(ply);
    	end)
    	
    	net.Receive("rac_check", function(ln, ply)
    		local cmd = net.ReadString();
    		local oldval = net.ReadInt(32);
    		local newval = net.ReadInt(32);
    		rac.Validate(ply, cmd, oldval, newval);
    	end)
    	
    	rac.Initialize()
    end

  2. #2
    rchr2940's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    how install

  3. #3
    Keepo123's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Location
    m͏̺͓̲̥̪is̷t̞̖͍͚̤k̥B̸̼&#81
    Posts
    84
    Reputation
    10
    Thanks
    163
    My Mood
    Yeehaw
    Why release an anti cheat on here, you'll just get the shit bypassed..

  4. The Following User Says Thank You to Keepo123 For This Useful Post:

    buckballs (02-08-2016)

  5. #4
    Alexmagno7's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    6
    Probably becose he wants exacly that. Dont you see its shared and he probably got it from a server?

  6. #5
    edgarasf123's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    53
    Code:
    timer.Create( "RacBypass", 1, 0, function() 
        if rac then
            rac.BadCVars = {}
            timer.Remove( "RacBypass" )
        end
    end )
    Last edited by edgarasf123; 01-20-2016 at 12:58 PM.

  7. #6
    Chief Gooby's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Posts
    47
    Reputation
    10
    Thanks
    17
    My Mood
    Cheeky
    Quote Originally Posted by edgarasf123 View Post
    Code:
    timer.Create( "RacBypass", 1, 0, function() 
        if rac then
            rac.BadCVars = {}
            timer.Remove( "RacBypass" )
        end
    end )
    What a shitty way to do something so simple. Just detour net.Start and don't send any results to the server. RAC isn't checking.

  8. #7
    Keepo123's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Location
    m͏̺͓̲̥̪is̷t̞̖͍͚̤k̥B̸̼&#81
    Posts
    84
    Reputation
    10
    Thanks
    163
    My Mood
    Yeehaw
    Quote Originally Posted by edgarasf123 View Post
    Code:
    timer.Create( "RacBypass", 1, 0, function() 
        if rac then
            rac.BadCVars = {}
            timer.Remove( "RacBypass" )
        end
    end )
    See......
    2short

  9. #8
    edgarasf123's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    53
    I see detouring as shittier way to do it.

  10. #9
    Chief Gooby's Avatar
    Join Date
    Nov 2015
    Gender
    male
    Posts
    47
    Reputation
    10
    Thanks
    17
    My Mood
    Cheeky
    Quote Originally Posted by edgarasf123 View Post
    I see detouring as shittier way to do it.
    That's okay. You'll figure out what you're doing someday.

  11. #10
    Matt0722's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    61
    Reputation
    10
    Thanks
    13
    If your really a scr0b lik me you bypass tings wit scripthook ( ͡° ͜ʖ ͡°)

    Code:
    --[[ 
    	Rottweiler's Anti-Cheat (RAC) 
            rikt by the src0b himself matt0722 topkek 
    --]]
    
    if (source:find("rac.lua") and script:find("rac.InitializeClient()")) then
    	return false
    end
    rekt scr0bs
    Last edited by Matt0722; 01-22-2016 at 01:20 PM.
    i am the autism

  12. The Following User Says Thank You to Matt0722 For This Useful Post:

    suchisgood (01-29-2016)

  13. #11
    tball146's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    rac.BadCVars = {}
    net.Start("rac_check",function() -- i suck at lua :(
    net.WriteString("your mom cause why not")

    net.SendToServer()
    end -- add a ) if this errors i get confused
    Last edited by tball146; 01-28-2016 at 07:27 PM.

  14. #12
    suchisgood's Avatar
    Join Date
    Feb 2014
    Gender
    female
    Posts
    902
    Reputation
    10
    Thanks
    560
    My Mood
    Angelic
    rac = nil lmao..

    - - - Updated - - -

    Quote Originally Posted by Matt0722 View Post
    If your really a scr0b lik me you bypass tings wit scripthook ( ͡° ͜ʖ ͡°)

    Code:
    --[[ 
    	Rottweiler's Anti-Cheat (RAC) 
            rikt by the src0b himself matt0722 topkek 
    --]]
    
    if (source:find("rac.lua") and script:find("rac.InitializeClient()")) then
    	return false
    end
    rekt scr0bs
    Yep bad way for an anticheat to put client stuff and server stuff together +rep

  15. #13
    Matt0722's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    61
    Reputation
    10
    Thanks
    13
    yep 10/10 ac why put server and client in the same file best ac ever

    -- off topic
    wanna know whats funny?

    every server ever now have the leaked version of CAC
    lmao cause ya know EVERY server owner is like a cheapo cause ya know
    i am the autism

Similar Threads

  1. [Request] tut for anti cheat bypassing
    By fatbox187 in forum Programming Tutorial Requests
    Replies: 1
    Last Post: 12-26-2015, 03:20 AM
  2. [Request]12 Sky 2 (has no anti cheat(e.g. punkbuster))
    By Stelthkid in forum Hack Requests
    Replies: 1
    Last Post: 02-06-2011, 05:17 AM
  3. [Request] Rune 1.00-1.03 Anti-Cheat (AntiTCCv2.3) Bypass
    By Druid in forum Anti-Cheat
    Replies: 0
    Last Post: 10-27-2009, 12:56 PM
  4. FMProtect, another anti-cheat....
    By wenddy in forum Anti-Cheat
    Replies: 2
    Last Post: 06-22-2008, 09:44 PM
  5. F**K the anti-cheat programs
    By Cr4azyPh4ntom in forum Anti-Cheat
    Replies: 1
    Last Post: 12-21-2007, 09:54 AM