SERVER SETUP
Windows Server
The five steps below will show you how to setup a AHL:DC windows server:

1. Download the needed files:
http://www.ministryofaction.net/files/hlds_v1120.exe
http://www.ministryofaction.net/files/AHL_DC_RC2.exe

2. Install the HLDS windows server by running the HLDS V1120 full installer

3. Go to Start, select Run and run the HLDS update tool
For example: C:\HLServer\HldsUpdateTool.exe -command update -game valve -dir C:\HLServer

4. Now run the AHL:DC RC2 full installer and point it to the root dir of your server install
For example: C:\HLServer

5. Run hlds.exe and select AHL - Directors Cut and start the server!


Linux Server
In this section we assume that you are fairly familiar with the world of Unix. If you're not, we suggest that you change this as it is wonderful. We also assume that you have installed the Half-Life dedicated Linux server at a certain location.
For example: /servers/halflife/hlds_l/

If you have downloaded the AHL:DC RC2 Linux server package, you should have a file called AHL_DC_RC2_linux.tar.gz. Once you have this file on your Linux server, you will need to unzip it. The file has a .gz extension. This means it was archieved using GZIP. To decompress the file use the following command:

gunzip AHL_DC_RC2_linux.tar.gz

This should leave you with a tar file called AHL_DC_RC2_linux.tar. The easiest way to extract this tar file into the existing half-life directory tree is to move it there first:

mv AHL_DC_RC2_linux.tar /servers/halflife/hlds_l/

Once the file has been moved, it's time to untar it with:

tar xvf AHL_DC_RC2_linux.tar

You should now see the tar file unpack into a new directory called action. When this is done, your AHL:DC RC2 server installation is ready. To start your server you will need to run the following command (substituting the values in arrowed brackets with your own):

./hlds_run -steamuser=<steamuser> -steampass=<steampassword> -game action +maxplayers <num> +map ahl_bananamans +ip <your server ip> -port <port number>

Your server should now be running and visible to the world!

METAMOD (AdminMOD/AMX) support : important!
Metamod at present DOES NOT support goal entites. This means that goal maps will not work properly.
Please use metamod-p as an alternative, this modified version of metamod dynamically supports the new goal entities.

Fast Downloads
Allowing players to download custom maps is a two edge sword. On the one hand it is good to allow the easy distribution of custom maps. On the other hand it can impact your bandwidth on your server. You can throttle this, but if you do players will get bored waiting 20 minutes for a map to download to their machines. However there is another alternative. Fast Downloads.

To use fastdowloads you must first create an action directory somewhere on your webserver. You should then copy all the wads and directories in your action game folders to it.

Next, you must stop players downloading maps from the server itself. To do this configure the sv_allowdownload flag in your server config to stop them.

sv_allowdownload 0

Next you must add the following flag to your server config :

sv_downloadurl "http://YourWebServer/YourSite/ActionDir"

The ActionDir is simply the action directory you created on your webserver.

Players will now download custom maps directly from the webserver rather than the game server. This is faster for the players and can avoid congestion to your game server (unless your webserver is on the same machine!).


Dos2Unix
Dos based systems and Unix based systems have a different way of dealing with a 'next line' in text files. On DOS based systems this is a Carriage Retrun followed by a Line Feed. On Unix they simply use Line Feed. This can cause problems. If you edit some config files on a DOS machine and then transfer them over to a Unix machine for actual use, you sometime gets some odd effects or even crashes. The solution is to 'dos2unix' all your config files that have been edited under DOS before use. To do this, simply run the following command:

dos2unix <inputfiles>

After this is run your text files should be Carriage Return free.