No More Room in Hell

No More Room in Hell

View Stats:
󠀡󠀡 Nov 3, 2013 @ 4:20am
Dedicated server crashes often. I need a way to have it auto-restart.
I have srcds.exe on a loop in a batch file so it starts back up again if it quits. The problem is, it crashes and pops up the "srcds.exe has stopped working" window. Is there a way to have the server simply quit if it crashes?

Thanks,
< >
Showing 1-8 of 8 comments
FLEX Nov 3, 2013 @ 5:34am 
I dont have srcds.exe for this game... How create Dedicated server with srcds ?
DarK_St3alth Nov 3, 2013 @ 8:51am 
You are describing a issue in which Windows handles crashes of programs.

There maybe way to turn off such "functionality", and a google search would be the answer.
It's possible with a registry edit I know, depends on the Os.
Telyn Nov 3, 2013 @ 9:37am 
If you have the money invest in Firedaemon pro, probably the most useful software I've bought for my server in a while. It lets you run programs as a service which will do what you want and it lets you have complete control over many different aspects of the server, it does have a 30 day trial if you want to mess with it. http://www.firedaemon.com/firedaemon-pro.php
Telyn Nov 3, 2013 @ 9:37am 
If you have the money invest in Firedaemon pro, probably the most useful software I've bought for my server in a while. It lets you run programs as a service which will do what you want and it lets you have complete control over many different aspects of the server, it does have a 30 day trial if you want to mess with it. http://www.firedaemon.com/firedaemon-pro.php
󠀡󠀡 Nov 3, 2013 @ 11:46am 
Firedaemon pro seems interesting, but I doubt I need such a heavy duty solution to my problem.

Ideally the server software would have the option of not crashing in a way that prevents it from restarting on an operating system which 80% of the world uses. I've had L4D2 server crash in a similar manner, although less often, so valve must at least be aware of the problem.

Dark_Stealth's answer was not useful as I already googled for a solution multiple times. I came here asking for help as a last resort because it is much more time consuming than a simple google search.

I think I found a way to solve this problem using an autohotkey script which I compiled into an executable. I have it start in the beginning of my server batch file outside of the main loop. It watches for the crash window and kills the process. It also watches for the server batch file window and quits when it's no longer running. I'm now waiting for my server to crash, which seems to be taking longer now that I need it to do so.

If anyone has a better solution I'd like to hear it.
DarK_St3alth Nov 3, 2013 @ 11:49am 
Originally posted by quaixor:
Dark_Stealth's answer was not useful as I already googled for a solution multiple times. I came here asking for help as a last resort because it is much more time consuming than a simple google search.

You should give me a dollar, I did your work for you:

http://www.neowin.net/forum/topic/1055744-windows-7-disable-x-application-has-stopped-working-dialog/
󠀡󠀡 Nov 3, 2013 @ 1:10pm 
Originally posted by DarK_St3alth - Linux:
You should give me a dollar, I did your work for you:

http://www.neowin.net/forum/topic/1055744-windows-7-disable-x-application-has-stopped-working-dialog/

Thanks. I wrote a small program which crashes to test it out and it does exactly that -- it hides the UI. As this is a machine I use every day I'll have to weigh the pros and cons of not knowing when when other programs crash. I think in this case my AutoHotkey solution works better.

What I previously tried is excluding the application from WER (Windows Error Reporting) and turning off WER altogether. Unfortunately instead of turning off the crash dialog it merely changes it.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Nov 3, 2013 @ 4:20am
Posts: 8