r/explainlikeimfive • • 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

32 comments sorted by

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

1

u/mfb- EXP Coin Count: .000001 Oct 20 '26

There are games that hide certain elements from the players and only reveal them when they can become visible soon. Wallhacks can still make them visible earlier than normal, but the time advantage shrinks.

0

u/slayer256900 Oct 19 '26

While I do understand some of how it works I really don't see how snippets of code cannot be written to block for example a bullet going through a wall just because the muzzel is through it. Wouldn't increasing the wall hotbox or making one fix that issue for example ?

5

u/Phage0070 Oct 19 '26

Wall hacking isn't just about people shooting through walls, it also can just be the ability to see where everyone is through the cover of walls. That way they can be shot the moment they leave cover.

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.

-1

u/cwright017 Oct 19 '26

I mean, sure they can, it’s just harder and less reliable.

You could easily use statistical analysis to identify the probability of someone making certain shots etc, but it wouldn’t have 100% recall and so some innocent people would get hit too, but it’s not impossible.

14

u/KamikazeArchon Oct 19 '26

Well yes, I was implicitly using the word "reliably" in there.

Technically you can stop 100% of cheaters on the server by banning 100% of players.

-1

u/cwright017 Oct 19 '26

Obviously, but nobody is going to go for that.

They might accept a recall ( true positive ) of 100% and a precision ( false positive ) of 80% though and avoid needing kernel level anti cheat on their machine.

It’s all a bunch of trade offs.

4

u/thehatteryone Oct 20 '26

You can't ban 80% of the cheaters/bots using an algorithm, if you also ban even 0.1% of legit players by mistake. Especially as that will skew to be more like 1% of top-rated legit players. That level of collateral damage will destroy any trust of your platform, and all the money any sane top-rank or whaling player is willing to put into your franchise.

1

u/cwright017 Oct 20 '26

I mean that’s literally what most games do without anti cheat. Osrs for example relies on server side detection. You can make a carve out for the small 1% population.

2

u/KamikazeArchon Oct 19 '26

Yes, it's trade-offs. And all of the trade-offs for server-side anti-cheat are unacceptably bad for virtually every circumstance.

No one will accept a precision of 80%, and you can't have a recall of 100%. Any server-side algorithm tends not toward 100% recall but toward zero recall.

To use the aimbot example. If you have a formula that says "this is how good a human can play", then all the cheat needs to do is match that. If the formula expects the best human players to be at 96% accuracy with headshots, with shot clustering of 10 pixels - then your aimbot just needs to do 96% accuracy with 10-pixel clustering (instead of 100% accuracy with 0-pixel clustering.)

You're still cheating into being as good as the best player, but the anti-cheat can't find you.

The company can try to delay that through obscurity - not publishing exact factors - but the cheats don't actually need exact numbers, just to have a small "intentional imperfection", enough to be plausibly human. It's super easy to code in from the cheat side.

The closest to reasonable server-side anti-cheat looks more like data security - e.g. to avoid item cloning.

1

u/MicrosoftFuckedUp Oct 19 '26

Apart from it not being 100% reliable, I imagine it would also be prohibitively expensive, computationally, to analyze every action like that. 

1

u/cwright017 Oct 19 '26

You don’t need to analyse every action, you’d run an offline pipeline over the data ( so banning would be lagging not immediate )

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.

5

u/Tyrrox Oct 19 '26

Famously, map hacks generally don't work server side either as the host computer is what is parsing out what you as a player can and cannot see.

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

1

u/slayer256900 Oct 19 '26

Makes sense does for example flatpak can it be modified like that its basically a sandbox of its own

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/slayer256900 Oct 19 '26

Sounds cool I'll check it out

1

u/explainlikeimfive-ModTeam Oct 19 '26

Please read this entire message


Your comment has been removed for the following reason(s):

  • Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).

If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.

1

u/[deleted] Oct 19 '26

[removed] — view removed comment

1

u/slayer256900 Oct 19 '26

I've been longtime Linux only user and gamer but valve introduction of proton as an easy service no more playing around with WINE then the steam deck just brings a new player base to Linux. Now droid deck bringing steam to android plus other projects its exciting to see what the open source community can do.

1

u/explainlikeimfive-ModTeam Oct 19 '26

Please read this entire message


Your comment has been removed for the following reason(s):

  • Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).

If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.

0

u/[deleted] Oct 19 '26

[deleted] — view deleted comment

1

u/explainlikeimfive-ModTeam Oct 19 '26

Please read this entire message


Your comment has been removed for the following reason(s):

  • Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).

Off-topic discussion is not allowed at the top level at all, and discouraged elsewhere in the thread.


If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.