Jump to content

Multi-player games and command channel encryption?


Recommended Posts

Hey Guys,

As you may know, most RTS multi-player games encrypt and authenticate their data channels (to prevent cheating, altering game state, etc.).

I was wondering when this feature will be implemented in 0 A.D.? Is there any plan to do this soon?

If there isn't, do you have any tips/suggestions of where and how to start for someone that might be interesting in doing this?

Thanks!

Link to comment
Share on other sites

If you protect your computer that's enough protection :D

Our network model is made so that only the player commands are send. From those commands, a deterministic game state is made, and every few turns, the states of the different players are compared.

Thus the state of other computers can't be altered directly from the network, but only by commands which are validated locally. And as a result, modifying the game state on other computers is practically impossible.

Though having "unintended cheats" (valid commands that aren't meant to be valid) is always possible, it can be fixed quickly when we notice one.

The only thing we can't prevent however, is data leaking. Since the entire game state is on the computer, and all data can be read without any part of the game noticing it, the game can be visualised completely, even when some parts should be fogged or otherwise unknown.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...