Multiplayer server up

For topics that do not fit in another sub-forum.

Moderator: Oberlus

Message
Author
o01eg
Programmer
Posts: 1998
Joined: Sat Dec 10, 2011 5:46 am

Multiplayer server up

#1 Post by o01eg »

After several week of polishing network code it's happening. First public multiplayer Freeorion server!

Join to freeorion-test.dedyn.io at default port and wait for the other players to play.

Based on 0.5 Release Candidate 2.
  • There are should be at least 2 human players to start the game.
  • 4 AI allowed.
  • Sends notification about entered player, notifications about started game, and chat messages to FreeOrion jabber conference.
  • Only Player client type allowed.
  • Autosaves are saved to folders based on Game UID.
  • Network messages restricted by size 10 MiB.
  • By default Random species are selected.
  • Cookies are alive 2 hours.
  • Chat saves messages between restarts.
  • AIs re-populate lobby from save game.
  • Empire statistics disabled.
  • Introduced in-game lobby for non-participant of current playing game.
  • Chat history shows 500 latest messages.
  • The server doesn't disclosure information about other empire's research and production. Player could only see other empires research if he researched it as well.
  • The server disallows to take over eliminated empire.
  • User authentication with OTP via XMPP and e-mail(no registration yet).
  • Users can take over AI player.
Rules changes:
  • Super Tester disabled.
  • Latest alive human player wins game.
  • Any player is allowed to concede.
Source code for server https://github.com/o01eg/freeorion/tree ... erver-v0.5

Website: http://freeorion-test.dedyn.io/ RSS
Last edited by o01eg on Tue Mar 07, 2023 9:12 pm, edited 68 times in total.
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-01-30.0dd6806.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

dbenage-cx
Programmer
Posts: 389
Joined: Sun Feb 14, 2016 12:08 am

Re: Multiplayer server up

#2 Post by dbenage-cx »

Very nice o01eg! Hope to try it very soon.

User avatar
The Silent One
Graphics
Posts: 1129
Joined: Tue Jul 01, 2003 8:27 pm

Re: Multiplayer server up

#3 Post by The Silent One »

Awesome really. Can't wait to try it out! :)
If I provided any images, code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0.

LGM-Doyle
Programmer
Posts: 219
Joined: Mon Feb 29, 2016 8:37 pm

Re: Multiplayer server up

#4 Post by LGM-Doyle »

Congratulations. I'm glad to see an ambitious change succeed.

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Multiplayer server up

#5 Post by Dilvish »

o01eg wrote:Only 1 AI allowed.
Is that an enforced rule, or just a guideline? Or maybe more specifically a SMAC rule but just a guideline for anyone else? Any idea what is the reasoning behind it?
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

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

Re: Multiplayer server up

#6 Post by o01eg »

Dilvish wrote:
o01eg wrote:Only 1 AI allowed.
Is that an enforced rule, or just a guideline? Or maybe more specifically a SMAC rule but just a guideline for anyone else? Any idea what is the reasoning behind it?
It's enforced rule due memory limitation. Each either server or AI process requires no less than 150 MB RAM.
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-01-30.0dd6806.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

User avatar
Vezzra
Release Manager, Design
Posts: 6090
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Multiplayer server up

#7 Post by Vezzra »

Nice!

Looks like 0.4.8 will be a bigger release than originally planned... :D

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

Re: Multiplayer server up

#8 Post by o01eg »

Version updated to 2018-01-29.13902ea.
Saves are now saved to "auto" subfolder.
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-01-30.0dd6806.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

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

Re: Multiplayer server up

#9 Post by o01eg »

Version updated to 2018-02-04.e8860a5.
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-01-30.0dd6806.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

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

Re: Multiplayer server up

#10 Post by o01eg »

Version updated to 2018-02-12.c8e8372.
Only Player client type allowed.
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-01-30.0dd6806.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

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

Re: Multiplayer server up

#11 Post by o01eg »

Version updated to 2018-02-19.77907e6.
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-01-30.0dd6806.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

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

Re: Multiplayer server up

#12 Post by o01eg »

Version updated to 2018-02-25.23a9904.
Autosave saved to folders based on Game UID.
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-01-30.0dd6806.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

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

Re: Multiplayer server up

#13 Post by o01eg »

Version updated to 2018-03-05.1520438.
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-01-30.0dd6806.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

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

Re: Multiplayer server up

#14 Post by o01eg »

Version updated to 2018-03-12.f9c6da6.
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-01-30.0dd6806.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

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

Re: Multiplayer server up

#15 Post by o01eg »

To prevent DoS (https://github.com/freeorion/freeorion/issues/2052) network messages restricted by size 10 MiB.
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-01-30.0dd6806.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

Post Reply