Multiplayer

From FreeOrionWiki
Jump to: navigation, search

FreeOrion supports multiplayer games in a host-client mode. One player's computer acts as the game server, which the other players' computers must connect to. Multiplayer in hotseat mode is not supported directly, but could be emulated by running several clients on the same computer, and trusting opponents not to look at each others' clients.

Contents

Hosting a game

To host a multiplayer game, choose "Multiplayer" and enter your player name. Player names should contain only letters, numbers and underscores (a-z, A-Z, 0-9, _) and no spaces.

After pressing "Okay", you will see a window "Multiplayer Setup", where you can configure the game parameters.

Please note that player names, empire names and colours must be choosen unique, or the button "Start Game" will not be active.

Joining a game

In the main menu choose "Multiplayer", enter your player name and choose a game out of the list. Or you can manually enter a host name or IP address at the bottom of this page.

Ports

FreeOrion multiplayer connections use TCP port 12346. You may need to forward this port in your router or firewall.

The discovery port uses UDP 12345 and is used to detect available game hosts. You don't need to forward this port to run a game.

Multiplayer Connection & Setup

When starting or resuming a multiplayer game, initially you will be taken to the Connect to Server dialog. After hosting or joining a game, you will be taken to the Multiplayer Setup dialog.

Connect to Server

At the top of the Connect to Server dialog, you may enter your Player name. Just below, you may select whether you wish to join an already existing game, or host a new game yourself.

If hosting, you need only click OK after entering a player name.

If joining a LAN game, clicking Refresh list should list any games on the local network waiting for players. Select one of these and click OK to join.

If joining an internet game, you need to enter the IP address of the game you wish to join, then click OK.

If the connection is made successfully, you will then be taken to the Multiplayer Setup dialog.

Multiplayer Setup

After connecting or starting a new server, you will be taken to the Multiplayer Setup screen, where the game may be configured and players assembled before a game begins. At the bottom left of the Multiplayer setup screen, you may enter chat messages which will be sent to other players in the game, and seen in the column above.

New Game

If you are hosting a new game, you should ensure that the "New game" option at the left side of the Multiplayer Setup dialog is selected (which it is by default). Adjacent, various options may be set to configure how the game generates the galaxy for the new multiplayer game, just like the single player Galaxy Setup dialog. If you have joined a game that another player is hosting, these options will be disabled, though you can see what settings the host has chosen for the game.

When you join or host a multiplayer game, your player name and all other players' names are listed at the bottom of the multiplayer dialog. Each player needs to pick a unique empire colour and enter a unique empire name before the game can be started.

After all players have chosen unique empire names and colours, the host may click Start game, at which point game will generate a new galaxy, and after a few moments, bring all players into the game itself.

Load Game

If resuming a previously saved multiplayer game, the host can select the "Load game" option (instead of "New game") and then specify which save file to load in the drop-down list.

Players that join need to select which empire they will be playing in the saved game. Each player needs to pick a different empire before the host can start the game.