SRCDS Steam group


missing file location
#1
this is the first time i am trying to use srcds
i used the hldsupdatetool with this command line
c:\srcds\hldsupdatetool -command update -game "garrysmod" -dir "c:\srcds"
when i tried to run the srcds.exe it was not in the c:\srcds folder

i am trying to do this on my personal pc running windows 7 *64
how do i run the server?
Reply
#2
(12-07-2010, 11:07 AM)Cynori Wrote:  this is the first time i am trying to use srcds
i used the hldsupdatetool with this command line
c:\srcds\hldsupdatetool -command update -game "garrysmod" -dir "c:\srcds"
when i tried to run the srcds.exe it was not in the c:\srcds folder

i am trying to do this on my personal pc running windows 7 *64
how do i run the server?

Is the srcds.exe in the folder "orangebox"?
Need help? Join my Teamspeak 203.98.81.94:9987
Reply
#3
(12-07-2010, 11:39 AM)MIG Wrote:  Is the srcds.exe in the folder "orangebox"?

yes but it doesn't do anything when i run it
Reply
#4
(12-07-2010, 08:35 PM)Cynori Wrote:  yes but it doesn't do anything when i run it
Are you using a startup line?
It should look something like this

c:\srcds\orangebox\srcds.exe -console -game garrysmod +map gm_construct +port 27015 +maxplayers 16
Need help? Join my Teamspeak 203.98.81.94:9987
Reply
#5
The big tutorial thingy on the main page Wrote: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

Update: We recommend the enhanced version of this batch script.

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.
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)