Multiplayer standalone server

Describe your experience with the latest version of FreeOrion to help us improve it.

Moderators: Oberlus, Oberlus

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
Message
Author
Magnate
Dyson Forest
Posts: 217
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.

CC

o01eg
Programmer
Posts: 544
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 https://github.com/freeorion/freeorion/issues/2243 and it requires to change not only server code but client code as well.
Gentoo Linux x64, gcc-9.2, boost-1.71.0
Ubuntu Server 18.04 x64, gcc-7.4, boost-1.65.1
Welcome to slow multiplayer game at freeorion-lt.dedyn.io. Version 2019-11-17.58f0b8e.
Donates are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

Magnate
Dyson Forest
Posts: 217
Joined: Sat Nov 08, 2014 3:44 pm

Re: Multiplayer standalone server

#3 Post by Magnate » Sat Nov 17, 2018 8:37 pm

Excellent news! When I have some free time I'll help out - I'm retiring in about 19 years!

o01eg
Programmer
Posts: 544
Joined: Sat Dec 10, 2011 5:46 am

Re: Multiplayer standalone server

#4 Post by o01eg » Thu Mar 07, 2019 6:33 pm

Hi, are you still into game? I've mostly finished implementation of this standalone server: https://github.com/freeorion/freeorion/issues/2243
Gentoo Linux x64, gcc-9.2, boost-1.71.0
Ubuntu Server 18.04 x64, gcc-7.4, boost-1.65.1
Welcome to slow multiplayer game at freeorion-lt.dedyn.io. Version 2019-11-17.58f0b8e.
Donates are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

o01eg
Programmer
Posts: 544
Joined: Sat Dec 10, 2011 5:46 am

Re: Multiplayer standalone server

#5 Post by o01eg » Wed May 01, 2019 10:09 am

Last piece to support this was merged! Now it possible to start standalone server without presences of players.
Gentoo Linux x64, gcc-9.2, boost-1.71.0
Ubuntu Server 18.04 x64, gcc-7.4, boost-1.65.1
Welcome to slow multiplayer game at freeorion-lt.dedyn.io. Version 2019-11-17.58f0b8e.
Donates are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

Post Reply