Openttd Multiplayer Server



  • Your new openTTD game server is ready to play after a few minutes. The best thing about a cheap game server at Test Winner is, you can switch between the games offered with just a few clicks. The price per slot is compared and you get RAM and slots updated at no extra cost and can play the new game together with your friends after a few seconds.
  • Come ask us questions about OpenTTD! After our fun but disagreeable second Twitch livestream yesterday and a very successful release on Steam, we will host a chat Q&A stream on April 9th. Tune in at 18:00 UTC on Twitch — here’s a handy countdown and time zone converter. LordAro, Timberwolf, TrueBrain and michicc will try but probably fail in answering all your questions you never dared.
  • Version of OpenTTD Open TTD 1.10.3 Expected result Being able to download mods, music, stuff from 'Check online content' feature Actual result The list never loads. Its always empty. Steps to reproduce Open the game and go to 'Check onli.
November 8, 2015

FS#2644 - Join Multiplayer Server: Crash: net Trying to execute a packet in the past! Attached to Project: OpenTTD Opened by tb2571989 (tb2571989) - Thursday, 19 February 2009, 11:50 GMT.

Update: Check out part two for a more up to date guide.

I recently setup an OpenTTD server and I thought I might document the steps I took to do so.

I choose to use a Digital Ocean (DO) to host my server since I’ve been wanting to try them out for some time. It also helps that their cheapest hosting option is rather cheap - only $5 per month. And since I don’t think OpenTTD will be particularily memory intensive I am fairly certain that the extra 512MB of RAM for the $10 per month DO droplet will be needed.

After creating my $5 per month droplet running Ubuntu 14.04 LTS I followed DO’s handy initial server setup to get my server ready for installing OpenTTD.

Installing OpenTTD

The first step to installing OpenTTD is downloading it:

Then to install OpenTTD and it’s dependencies:

Openttd multiplayer server hosting

Installing Graphics

Before you can kick off your OpenTTD server you need to install some graphics. If you don’t have your original Transport Tycoon Deluxe CDs handy the bare minimum for this is to download OpenGFX which provides free replacements for the game’s graphics. To install it:

Adding An OpenTTD Service

With OpenTTD installed one of the last steps is to setup an OpenTTD service. Luckily for us, Frodus has kindly created an OpenTTD init script available here.

First we need to download and unzip it:

Then we need to add a symlink of the openttd file to /etc/init.d, update its permissions and add the OpenTTD service to the Ubuntu startup scripts.

Finally rename ~/openttd-init/config.example to config and edit the variables to suitable values.

OpenTTD Configuration

Server

The last step before starting to play is setting up the openttd.cfg file - a list of the available options is on the OpenTTD wiki. A good overview of what options to change is also available on the OpenTTD Coop Wiki.

Openttd multiplayer server hosting

One setting of great importance is the sever_port (default value 3979) setting. Whatever option you choose, make sure to add a firewall rule. If you are using the default Ubuntu firewall ufw it is as simple as:

iptables configuration is left as an exercise to the reader.

Some of the other settings I like to change are:

  • min_active_clients set this to 1 so the game is paused when noone is connected.
  • inflation set this to false since after a while money is no object.
  • forbid_90_deg set this to false as 90 degree turns are ugly.
  • train_acceleration_model set this to realistic otherwise slopes will seriously slow your trains down.
  • vehicle_breakdowns breakdowns are annoying so no breakdowns please.
  • no_servicing_if_no_breakdowns no servicing when there are no breakdowns.

Joining Your Server

Once you have setup your config it’s finally time to fire up your OpenTTD server:

Openttd Cheats

To join your server in the Multiplayer settings window click the Add Server button and add your server with the port number like so:

Openttd Multiplayer Server Hosting

And after joining you should be greeted with your shiny new OpenTTD game. Happy network building!