SRCDS Steam group

srcds.exe has stopped working, any way to stop this?
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.
Post your batch script please.
Whoops, will do:

@echo off
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
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
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]

Forum Jump:

Users browsing this thread: 1 Guest(s)