SRCDS Steam group


Autorestart server on changelevel to broken map
#1
Hi Guys,

Since a few days I'm running a SRCDS (CS:GO) on my Windows server.
The intention is to run some custom maps, so from time to time there will be some broken maps and they are crashing the server, because some related/required files are missing.

I've everything set-up in by batch (.bat) script to automatically restart the server in case of crash/failure, and in some scenarios this works perfect.
But, when for example changing the map to fy_iceworld_csgo, the servers opens a popup first to display the error, which need to be closed first before the script can continue.

Is there any way around this, auto close popup or dont open a popup?
When changing the map to fy_iceworld_csgo, the following crash occurs
[Image: 2vkokNJVJ6ePaOCOTM3UBZBYlHTAtIQJDBTCrUdL...=1600x1200]

When I close this, or click one of the ignore buttons, the batch script continues and my server restarts.
I'd like this click/close to happen automatically, is this possible?
Please not that the always ignore button does not work.

I've also uploaded the broken iceworld map here: https://www.dropbox.com/s/dx6hibeja5e7q6j/fy_iceworld_csgo.bsp?dl=0

Thanks for feedback guys!

Kind Regards,
Hephie
Reply
#2
Have you tried adding -nocrashdialog to your commandline?
Reply
#3
A (NodeJS) server should not stop for no reason. Most of the time, it's because of a 500 Error that have not been catched and stop the server, then you will have to restart it. forever is using node by default to start your server.

nodemon is a npm package that restart your server when the code changes or when your server stops.

You can use forever and nodemon together by doing :

forever start nodemon --exitcrash app.js
or

forever start -c nodemon app.js
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)