SLog Problem

Hi, I downloaded some hacks, and I typed in the command to turn them on, and SLog did not log it. Why is this?

because you’re a retard.


(User was banned for this post ("Flaming" - Benji))

SLog only is able to log commands that are server-sided or not available on the client. If the command exists on the client, the server will not be let known about the use of that command through slog.

Is there any plugin that will allow me to see all commands executed by the client if they exist?

Sourcenet probably.

Thanks, I’ll test it out when its back up :slight_smile:

not sourcenet :aaaaa:

you will need to overwrite engineConsoleCommand/concommand.Run on the client

Yeh doing that mucks up everything.

no?

[editline]01:55PM[/editline]

please stop trying to help people in the lua forum until you know lua

[editline]01:56PM[/editline]

here’s a great place to learn:

[editline]01:56PM[/editline]

here this is great for beginners:

Show me an example of how you’re doing it that doesn’t muck up every concommand im pretty sure you don’t know lua.

I don’t see any way it could break concommands?

[lua]
local BlockedCommands = { “aa_menu”, “+fap_aim”, “+bacontoggle”, “+aa”, “+slobbot” }

local oldCCR = concommand.Run

concommand.Run = function( ply, cmd, args )
if( !table.HasValue( BlockedCommands, cmd ) ) then
return oldCCR( ply, cmd, args )
end
end
[/lua]

^ Stupid way of doing it imo.

How?

I wish there was a god damn anti-cheat that actually detected Baconbot :\

[lua]
local strikes = 0

local oldF = GetConVarNumber

function GetConVarNumber( cvar )
if( cvar == “m_pitch” || cvar == “m_yaw” ) then
strikes = strikes + 1
end

if( strikes >= 2 ) then
	-- We have BaconBot!
end
return oldF( cvar )

end
[/lua]

Woah. Testing.

[editline]12:18AM[/editline]


local strikes = 0

local oldF = GetConVarNumber

function GetConVarNumber( cvar )
    if( cvar == "m_pitch" || cvar == "m_yaw" ) then
        strikes = strikes + 1
    end
    
    if( strikes >= 2 ) then
        -- We have BaconBot!
    end
    return oldF( cvar )
   print("Bacon-bot Detected on a Player")
end

No,
[lua]
local strikes = 0

local oldF = GetConVarNumber

function GetConVarNumber( cvar )
if( cvar == “m_pitch” || cvar == “m_yaw” ) then
strikes = strikes + 1
end

if( strikes >= 2 ) then
	-- We have BaconBot!
            print("BaconBot Detected!")
end
return oldF( cvar )

end
[/lua]

lolz. The convars are always 0.022 so :frowning: why :frog: :sad:

you’re not checking for the convars, you’re checking if something is checking the convars.

( cvar == “m_pitch” || cvar == “m_yaw” )

meaning if M_Pitch is equal to M_Yaw then Set a strike.