quinta-feira, maio 19, 2005

Counter Strike Server how-to

http://server.counter-strike.net - greate greate tips

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

Pros: Great game.

Cons: To many cheats

By - Techie



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 Counterstrike server files for your Os.
Windows http://downloads.gameplanet.co.nz/cat.dyn/Half-Life/Mods/Counter-Strike/
Linux http://downloads.gameplanet.co.nz/cat.dyn/Half-Life/Mods/Counter-Strike/

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 the Counter-Strike mod on your server then delete the tfc and dmc directories. This will save about 100MBytes of space.



A Pentium 3/Athlon/Duron are excellent processors for a CS 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.


A decent 10/100 MBit network card from Alliedtelesyn/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. With voice it can use up to 100K per sec. Unless you have this kind of bandwidth available then set your maxplayer rate lower or disable the voice team chat.

Shortcut and settings

Basic shortcut is "hlds.exe -game cstrike -port 27015 +maxplayers 20 +map cs_italy +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 cstrike -port 27015 +sv_lan 1 +maxplayers 20 +map cs_italy +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.


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 lunix server has its files in /home/halflife/hlds_l

To run it type in the console

./hlds_run -game cstrike -port 27015 +maxplayers 20 +map cs_italy +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(old command) or nomaster(new command) and sv_lan 1 in your server.cfg file. Run it using

./hlds_run -game cstrike -port 27015 +sv_lan 1 +nomaster +maxplayers 20 +map cs_italy +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.

Nenhum comentário: