Multiplayer standalone server

Describe your experience with the latest version of FreeOrion to help us improve it.
Forum rules
Always mention the exact version of FreeOrion you are testing.

When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Post Reply
Space Squid
Posts: 67
Joined: Sat Nov 08, 2014 3:44 pm

Multiplayer standalone server

#1 Post by Magnate » Sat Sep 29, 2018 2:43 pm

Hi all,

I'm considering using the freeoriond standalone server, but I notice that it's sensitive to player disconnection. Is there any way to change this? The big advantage of a standalone server is that I could leave it running on a server that runs 24/7, and players could connect and do turns as and when (like the Dominions games if anyone plays those). The important thing is that they can disconnect and reconnect without the server crashing or terminating or restarting, the server needs to just wait until all the turns are in and then progress to the next turn, whether players are connected or not.

I'm guessing this might be a significant piece of work to modify the current server code, if it assumes all players will remain connected for the entire game?

I ask because my friends and I can manage about 100 turns in an evening, but not a whole game, and the late game would be far nicer played asynchronously, because we can then take our time without boring each other.


Space Kraken
Posts: 178
Joined: Sat Dec 10, 2011 5:46 am

Re: Multiplayer standalone server

#2 Post by o01eg » Sat Sep 29, 2018 7:32 pm

I've already planned this to implement and it requires to change not only server code but client code as well.
Gentoo Linux x64, gcc-7.3, boost-1.65.0
Ubuntu Server 18.04 x64, gcc-7.3, boost-1.65.1
Welcome to multiplayer server at 0.4.8
Donates are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

Post Reply