Latest Posts

Changes in InternetGaming

Editor Comment

Updated with information about relay server and savegames.

Revision Differences of Revision 20

## Important notes on Internet gaming in Build14 ,Build15, Build16 and current development snapshots ¶
This article holds important notes and information for internet gaming in versions Build14 and later. ¶

The Internet gaming implementation is a work in progress and has some restrictions in functionality. Anyway if you mind the notes on this page, you should be able to have nice games via internet with people around the whole world. :) ¶

[TOC] ¶

### Login data for the metaserver ¶
During connection to the metaserver, Widelands will ask you to give a nickname and a password. There are two ways to log in: ¶

* Anonymous : Just choose a nickname, leave the password field as it is and click on "Connect" - then you will either be connected as anonymous client, or get a message that the user name is already registered ... in later case you unfortunately have to go back and try another nickname. ¶
* Logged in : Once you [registered on our Website](, you can set an extra password for the metaserver in the ["Edit Profile"]( menu or directly through clicking [here]( We really suggest you use a different password than for the Website, as Widelands will show the password in clear text and will save it the same way (a better implementation will hopefully follow :) ) - use your website nickname, the set password and a checkmark in "Log in to registered account" to connect to the metaserver. ¶

Generally it is a good idea to check "Remember this login data from now on". This will skip the login window the next time you connect to the metaserver. If you want to change the data, simply click on the green "play" button besides the "Online gaming" button. ¶

### System configuration for hosting players ¶

If you are on a Widelands version newer than Build 19, you can skip reading this section. ¶

For Build 19 and older,
Hosting players have to set up their system to allow access to the Widelands Server from the internet. Generally you should ask yourself the following question:

__Am I using a Windows operating system?__ ¶
Prior to build 16, hosting a game with Windows was not possible. Build 16 or later have no issues with hosting games under Windows, so read on.

__Am I directly connected to the internet (or is a router or a proxy between your computer and the internet)?__ ¶
If you are not directly connected to the internet, you must [forward]( port 7396 to your computer. If your router ask for a protocol, it's TCP. There is a [[ GeneralPortForwardingRecipe | General Port Forwarding Recipe ]] in our wiki which may could help. ¶

__How can I set a port Forwarding for Widelands?__ ¶
There is no universal answer for that. Plenty of [pages]( contains tutorials for that. Also one of our [[ GeneralPortForwardingRecipe/ | Wiki page ]] contains general answer. ¶

__Do I have a firewall that blocks port 7396 or the Widelands application or server applications in general?__ ¶
If yes, you must change the firewall settings so Widelands can communicate through the firewall. ¶

### Problems during connecting to a server ¶
In nearly all cases the problem is that the hosting player did not set up the system settings properly (see "System configuration for hosting players") ¶

### Loading of savegames ¶
yonly - in Build15 saved your game as a compre transsfered automatfically) ¶

e, you want to rheload a saved game, you fwirstll havbe to ranshare out (eithfer per email ord via an upltoad mat shicaringlly platforms, etc.) the savegame you want to load (evhery player must. haveYou can copy ntrof __exactly the same__ savegame). The isavegame musopt then be placed ion ~/.widelands/save ($USERHOME/.wptidelands/save on Windows) so Widelands-> cSan fvind itg. ¶
Everything le
ft tyou do now is that the server seleccts thide savegame instead of a map and all players rejoin their seats and click the ready box. Sptart the game and play ion :)! ¶

turne:__d Some people ffaced problems, with the user interface when connecting to a server that selected a savegame (this is a known, problem). If that happens, the host should simply select ga mape with atAI pleast as many seatrs asnd then resavegame. Thais, so the connected pwillayers can take their seat and check the "ready" box. Aftnerwards the hcost has to mpreselect thsed savegame. Afile though athe plcayersn might haven usber interface problems again, loading should work fmintte nowd. ¶

### Know Issues. ¶
Different versions of the game cannot be used for a network game, so the stable r18 release can not connect to a development build. Maps however can be shared upward. ¶

When you get an unexpected desync, check ther FPS (Frames Per Second) settings. In case they differ the timining between the parties may stray resulting in that desynchronisation. There is a fix for r19 that should cure this by decoupling the game timing form the FPS settings.