Server Manual

From Altitude Game: Wiki
Jump to: navigation, search

Overview

Configuring and running an Altitude server or a multitude of servers is very simple process with the programs that are included in the installer of the game. Ideally a server is best run on a machine that has little to no down time as well as a server with a connection that can accommodate a bandwidth requirement of 3KB/s for each player.


NOTE: The Steam client of Altitude does not include the Altitude Server Configurator or Server Launcher. Please download them here.


Configuring a Server

  1. Run the program: Altitude Server Configurator. Requires a head and cannot run from a linux terminal.
    1. Windows - Altitude Server Configurator -> "C:\Program Files\Altitude\server_configurator.exe"
    2. Mac - Altitude Server Configurator -> "/Applications/Altitude/server_configurator"
    3. Linux - Altitude Server Configurator -> "~/altitude/server_configurator"
  2. Set the Update UDP Port to a port you have open on your router/firewall.
    1. This port keeps ALL of your servers updated to the latest and greatest version of Altitude.
  3. Click "New Server".
    1. Edit the server settings to your liking.
    2. Note that when fields like "Round Time" and "Score Limit" are set to zero that it will be interpreted as infinity.
  4. When you're done configuring servers, confirm that all the listed UDP ports are open on your router/firewall.


In some cases you may find duplicates in your server list. There is a very simple way you fix this. Go to the server configurator and copy the server and delete the previous one. this deletes duplicates, but also removes your servers from your clients favorites.


Running a Server

Run the program: Altitude Server Launcher.

  • Windows - Altitude Server Launcher -> "C:\Program Files\Altitude\server_launcher.exe"
  • Mac - Altitude Server Launcher -> "/Applications/Altitude/server_launcher"
  • Linux - Altitude Server Launcher -> "~/altitude/server_launcher"


All of your configured servers should now be running.


Router and Firewall Port Forwarding

Your router and firewall must be configured to allow external traffic for every server you configure using the "Altitude Server Configurator." By default the UDP update port is 27275 and each server port is 1 higher (eg, 27276, 27277, 27278, etc).


NOTE: You will have to open all Altitude ports on your firewall, and router.


Software Firewall Instructions


Router Instructions

Recommended

Log into your router and turn on UPnP (Universal Plug and Play) - most routers have this option in the Administration tab. For more information on enabling UPnP on your router, visit your router manufacturer's website. A few of the most popular router web sites are listed below:

Advanced

If your router does not support UPnP you will have to manually forward the ports. Port Forward is a website with very detailed instructions for forwarding ports on almost any router.


Resource Usage

Memory

  • Altitude servers use 128MB of Java heap, which equates to about 150MB of total system RAM used.
  • The startup of the JVM can take around 300MB of memory, which can cause problems on virtual servers running less than 512MB of RAM.

CPU

  • Running the 3 official servers in one process, the CPU averages 5% usage (of a single core so really 1.25%) on a Intel Core 2 Quad CPU Q6600 2.40GHz processor.
  • There has never been a case of someone without enough processing power to host an Altitude server.


NOTE: Adding bots to a server will increase the CPU usage significantly.