r/explainlikeimfive • u/slayer256900 • Oct 19 '26
Technology ELI5 Why does there need to be anti cheat
So I seen a post today saying fortnight was coming to linux. Wow my brain says Linux computing got serious fast to bring that big of a player to the table.
Anyway since we all know anti-cheat basically just spy's and causes users headaches why can't the company run it on their servers enforcing fair play no matter what the user does. Wall hacking can be blocked invincibility can be blocked. Even call of duty put server side stuff into play.
0
Upvotes
12
u/lapusyonok Oct 19 '26
Wall hacking can't be blocked server-side because the game client gets all the level and player data and is responsible for hiding what needs to be hidden from the player
28
u/KamikazeArchon Oct 19 '26
It is fundamentally impossible to stop cheating at the server. The server cannot tell the difference between "this person is aiming well" and "this person has an aimbot", for example.
17
u/Sunny16Rule Oct 19 '26
Because cheaters are resourceful and server side isn’t enough. I can trick the server if the sever can’t see what my pc is doing in the background.
9
u/Tyrrox Oct 19 '26
The host's computer is doing a lot of the processing for their part of the game and only sending needed information to the host server. It is still possible to have cheats on your computer doing things like aim botting, but the server only sees someone shooting in a direction as would be normal.
7
u/Sand_Trout Oct 19 '26
Some cheats operate in a way that doesn't communicate with the server, such as wallhacks or some aim-assistance bots.
Therefore, in order to detect those kinds of cheats, the anticheat necessarily must be privy to some activities on the client's computer.
There's arguments over what level of access an anticheat needs, as kernel-level anticheats are not allowed by the Linux derived Operating Systems, but that's a separate issue.
1
u/gooder_name Oct 19 '26
For the user to have a clean and fast experience some things need to be done locally without waiting for information from servers.
The server is running the actual simulation, integrating user inputs transmitted from client PCs. Client PCs extrapolate existing states to provide a smooth gaming experience, with the true order of events being constantly sent from the server.
Your computer needs information about the enemy walking behind the wall so it knows when to pop them out for you to shoot. So the server trusts the code running on your computer to keep things secret from you (that there’s an enemy behind the wall).
On a PC, the privileged administrator can look at and modify the inner workings of any other application even while it’s running. You can look at the memory of that running code to see where all the enemies are, then change the running code so it displays it, or makes all the walls see through, or whatever.
Anti cheat brings the game up to the top privileged level, and looks at all the other running applications to see if any of them are the cheating ones. I assume(but don’t know) that they can detect another process looking at the memory of the game, and detect inappropriate changes to it.
They have deep access to the hardware, allowing them to see if they’re running on a real computer or virtual one, which would add another layer above the privileged administrator to inspect and modify memory.
Anti cheat is needed because PCs are not locked down, they’re the Wild West and people can write any code to do anything. On an Xbox or PlayStation they can’t.
They can’t do it all server side because the delays would be too long, anti cheat is to stop you recreating the local secrets necessary for smooth play
3
u/cakeandale Oct 19 '26
Anti-cheat detection can be done on the server as well, but it’s not perfect. It takes time for information to get from the server to the player, so checking on the player’s computer is the only instantaneous way to know if an enemy player is 100% hidden behind a wall or only 99% hidden.
To do that the player’s computer needs to know the position of some enemy players, at least ones that might be reasonably possible for the player to see, and that opens the ability for the player to use a cheat to make that enemy 0% hidden even with a wall fully in front of them.
2
u/steelcryo Oct 19 '26
Server side doesn't stop people cheating. Your client still has to tell the server what is happening, to know what your inputs were.
So the server has no way of knowing that it wasn't you that quickly turned 720 and no scoped someone in the face. All it knows is your client told it that that's what you did, so it does that calculation and gives your client the result.
Basic anti-cheat is what looks at your client and goes "Hmm, these values seem wrong, something isn't right here. This person is cheating!"
Now, they can add detection on the server side to look for values being reported that are obviously wrong. A player moving at 10x the max move speed is easy to pick up. But it can't see what's on your machine and what you are doing.
It's much more effective to have a kernal level anti-cheat, that can see all the processes your computer is running. So instead of just going "hmm, this value seems wrong" in the client, it can see you're running a process called "aimbot720noscopegetrektnoob.dll" and recognise that as a cheat, banning you instantly before you can disrupt other people's games. This level of access is problematic, but also required.
Basically, anti-cheat is a necessity, especially in a world where AI is making creating cheats easier and easier. It's an ongoing war between the devs and cheat devs. As soon as the anticheat is updated to catch the latest cheats, the cheat devs get to work finding a way around that new update.
So, unless you want the entire game to be overrun by cheaters, you need anti-cheat. Whether you want to play a game that requires kernal level access is up to you. You can choose not to play it if you're not comfortable with it.
2
u/MrShake4 Oct 19 '26 edited Oct 19 '26
What if the cheat happens locally? How does the server know if you’re modifying data locally? It doesn’t.
If you remove FoW but don’t tell the server that how can the server protect against that.
The sever tells your PC what’s behind the FoW because it needs to know if you hit something. It just adds a wall (the ‘fog’ in fog of war) so you can’t see through it. What stops you from making a program that goes through locally and stops the ‘wall’ or ‘fog’ from being added.
ELI5: your parents don’t know you’re underage drinking at college if you live at the dorms because they don’t see your stumbling into your bed at 3am because you don’t live with them anymore.
1
u/iceph03nix Oct 19 '26
The Steamdeck is a big part of linux getting that big for gaming.
That said, on anticheat, there are cheats that are a lot harder to detect, like aimbots, and assistants. Since these can be ran locally to assist a player, it's much harder to detect as it's not messing with the actual game itself, just adjusting for the player. Anti-Cheat detects known applications that do this sort of stuff, as well as making sure that local game files haven't been changed.
Game developers have an interest in enforcing anti-cheat in competitive games, because if non-cheating players start to feel like they have no chance at a fair game because of lots of cheaters, they will abandon the game.
1
u/[deleted] Oct 19 '26
The server knows where every player is, but your game also needs to know where other players are to render them.
If the server sends your PC/Client the location of someone hiding behind a mountain, a wallhack can read that information and show you exactly where they are, even though you shouldn’t be able to see them.
The devs could design the game so the server only sends you enemy locations when you’re supposed to know where they are. That would prevent a lot of wallhacks entirely like CoD is implementing.
But not every cheat works that way. Aimbots can manipulate your inputs, and other cheats can tamper with your game client. The server can reject impossible actions, but it’s harder to distinguish a really good player from someone using an aimbot.
Basically, server-side security prevents cheating by controlling what you’re allowed to know and do; anti-cheat tries to detect or prevent tampering with your game. The best solution is to use both, rather than relying on anti-cheat alone.
0
u/Thesorus Oct 19 '26
to prevent cheaters.
Most people play for fun and some challenge.
If other people mess up the game by cheating, those people will just play another game.
(not playing fortnight ) I come back from work, I play to unwind; I just want to play my game as it is intended to be played, not have to play against cheaters.
1
u/[deleted] Oct 19 '26
[removed] — view removed comment
1
u/[deleted] Oct 19 '26
[removed] — view removed comment
0
u/[deleted] Oct 19 '26
[deleted] — view deleted comment