How-to Day of Defeat Server

[ Home ] [ Counter-Strike ] [ DOD ] [ Unreal Tournament ] [ Serverstat ] [ Quake 3 ] [ Quake 2 ] [Quakeworld ] [ Quake ]

Pros: Very Addictive and fun

Cons: None :)

By - Techie


DOD 2.1

Preparation

Setup and install your favourite Server Os like Win2k,NT,Linux or FreeBSD.

Download and install the lastest dedicated server files for your Os.
Windows http://downloads.gameplanet.co.nz/cat.dyn/Half-Life/Official/Dedicated_Server/

Linux http://downloads.gameplanet.co.nz/cat.dyn/Half-Life/Official/Dedicated_Server/


Download and install the latest DOD server files for your Os.
Windows http://downloads.gameplanet.co.nz/cat.dyn/Half-Life/Mods/Day_Of_Defeat/
Linux
http://downloads.gameplanet.co.nz/cat.dyn/Half-Life/Mods/Day_Of_Defeat/

Download and install the latest Halflife server files for your Os.
These help with cheats, hacks and fix bugs.
Login: hlserver Password: hlserver Address: ftp.valvesoftware.com

If your only running theDoy of defeat mod on your server then delete the tfc and dmc directories. This will save about 100MBytes of space.

Resources

CPU

A Pentium 3/Athlon/Duron are excellent processors for a DOD server because of there 600MHz + clock speed. They have decent amounts of cache and 100MHz + Front side bus. This means that there is plenty of bandwidth for the data to flow. The faster the cpu the better the performance for each or the clients connected.

Network

A decent 10/100 MBit network card from 3Com/Intel will help lower processor utilization and increase throughput. The network that you connect into needs to have enough bandwidth to give good performance for your clients. A server with 20 players uses about 50-60K per second without voice. Unless you have this kind of bandwidth available then set your maxplayer rate lower or disable the voice team chat.

Shortcut and settings

Windows
Basic shortcut is "hlds.exe -game dod -port 27015 +maxplayers 16 +map dod_hill +exec server.cfg" This will get you started. You should see a window with the current map, current player amount and a fps reading. The higher the fps reading the better.

If the server is for a lan game include setmaster 0 and sv_lan 1 in your server.cfg file. In change your shortcut to read "hlds.exe -game dod -port 27015 +sv_lan 1 +maxplayers 16 +map dod_hill +exec server.cfg"

Just double click on the shortcut that you have created and you should see a window appear. At the top left there should be fps(higher is better), the current player number / maxplayer number and the map that the server is currently running.

Linux

When looged on your linux server type

export LD_LIBRARY_PATH=/home/halflife/hlds_l:$LD_LIBRARY_PATH

The path must be from the root directory. My halflife linux server has its files in /home/halflife/hlds_l

To run it type in the console

./hlds_run -game dod -port 27015 +maxplayers 16 +map dod_hill +exec server.cfg

This will get you started. You should see lots the server start with text scrolling past as it loads files from the pak files.

If the server is for a lan game include setmaster 0 and sv_lan 1 in your server.cfg file. Run it using

./hlds_run -game dod -port 27015 +sv_lan 1 +maxplayers 16 +map dod_hill +exec server.cfg

Files in cstrike directory

motd.txt has the message displayed when the clients enter the game or the map swaps.

server.cfg has all your settings that you want reloaded each time the map swaps like rcon password, maxrate etc.

banned.cfg has all the wonids of people banned from the server.

mapcycle.txt has the list of the maps that the game cycles through.

A server.cfg

//---------------------------------------------------------------------------------
// Server Config For Day Of Defeat v. Beta 2.1 Server |
//---------------------------------------------------------------------------------
//
// Special Thx to [AR]-All Ready Online Network
// for help with this server config


hostname "DoD v2.1"
//sv_password "yourpasshere"
//sv_spectator_password "yourpasshere"
//rcon_password "rconhere"

//-----------------------------------------------------------------
// Server Variables
//-----------------------------------------------------------------
mp_autocrosshair 0
mp_flashlight 0
//mp_teamplay 11
mp_friendlyfire 0
mp_fraglimit 0
mp_timelimit 30

sv_allowdownload 1
sv_allowupload 1
sv_cheats 0
sv_maxspectators 4
sv_maxrate 6000
sv_minrate 0

decalfrequency 30
fakelag 0
fakeloss 0
pausable 0

//-----------------------------------------------------------------
// Physics settings
//-----------------------------------------------------------------
sv_accelerate 10
sv_aim 0
sv_airaccelerate 10
sv_airmove 1
sv_friction 4
sv_gravity 800
sv_bounce 1
sv_clienttrace 3.5
sv_clipmode 0
sv_stepsize 18
sv_stopspeed 100
sv_maxspeed 500
sv_wateraccelerate 10
sv_waterfriction 1
edgefriction 2
mp_falldamage 1
mp_footsteps 1

//-----------------------------------------------------------------
// DoD Extra settings
//-----------------------------------------------------------------
//This Enables DoD's Netcoding
sv_unlag 1

//DoD Beta 2.0 Bullet Tracer settings
traceroffset 100
tracerlength 0.45
tracerred 1.3
tracerblue 0.1
tracergreen 0.7
traceralpha 0.45
tracerspeed 6250

//Turn on\off Spectating Team
mp_allowspectators 1

//Turn on/off death messages
mp_deathmsg 1

 

[Home]

 

Click Here!