3 ms·
Typically you send state, not inputs. To prevent cheating.
by kridsdale1 4mo ago
Typically you send state, not inputs. To prevent cheating.
- LoganDark 4mo agoHuh? If the server trusts the client to send state then the client could potentially send invalid or unfair state. If the client merely sends inputs then it can't just decide to manipulate the state that way.
- frollogaston 4mo agoHe means the server sends state to the clients, rather than sending other clients' inputs (or just P2P if no server). There are games that send inputs, which means if it's a game of limited information, clients know more than they should.
- LoganDark 4mo agoAh, I get it now. I actually know a game that sends inputs (I commented elsewhere in the thread, the game is Cosmoteer). But yes, most games I'm aware of send state.
- seba_dos1 4mo agoIt's sending inputs that makes preventing cheating easier.
- frollogaston 4mo agoSome genres of games (like RTS) typically do send inputs instead of state. Cheating is indeed possible.
- gafferongames 4mo agoCheating in the sense of breaking fog of war, because the client has to actually have the whole game state in memory due to deterministic synchronization. Yes.