|
www.Create-Server.com » Tutorials » How to start a server in a console mode?

Tutorials: How to start a server in a console mode?
Author: 3JIou-TaTaPuH (20-05-2009, 20:39)
How to start a server in a console mode? How to start up HLDS? The question isn't how to start it, but what technique to use to do this. That's because there are two modes that HLDS can use to run: GUI and Console. Let's compare them both: As you can see Console mode is much better and there are 2 ways running HLDS through console (little be differing, but with identical result). 1) Through a shortcut. We do a shortcut for hlds.exe.. In properties of a shortcut, in the target field type this: C:\Games\CStrike\hlds.exe -start/MIN/HIGH hlds.exe -game cstrike-console-insecure-master +port 27015 +maxplayers 20 +sv_lan0 +map de_dust2-noipx +rcon_password 123 Information: -start/MIN/HIGH hlds.exe - the server will run with a high priority -game cstrike - we specify, that game Counter-Strike -console - HLDS will run in console mode (Windows only). If you skip this command you will use the Steam GUI. -insecure - that on a server will be turned -off standard anti-cheat (valve uses own anti-cheat VAC (Valve Anti-Cheat), but it doesn’t make sense use it on cracked Non-Steam server's, because it works only with steam servers) -master - we specify, that the server will be shown in a global database of servers +port 27015 - we specify port +maxplayers 22 - we specify quantity of players +sv_lan 0 - we specify, that your server on the Internet (+sv_lan 1 that on a Local Network) +map de_dust2 - it will be specified in a map with which to be started a server -noipx- this will disable IPX support. Which is fine, because you do not need IPX at all for Halflife. Recommended :) +rcon_password 123 - we specify the password for management of a server (to think up the difficult password better) 2) Through .bat file. Create the text document by Notepad and paste in there this @echo off cls echo protecting hlds from crashes... Echo if you want to close srcds and this script, close the hlds window and type y depending on your language followed by enter. Title hlds.com watchdog :hlds echo (%time %) hlds started. Start/high/wait hlds.exe-game cstrike-console-insecure-master +port 27015 +maxplayers 20 +sv_lan0 +map de_dust2-noipx +rcon_password 123 echo (%time %) warning: Hlds closed or crashed, restarting. Goto hlds and save as an “name.bat” file (you'll have to unhide the file extensions for known file types in my computer => folder options => view to make sure it does not save it as.bat.txt). Bat file must be in hlds.exe containing folder. |
Views: 22717 Comments (11) Print
Related News...:
Information

Members of Guests cannot leave comments.

