While working on https://github.com/freeorion/freeorion/pull/2364 there is found other issue.
Currently the server acts as active and request incomplete turn orders from clients. It prevents clients from going offline while playing game so I'm going to make the server passive in receiving turn orders.
It requires to make client active in sending incomplete turn orders. I propose to made next step in https://freeorion.org/forum/viewtopic.php?f=6&t=10915 and split readiness from sending orders.
Player make orders and then "commit" them into the server. But while he don't make itself ready turn won't advance and committed orders won't be executed but still them could be saved.
Incomplete turn orders sending to the server
Moderator: Oberlus
Incomplete turn orders sending to the server
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Incomplete turn orders sending to the server
The player shouldn't need to manually "commit" orders separately from marking themselves done / ending the turn.
The clients could send orders every time one is issued, though.
The clients could send orders every time one is issued, though.
Re: Incomplete turn orders sending to the server
Then it better to have partial turn update message so client will send only added and removed orders instead of entire turn order set. Entire turn order set will be sent only on complete turn to prevent desyncs.Geoff the Medio wrote: ↑Wed Jan 30, 2019 10:58 am The player shouldn't need to manually "commit" orders separately from marking themselves done / ending the turn.
The clients could send orders every time one is issued, though.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm