NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home / News / Linux / Other Tips, Tricks and Tutorials

Other Tips, Tricks and Tutorials


Wolfenstein: Enemy Territory Server Setup

How to setup a Wolfenstein: ET dedicated server.

By Mihai Marinof, Linux Editor

26th of December 2006, 10:59 GMT

Adjust text size:


Wolfenstein: Enemy Territory is a World War ll style FPS which is very popular due to the free clients available for Linux, Windows and Mac. The game itself isn't so bad either. This article will explain how to quickly set-up an ET server but also guide you towards an advanced customized server. But before you start anything, you should take a look at the game's requirements. To run a dedicated server, you should have at least:
· 1.3 GHz processor;
· 128 MB RAM (assuming no other apps run in the background);
· T1 Internet connection (1.5 Mbps);
· UDP ports from 27950 to 27965 opened/forwarded.


Getting started

· For security reasons, the ET server shouldn't be run as root. To create a new user, run the command:

CODE
adduser etserver
passwd etserver

· Next, login as the newly created user and download Enemy Territory installation pack:

CODE
wget ftp://ftp.idsoftware.com/idstuff/et/linux/et-linux-2.60.x86.run

· Install Enemy Territory:

CODE
chmod 775 et-linux-2.60.x86.run
mkdir /home/etserver/bin
./et-linux-2.60.x86.run

NOTE: Choose /home/etserver/enemy-territory as the installation path and /home/etserver/bin
for the symbolic links path.


Provide a Config file for the ET server

· Get the config file:

CODE
cd /home/etserver/enemy-territory/etmain
wget http://linux.softpedia.com/et.server.cfg

· Open it with your favorite text editor (nano, mceditor, vi etc) and change the general values such as admin mail and web address, server hostname and so on but don't touch the values you don't know.


Start the server

· The following command starts the server:
NOTE: You need screen installed on your system. Screen is a program that keeps the ET server running in the background without requiring you to stay logged-in.

CODE
screen -d -m -S etserver /home/etserver/enemy-territory/etded +set vm_game 0 +set sv_pure 1 +set dedicated 2 +net_ip 81.23.245.267 +net_port 27960 +set sv_punkbuster 1 +exec et.server.cfg

Command options details:
· +set vm_game 0 - The server starts without a virtual environment.
· +set sv_pure 1 - Will ensure that people's pk3s are the same as your servers.
· +set dedicated 2 - The server announces itself to the master servers.
· +net_port 27960 - The port on which the game server runs.
· +set sv_punkbuster 1 - Activates Anti-Cheat program.
· +exec et.server.cfg - Executes the config file created earlier.


ETPro

ETPro is a mod for Wolfenstein: Enemy Territory specifically designed for competition play. It offers administration and competition features such as saving XP/ranking/weaponstats etc, private messaging, server configuring for specific skill levels and a lot more.

To install ETPro:

· Download the latest version from SOFTPEDIA and save it into your home folder.

· Unzip it to the enemy territory directory:

CODE
cd /home/etserver/enemy-territory
unzip /home/etserver/etpro-3_2_6.zip

· Start the server with:

CODE
screen -d -m -S etserver /home/etserver/enemy-territory/etded +set vm_game 0 +set sv_pure 1 +set dedicated 2 +net_ip 81.23.245.267 +set fs_game etpro +net_port 27960 +set sv_punkbuster 1 +exec et.server.cfg

Hosting Custom Maps & Mods

If you’re running custom campaigns, custom maps or modifications on your server, then the players connecting to your server will need to have those files as well. Unfortunately, the maximum speed a player can download files from a server is capped at around 25 kB/s, which should be enough for small files but it's way too slow for downloading large custom maps.

This is where the web download feature comes in. If you have a web server that can host files for download, you can configure your game server to redirect file request to the web server, this way the clients will download maps and such at the web server's maximum download rate (which is probably 10 times faster than 25 kB/s).

To use this feature, you have to:

· Upload the game server files to a new directory (name it etfiles) on the web server but keep the same directory tree. For instance, if a player will request the file pack1.pk3, it should be available at the address http://www.your-webserver.com/etfiles/etmain/pack1.pk3.

· Open the et.server.cfg file and edit these values:
NOTE: The wwwBaseURL address does NOT end with a "/".

CODE
set sv_wwwDownload "1"
set sv_wwwBaseURL "http://www.your-webserver.com/etfiles"
set sv_wwwCheckPath ""
set sv_wwwDLDisconnected "0"
set sv_wwwFallbackURL ""

Enjoy!
Read by 70,396 user(s) | Add comment | Link to this article TWEET THIS


Article rating:
Very Good (4.0/5) 34 vote(s)    

Subscribe to news | Print article | Send to friend

© Copyright 2001-2009 Softpedia
Contact:

 

 

SEARCH THE NEWS ARCHIVE :




Today's News
| Yesterday's News | News Archive


MORE RELATED ARTICLES:


How to Bind a Range of IPs

Screencast Guide: Capure Your Linux Desktop on Video!

How to Setup an Encrypted Filesystem

FreeNX Installation Guide for Fedora 6

Grant Root Privileges to Regular Users

Setting Up a SHOUTcast Server + DSP Plug-In

Resetting a Forgotten Root Password

User opinions:


Comment #1 by: Bimbo on 24 Sep 2008, 19:22 GMT reply to this comment

wth do I need a program for this or what and where do I need to write the commands and where can I get the programs and can anyone do this or just advanced users ... please help

Comment #1.1 by: Mathias on 08 May 2009, 12:08 GMT

You have to use a Linux operating system. There you have to type those commands in the terminal.


Comment #2 by: Rob on 16 Mar 2009, 18:15 GMT reply to this comment

nice, keep this online!


Comment #3 by: medo on 01 Jun 2009, 07:23 GMT reply to this comment

thx bro i do all this .. but i want to know how can i get screen program ...........You need screen installed on your system. Screen is a program that keeps the ET server running in the background without requiring you to stay logged-in............. where i can download it ... and i want to setup jaymod too ... can u help


Comment #4 by: medo on 02 Jun 2009, 09:48 GMT reply to this comment

bro i get this
3763 files in pk3 files
execing default.cfg
couldn't exec language.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok

------- Input Initialization -------
Joystick is not active.
------------------------------------
Bypassing CD checks
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 4: 800 600
Error couldn't open the X display
...WARNING: could not set the given mode (4)
Initializing OpenGL display
...setting mode 3: 640 480
Error couldn't open the X display
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem


Comment #5 by: Pure on 09 Jun 2009, 18:37 GMT reply to this comment

@medo A quick google search for 'opengl error' would have given you your answer. Anyway you have to update/install your videocard drivers.


Comment #6 by: Zangetsu on 01 Jul 2009, 15:00 GMT reply to this comment

good tutorial
but some servers have very high download rate even then you're in the game how can i make my server have that without having a web server ?


Comment #7 by: Mathieu_7-7 on 11 Jul 2009, 12:41 GMT reply to this comment

Thanks for this howto, I'll going to do this soon ;o)

Comment #7.1 by: Nemora on 05 Nov 2009, 12:37 GMT

Yeap, good tutorial.
I have a question. Ive got problem with downloading stuff. I have pk3 file which i want other users to download but they cant...I put it into server nq folder and when i go to server, i do
!nextmap to restart server. But the et doesnt drop me into download mod:/ It is as if i hadnt put any pk3 into my server nq folder.
Anyway, i put the same pk3 file into my computer nq folder and when i start the game, out of nowwhere , it is working.:/ Do you have any idea what i can be?

Share your opinion:

Your Name:
Your Email Address:
(will not be used for commercial purposes)
Solve this to prove you're not a bot: =
Your review/opinion:

 




Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM