Jump to content

Recommended Posts

Posted

I will show you how to create a CS 1.6 Dedicated server 

 

1. Locate HLDS.exe. It could start it from Steam.

2. Make a batch file. You could name it how you like, I writed it as start.bat. It should be located in the same folder as the HLDS.exe. It should contain something like this:

CODE

HLDS.EXE -console -game cstrike -port 27015 +maxplayers 24 +map bl_counterquake +sv_lan 0 +rcon_password yourrconpass -secure

I recommend -console to be there, couse it starts hlds.exe in console mode(it shows only the console, not showing the slow GUI with statistics and other not-necessary things), which saves up a bunch of CPU and RAM resources. It will be hard for you if you are administrating server for a first time, but you will get it quick

3. Make a shortcut on your desktop to your start.bat. Then start it. You should see a command promt application.

4. You could change the map with the command changelevel. Example: changelevel de_dust2

5. The maxplayers are changeable from the batch file - +maxplayers x, where x is your desired number. +map determines you first run map. +sv_lan is important to be 0, so the server to be in Internet mode. +rcon_password changes your rcon password. Rcon means Remote Control, with the rcon password you can manage the server from the game.

 

Now with the server running, you can play into it. Open CS and type - connect "serverip":27015.

 

The server IP is visible from the command "status" at the server console. You could also see it, using the command promt - open the Start menu, click Run, type "cmd". When the command promt is visible, type "ipconfig". Then you should see your IP under "IP Address".

 

So, I expect you have connected already to your server 

 

Now I will type the most used rcon (server console) commands (you could use rcon commands from in-game, just type rcon_password yourpasshere, then rcon and one of the following CVARs or console commands):

 

CVARS (Console Variables, which can be set up at server.cfg. They will always be reset to the value in server.cfg)

 

mp_timelimit - determines the time of the map, before the mapchange. 0 should be unlimited

mp_freezetime - determines the freezetime at the start of the map. 0 means no freezetime

 

- HLDS package here - http://server.counter-strike.net/server.php?cmd=downloads

 

Here is a full list of CVARs(both server and client): http://server.counter-strike.net/server.php?cmd=cmdall

 

Another console commands:

status - shows the current map, the ammount of players, and the active ones.

users - shows the list of users

stat - shows the list of users and their IPs

addip - adds ip to the banlist. It is located in the CS folder, as listip.cfg.

writeip - writes the added IPs to the listip.cfg. It should always be used after addip.

listip - shows the banned IPs.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...