How-to Day of Defeat Server
Preparation Setup and install your favourite Server Os like Win2k,NT,Linux
or FreeBSD. 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 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 //---------------------------------------------------------------------------------
//----------------------------------------------------------------- sv_allowdownload 1 decalfrequency 30 //----------------------------------------------------------------- //----------------------------------------------------------------- //DoD Beta 2.0 Bullet Tracer settings //Turn on\off Spectating Team //Turn on/off death messages
|