Star TrekŪ Elite Force II Linux v1.1 Dedicated Server

Copyright (C) 2003 by Ritual Entertainment, Inc.
All rights reserved.

 

Documentation Updated: 10/27/03

*** For an example config file, please see the base/server.cfg file. ***

Included Files:

===============

EF2_Linux_Readme.htm    <- Readme file in .html format

EF2_Linux_Readme.txt    <- Readme file in .txt format

Linuxef2ded             <- Linux file

Ef2gamei386.so          <- Linux file

Dedicated.cfg           <- Dedicated server file

Server.cfg              <- Example server.cfg file

 

Installation:
=============
1) Copy over a Windows installation onto the desired linux box.
2) Copy the the following files into the appropriate directories:
linuxef2ded       --> <ef2 directory>
ef2gamei386.so    --> <ef2 directory>
dedicated.cfg     --> <ef2 directory>\base\global

 

Note: To conserve space on a Linux server (as much as 600MB), it has been noted by server admins that you can reliably install only locpak1.pk3, pak0.pk3, pak10.pk3, pak20.pk3 and the v1.1 patch assets to effectively run a dedicated server.  This however has not been extensively tested.  To ensure maximum stability and reliability we recommend copying over all the assets.

 

Setting up a hostname:

The linux server must have a hostname for the dedicated server to work properly. To do this, make sure that the server is assigned a hostname and domain. In the following examples, it is using "scarecrow" as the hostname and "ritual.com" as the domain.

To assign a hostname, type the following:
hostname <name of the host>

So if the name of this machine is scarecrow, the command will look like this:
hostname scarecrow.ritual.com

Now some systems, like Red HatŪ, the hostname will not remain after a reboot. So you may have to look up additional help for this. With Red Hat, you have to also edit the /etc/sysconfig/network file and change HOSTNAME=localhost.localdomain to HOSTNAME=scarecrow.ritual.com.

Now we need to make sure that the server resolves an ip address with that name. Edit the etc/hosts file.

If there are no hosts added to this file, it probably looks like this:

127.0.0.1   localhost.localdomain localhost

To add an entry for scarecrow, type the following:

123.13.123.2      scarecrow.ritual.com scarecrow

NOTE: The server's ip address can be obtained with the ifconfig command, make sure you are logged in as root or with the "su -" command so that ifconfig will be available in the local path.

You may have to log out, restart the network or reboot the machine for the changes to take effect.

If the hostname is set up correctly you should see something like this when the EF2 server starts:
Opening socket: localhost:29253
Hostname: scarecrow.ritual.com
Alias: scarecrow
IP: 123.13.123.2

The hostname is not setup correctly if you see this:
Opening socket: localhost:29253
Hostname: localhost.localdomain
Alias:localhost
IP: 127.0.0.1

ADDITIONAL NOTE: If bots are used on your servers make sure you load only maps that support bots.