Server (UFO2000)

From UFOpaedia
Jump to navigation Jump to search

Logging in to the game server

The server connecting screen

Pressing "connect to internet server" will take you to the server connection screen. In this screen you will see a login box with three lines:

Serverconnect.jpg

Your player name for your account

In the second line »Login:« you have to enter your desired player name. In the picture above this is Mister Kill. A maximum of 16 characters is set for your player name. Player names are case sensitive. So it makes a difference, if you login as killah or Killah.

The password for your player name account

The third line is the password line. Enter your desired password here. BEWARE! There is NO WAY OF RETREIVING a lost password so write it down! Also be sure not to use any valuable passwords with this service, as they are only saved as a plain MD5-hash. Techniques such as salt are not being used!

Player names are only protected by this password. For each player name there is also an elo-score, which is used to create a ranking. So essentially, it's in your own interest, to not give others the opportunity to play in your name, if you take an interest in this ranking system. On the public server, you can find the current ranking of the #Offical_server here: http://ufo2000.net/results.php.

The Auto-login box

Leave the autologin box emty. If you have autologin turned on, you can't change your name or the server-adress, unless you disable this first. Do this in the ufo2000.ini file in the ufo2000 game folder.

Connecting to the server

To login to the server press OK!

Official server

The first is the server location line. It should say: ufo2000.net:2000 if you want to login to the official UFO2000 game server. All players should log into this server, if available.

Error trying to connect

If you receive this message:

Failconnect.jpg

it may the case that the official server can't be reached currently. There might also be back-up servers which you can play on.

Back-up Servers

Change the first line of the login box to one of the following servers:

  • ufo2000.kostax.cz:2000
  • ufo2000.openxcom.com
  • mobile-infanterie.gamersunitonline.net (will only be online on request for a shot period of time, contact: [email protected])

to play on the back-up server.

Setting up your own game server

In principle, for playing online, you do need an online server. Usually the public ufo2000.net server should do just fine. But maybe you want to set up a private server or a backup server. In order to do so, you can either use the supplied precompiled ufo2000.exe from the project page, or for linux, you will need to compile it yourself. Don't worry, the latter is no big deal.

Compiliation requirements

First, you will need the following to libraries (names are from Ubuntu repositories, but you will find them under similar names for other distributions, as well):

  • libhawknl-dev
  • libsqlite3-dev

If you have never before compiled anything, it might be necessary, to also install the Build essentials. Here's an example for installing these libraries on an ubuntu 14.04:

 sudo apt-get install libhawknl-dev libsqlite3-dev build-essential

After that, you will need the source files of UFO2000. To obtain them, you can use the svn-repository:

Getting the sources

svn checkout svn://svn.code.sf.net/p/ufo2000/code/trunk ufo2000-code
cd ufo2000-code 

This downloads the current svn-version of UFO2000 into the directory ufo2000-code and switches into that new directory. You can as well get that with the .tar.bz2-file from the project site.

Compiling the server

After that, you only need to compile it with

make server

That's it. You then should find a binary named ufo2000-srv.