SRCDS Steam group


What Are All the Startup Commands
#1
Hey i was just wonderin what are all the start up commands for srcds?
#2
there is -tickrate, +max_fps, -command, -game, +map, -maxplayers, -console, -gui, you can use any cvar with the + addition. There is quite a few but thats a few basic ones.
#3
hexitnow Wrote:there is -tickrate, +max_fps, -command, -game, +map, -maxplayers, -console, -gui, you can use any cvar with the + addition. There is quite a few but thats a few basic ones.

it's +fps_max, not +max_fps
and +maxplayers, not -maxplayers

I haven't tested -maxplayers but why use - when everyone else is using +?

also you forgot to mention some of the important ones like -autoupdate, +ip, -ip, +port, etc...
#4
Maybe if you woulda read my post I was only posting a few. As i even said that. Yeah it is +fps_max 600. Sorry guys.
#5
hexitnow Wrote:Maybe if you woulda read my post I was only posting a few. As i even said that. Yeah it is +fps_max 600. Sorry guys.

you were posting a few but you made a mistake. I was just pointing that out indirectly.
and -autoupdate, +ip, -ip, and -port are not cvar values
#6
Well if you typed as quickly and thought as quickly as I then you would run into typing errors like that also. Go look at the top in the tutorials section it is -maxplayers. And i also never said any of those were cvar values. Look more closely. I merely stated you can use "+" with a cvar. Go ahead and try it. Try +sv_gravity 250 and tell me what ur grav is after u start the server.
#7
hexitnow Wrote:there is -tickrate, +max_fps, -command, -game, +map, -maxplayers, -console, -gui, you can use any cvar with the + addition. There is quite a few but thats a few basic ones.

you said "there is quite a few (cvars)"

and I added -autoupdate, +ip, -ip, and -port

and your reply was

"Maybe if you woulda read my post I was only posting a few"

I read your post and you were missing some important starup commands that are NOT cvar values.

So now, you should read my posts again before telling me to read your posts.

I never said you can't use +sv_gravity by the way. Do you even know the difference between + and - in front of a startup command?


and why are you trying to type as quickly as possible when somebody is asking for help? is that how you help others? making errors and helping others don't go together.
#8
I never said they were cvar values. As they are startup commands and thats what I meant. Sorry if I didnt clarify it good enough so YOU could understand it. I also wasnt trying to post all the startup commands, just a few. Like I said in my post. I think you might need to ask yourself that question stating its +maxplayers, when in reality it is -maxplayers.
#9
http://www.srcds.com/db/engine.php?subaction=showfull&id=1097362093&archive=


@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game cstrike +map de_dust +maxplayers 16
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds



http://www.srcds.com/db/engine.php?subaction=showfull&id=1098643920&archive=


#!/bin/sh
echo "Starting Cs:Source Server"
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate



now where do you see -maxplayers?
#10
I am very sorry but I go with what I am told to do. And im pretty sure the people that started this site know more then you. Actually alot more. Go click the tutorials button on the top and tell me if its +maxplayers or -maxplayers. If you look under the tutorials section what your looking at is the batch file to start the server. Yeah thats different. But were talking about startup commands. And im sorry but the startup command is -maxplayers. Look under section 3.I am walking away from this topic. Post if you want. Its done and over with.
#11
hexitnow Wrote:I am very sorry but I go with what I am told to do. And im pretty sure the people that started this site know more then you. Actually alot more. Go click the tutorials button on the top and tell me if its +maxplayers or -maxplayers. I am walking away from this topic. Post if you want. Its done and over with.

http://www.srcds.com/db/engine.php?subaction=showfull&id=1097362093&archive=


@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game cstrike +map de_dust +maxplayers 16
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds



http://www.srcds.com/db/engine.php?subaction=showfull&id=1098643920&archive=


#!/bin/sh
echo "Starting Cs:Source Server"
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate



now where do you see -maxplayers?

and what makes you say that people who started this website know much more than me? at least I know for sure that I kow MUCH MUCH more than you. You have very shallow knowledge in steam based dedicated server configuration. I have a game hosting company and a software company managed by my partners. Remember that there's always people who know more than you and I'm one of them.
#12
Look under section 3. Thats the startup command section. Your looking under the part that tells you how to create a batch file to start your server then start it back up if it crashes. Look more closely once again.
#13
Just for you straight from the site
3) Starting srcds

First edit (or create) c:\srcds\cstrike\cfg\server.cfg like you want it to be. Now we are ready to run the srcds.
Click Start, Run, type in the box there:
c:\srcds\srcds.exe -console -game cstrike +map de_dust -MAXPLAYERS 16 -autoupdate
and press enter.
Your srcds is now up and running. (-game hl2mp if it's a HL2DM server ofcourse)
If you want to use the GUI mode, with the interface do not add any options to it. (just srcds.exe)

Extra) Restarting srcds at crash

Batch files are little script files that tell Windows what to do. If srcds crashes, it will not restart like possible under Linux. (Linux uses a "Script" file too)
What we are going to do is make sure that as soon HLDS suddenly quits it will restart. First we open notepad. What we write in there is the following:
Command(s):
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game cstrike +map de_dust +maxplayers 16
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds

Replace the marked part with your own commandline and values. Save the file as C:\srcds\srcds.bat in notepad (NOT .txt) and next time click the srcds.bat file. If you need to close srcds, close the hlds window and press Y (depending on language) at the Terminate batch question. Please do note this does not work with crashes/errors that involve a Windows error box.

Revision 2:: HLDSUpdatetool doesn't require login information anymore.
Revision 2.1: Fixed link (Thanks SpliT)

#14
I am so glad you just made that post. You just further proved my point. Thank you. LAWL.
#15
I just did a test with +maxplayers and -maxplayers

When I used -maxplayers, player slots didn't register properly.

I had to use sv_visiblemaxplayers to define the correct number of player slots.
Anyway, it is possible to use -maxplayers so I owe you a little apologize here.


Forum Jump:


Users browsing this thread: 7 Guest(s)