Setup and install your favourite Server Os like Win2k,NT,Linux or FreeBSD.
Download and install the latest Halflife server files for your Os.
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
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
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.
quinta-feira, maio 19, 2005
Counter Strike Server how-to
http://server.counter-strike.net - greate greate tips
Assinar: Postar comentários (Atom)
Postar um comentário