Open AnAkkk opened 11 years ago
I don't know if a cheat can be effectively blocked if you are attacking the cheat. Would some sort of NoTarget plugin or new server side cvar for dedicated servers help? If a cheat tracks hitboxes or uses bots aiming calculations, make the players in a dedicated server invisible to cheats, at least that is the theory, and leave that off in case that a server uses bots (for obvious reasons)
And what about compatibility with mods using speed ? :/
Keep using your plugin, ohh wait you can't since you want to block all commands ^^
To be serious, there are always hacks, they will find another way to do it. So keep it and ban hacker.
Speedhack exists because the server code that makes the player move is just exploitable. Speedhack is a game exploit that can be easily fixed, it was fixed in various other non valve games. There are also many plugins that can block it. If there is a proper anti-speedhack code, there is NO way around it.
@luckynator : This is not going to change anything for mods that modify the players speed, they work differently than speedhacking.
So speedhacks only exists for HL1? I doub it.
Where did I say that...seriously?
CS GO now has an anti speedhack. See:
-Added a server convar "sv_maxusrcmdprocessticks" to limit maximum number of user commands backlog, defaulting at 3; observed player speed by others will now always be within max movement speed even when user is cheating, experiencing high packet loss or exteremely low fps.
Could a similar one be added to HL1?
This has now been added to Orange Box engine as well.
HL1/CS already has some sort of anti-speedhack code, but it doesn't work correctly. All it does is making the speedhacker lag once a while.
As you can see, this was added a very long time ago:
Maybe the default value could be changed to really block speedhacks, or a real speedhack block could be added. There are already some plugins that do it correctly. Speedhacking works by sending more command packets than necessary, so it just needs detecting how much packets/sec a client is sending, and blocking him if he sends too much.
Old: https://github.com/ValveSoftware/steam-for-linux/issues/1188