go to the Main page
slide show

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:
How to start a server in a console mode?

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.
How to start a server in a console mode?


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.
Tags: server, console
Custom Search
Views: 22717  Comments (11)  Print
Related News...:

Guests
Joined: --, ICQ:
#1: allanm (24 June 2010 13:28)
How do i change my Server name ??
    

Guests
Joined: --, ICQ:
#2: .FaRis (22 July 2010 05:08)
haha!!
    

Guests
Joined: --, ICQ:
#3: zakinasir1234 (27 August 2010 05:28)
The first thing a sv asks is ur server name.... dodo... :P
    

Users
Joined: 11.10.2010, ICQ:
#4: hkst62r (27 October 2010 17:56)
lol why cant copy past ? :))
    

Users
Joined: 9.01.2011, ICQ: 386-310-881
#5: 9IkyT (11 January 2011 09:37)
Ñïàñèáî! 01
    

Users
Joined: 11.01.2011, ICQ: 143
#6: ProoF (11 January 2011 09:59)
I cant copy text :@
    

Users
Joined: 8.03.2011, ICQ:
#7: zafar (8 March 2011 11:00)
my server can't secure plz help me......
thank u
    

Users
Joined: 13.03.2011, ICQ:
#8: unuruu123456 (14 March 2011 04:04)
haha -hostname "Your server name"
    

Users
Joined: 31.03.2011, ICQ:
#9: Rishi Sharma (6 April 2011 21:03)
nothing is working by console mode
    

Users
Joined: 18.08.2011, ICQ:
#10: Anuz (18 August 2011 12:28)
process 1: not working
process 2 : paste and after that what?? run what???
    

Users
Joined: 5.07.2011, ICQ:
#11: reneash (5 September 2011 23:50)
hi all i wanna know how to run my dedicated service as service mode?? *_* it would be perfect

-console is just amazing, i'll be waiting for answers
    
Information
Information
Members of Guests cannot leave comments.



Copyright © 2009-2010. All rights reserved.
Terms of Use - Use of this site signifies your agreement. www.Create-Server.com ™