Unreal Tournament 2004 Server Setup Guide
// December 1st, 2007
Being an avid user of Unreal Tournament 2004 (Commonly abbreviated UT2004), There were a few times when I wanted to host my own server, It was a bit of a pain having to find all the information and such, so I’ve made an easy guide that anyone can follow to get a UT2004 server up and running. Please take note that this guide is intended for Linux, NOT Windows/Mac. So without further wait, let’s get on with it.
Section 1
Requirements
This guide assumes that you have Unreal Tournament 2004 installed and working.
A server is best hosted on a stand alone computer, so that all processing power can go towards the server itself.
If you want it to run even smoother you may choose to run the server without a GUI, which will save even more CPU power for the running of the server.
I recommend a computer with at least a 2GHz processor with 384MB of RAM.
Section 2
Configuration
For editing the server ini file you will need a need a text editor
such as Kwrite, Abiword, or something similar.
I highly recommend you do NOT use OpenOffice Writer
as it can add it’s own formatting and ruin your ini file.
To begin, Go to the Unreal Tournament system folder (By default it’s located at /home/username/ut2004/System/)
Locate the file called ‘UT2004.ini’ and open it.
[IpDrv.MasterServerUplink]
ServerBehindNAT=False <–Change this to true if your firewall uses NAT (Network Address Translation) to forward ports.
[IpDrv.HTTPDownload]
RedirectToURL= <–Place the URL of the redirect server here, more detailed instructions can be found here.
UseCompression= <–If the maps on your redirect are in the .uz2, set this to True.
[Engine.GameReplicationInfo]
ServerName=UT2004 <–Change this to whatever you want your server to be named.
AdminName=User <–This will appear to a user when they view your server info, Set it as your own name.
AdminEmail= <–This will show the user your Email address,
This is handy if you want feedback from people who play on your server.
MessageOfTheDay=MOTD <–This will appear to a user as soon as he/she joins your server.
You may set up to 4 lines, to create a new line you must use pipes.
Example: MessageOfTheDay=Welcome | No Cheats | No Monkeys | No Complaining
Would display as the following ingame:
Welcome
No Cheats
No Monkeys
No Complaining
[Engine.AccessControl]
AdminPassword= <–This is the admin password, you can use it to login via the console while ingame.
GamePassword= <–Add a value here if you want to password lock your server.
[Engine.GameInfo]
MaxSpectators= <–Set this to limit the number of spectators in a game.
MayPlayers= <–Change this number to raise/lower the total amount of players that can play at one time (Max 32).
[Uweb.WebServer]
bEnabled= <–Set this to True if you would like to enable the Web Admin Interface.
ListenPort= <–Set this to something other than 80 (I personally use 7757) and don’t forget to forward the port you set.
To login, type your IP (If your on the same network as the host box, you can use the internal IP) then add : then the port you have set.
Example: 192.168.1.1:7757
Section 3
Starting the Server
The only thing left to do is Start the Server.
To start your server, run the following command from a terminal:
(You must be in the /home/username/ut2004/System/ directory)
./ucc-bin server ONS-Torlan?game=Onslaught.ONSOnslaughtGame ini=UT2004.ini log=/home/username/Desktop/UTServer.log -nohomedir &
Some people may find typing this script everytime a bit irritating, so I’m going to show you how to make a simple script that does the same thing with a simple command.
Open your text editor, make a new file, and type this into it:
cd /home/username/ut2004/System/
./ucc-bin server ONS-Torlan?game=Onslaught.ONSOnslaughtGame ini=UT2004.ini log=/home/username/Desktop/UTServer.log -nohomedir &
(Be sure to replace username with your own user name.)
Then save it as ut-server.sh in /usr/local/bin/. Now whenever you want to start the server, all you have to do is open up a terminal, and type ut-server.sh.
And that’s it. If you have any problems, find any mistakes or would like to give feedback for this guide, please let me know via email at Erich.Von(at)Gmail.com.





How do i fix it to where the ping shows up in the internet browser??
I’m not exactly sure what you mean, explain again with a little more detail and I will try to help.
Where can I get a server redirect? Can I set one up to run on my computer? (The same machine that runs the ut server)
“RedirectToURL= <–Place the URL of the redirect server here (Must be a web server).”
To answer your first question, you can find a server redirect here: http://www.unrealadmin.org/uz
It also includes instructions on how to use it.
As for the second question, take a look here: http://wiki.unrealadmin.org/Redirection_and_Compression#How_Do_I_Set_My_Server_Up_To_Use_Redirection.3F
and it will explain how to run a redirect on the host PC.
Let me know if you have any more questions.
Hi I have a problem were when I host a server my ping shows up as N/A for others