this post was submitted on 27 Apr 2024
312 points (97.6% liked)

Gaming

20006 readers
24 users here now

Sub for any gaming related content!

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] cbarrick@lemmy.world 8 points 6 months ago (1 children)

Cheating is such a hard problem.

Like, this is what leads to invasive client-side anti-cheat. Which also happens to be one of the main blockers for OS portability.

But if you make it so that the server has to constantly validate the game state, you get terrible lag.

You really have to design your game well to deter cheaters. And you have to empower server moderators to ban cheaters. This sorta implies releasing the servers so that communities can run their own instances, because these studios don't have the resources to handle moderation themselves.

[–] bountygiver@lemmy.ml 1 points 6 months ago* (last edited 6 months ago)

the validation shouldn't cause too much lag since game needs to sync up the game states anyways, which is an operation that is inherently way more expensive than any validation anyways (since each frame of the following game states need to adhere to the game rules anyways, there's already inherently some form of validation). It's more about not trusting everything the client says the game state should be.