The game server that provides chat and hosting of games for Widelands.
For information about the used network protocol, see the file src/network/internet_gaming_protocol.h in the Widelands sources at https://github.com/widelands/widelands.
- Install Go.
cd $GOPATHgo get github.com/widelands/widelands-metaserver/...cd src/github.com/widelands/widelands-metaservermake
make cross- scp
$GOPATH/bin/linux_amd64/wl*over to the server and replace the files in/usr/local/bin/. sudo restart wlnetrelay. This will also restart the metaserver.- Check in
/var/log/upstart/wlmetaserver.logand/var/log/upstart/wlnetrelay.logthat the restarts were successful.
$GOPATH/bin/wlnr. This starts the relay server for hosting games.$GOPATH/bin/wlms. This starts the server with an empty in memory user database.- Edit
~/.widelands/configand add the linemetaserver="localhost"before launching widelands. - Launch Widelands and click on internet game.
- Do not forget to remove the metaserver line once you want to play on the real metaserver again.