ZeroK-RTS / Chobby

Spring RTS Ingame lobby project
17 stars 38 forks source link

Implement server-less COOP multiplayer #138

Open Licho1 opened 7 years ago

Licho1 commented 7 years ago

Interface has been updated here https://github.com/ZeroK-RTS/Chobby/commit/447788023c9c5ff3fca80e964f9591a6c766a844

logic is following: 1) host opens skirmish/missions and gets ready to play 2) either host invites person, or person selects "join game" on your on steam, or invite happens entirely in steam 3) host gets SteamFriendjoinedMe to realize he will not play alone 4) host clicks start game, if you have clients tracked who joined you, send SteamHostGameRequest with this clients IDs 5) host waits for wrapper to respond with success or failure, if success launches spring 6) clients get SteamConnectSpring and launch spring

GoogleFrog commented 7 years ago

Chobby is not told its own SteamID.

Licho1 commented 7 years ago

It does not need it. For request you only send other users not self.