SRCDS Steam group


[Windows] Scheduling your server to restart automaticly
#16
gamegod432 Wrote:Kill.bat only closes SRCDS, if you want to close watchdog.bat too, add this line inside Kill.bat (right click>edit)
Code:
kill -f watchdog.bat
Note: If you kill srcds.exe and watchdog.bat, srcds.exe will not be started again, this will just close the server

Thanks!
[Image: cstrike2-02.png]
Reply
#17
gamegod432 Wrote:Kill.bat only closes SRCDS, if you want to close watchdog.bat too, add this line inside Kill.bat (right click>edit)
Code:
kill -f watchdog.bat
Note: If you kill srcds.exe and watchdog.bat, srcds.exe will not be started again, this will just close the server

Is there some way to edit the "WatchDog Batch file" to go to the "Windows Task Manager/Processes" & set the server priority to High?
[Image: cstrike2-02.png]
Reply
#18
I'm not sure because i haven't tested it, but adding
Code:
-priority High
or
Code:
-High
into watchdog.bat should make srcds start with high priority.
Reply
#19
gamegod432 Wrote:I'm not sure because i haven't tested it, but adding
Code:
-priority High
or
Code:
-High
into watchdog.bat should make srcds start with high priority.

Thanks I`ll try it.
[Image: cstrike2-02.png]
Reply
#20
gamegod432 Wrote:I'm not sure because i haven't tested it, but adding
Code:
-priority High
or
Code:
-High
into watchdog.bat should make srcds start with high priority.

Does it matter where exactly where I put -priority High or -High into the srcds command line?
I tryed them both & checked the srcds priority & both times it read normal.
I must be doing it wrong.
Here it is.
Code:
@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 -game cstrike -priority High -tickrate 100 +fps_max 1000 -console +map gg_simpsons_x -heapsize 1048576 -maxplayers 20 -autoupdate
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
[Image: cstrike2-02.png]
Reply
#21
I don't know exactly where to put -high or whether or not to use -high or -priority high since i have not tested either one. And right now, I'm fairly busy so i cannot test it. I hope that you can figure it out yourself.
Reply
#22
gamegod432 Wrote:I don't know exactly where to put -high or whether or not to use -high or -priority high since i have not tested either one. And right now, I'm fairly busy so i cannot test it. I hope that you can figure it out yourself.

Ok.
Thanks anyway.
[Image: cstrike2-02.png]
Reply
#23
It's like this:
Code:
start /wait /high srcds.exe -game cstrike -tickrate 100 +fps_max 1000 -console +map gg_simpsons_x -maxplayers 20
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#24
Drocona Wrote:It's like this:
Code:
start /wait /high srcds.exe -game cstrike -tickrate 100 +fps_max 1000 -console +map gg_simpsons_x -maxplayers 20

Thanks alot I`ll try it out.
[Image: cstrike2-02.png]
Reply
#25
bucsrno1 Wrote:
Drocona Wrote:It's like this:
Code:
start /wait /high srcds.exe -game cstrike -tickrate 100 +fps_max 1000 -console +map gg_simpsons_x -maxplayers 20

Thanks alot I`ll try it out.

Works great! Thanks again!
[Image: cstrike2-02.png]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)