this post was submitted on 27 Apr 2024
304 points (97.5% liked)
Gaming
20010 readers
671 users here now
Sub for any gaming related content!
Rules:
- 1: No spam or advertising. This basically means no linking to your own content on blogs, YouTube, Twitch, etc.
- 2: No bigotry or gatekeeping. This should be obvious, but neither of those things will be tolerated. This goes for linked content too; if the site has some heavy "anti-woke" energy, you probably shouldn't be posting it here.
- 3: No untagged game spoilers. If the game was recently released or not released at all yet, use the Spoiler tag (the little ⚠️ button) in the body text, and avoid typing spoilers in the title. It should also be avoided to openly talk about major story spoilers, even in old games.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.