SRCDS Steam group


srcds.exe has stopped working, any way to stop this?
#1
 
The bug is irrelevant, what is annoying is the fact that when it does stop working, it still "runs", meaning the batch file doesn't restart it, and the server sits down. Is there anyway to make windows auto-close these problems?

Windows Web 2008 btw.
Rawr!
Reply
#2
Post your batch script please.
Reply
#3
Whoops, will do:

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 Watchdog
:srcds
echo (%time%) srcds started.
start /wait /high ZombifiedWorld1\orangebox\srcds.exe -console -game garrysmod -tickrate 40 -port 27016 -exec server.cfg +maxplayers 24 +map zm_cleanup_b2 +r_hunkalloclightmaps 1 +sv_defaultgamemode "ZombifiedWorld"
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
Rawr!
Reply
#4
Batch files always wait for the program to be killed, there is really no way to stop it using a batch file. You either need to get the one server checker program, or install it as a service using firedaemon.
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)