ID:1325479
 
(See the best response by A.T.H.K.)
Just one quick question, is it possible to somehow monitor the dream daemon process(it should be external program), and restart it automatically should crash occur? I recently had few random crashes (Program not responding..). I don't seem to be able to find the code error, so i want to set this up as temporary solution for this problem.

Just one last thing, my OS is Windows Server 2008.

Thanks.
Best response
It is possible but would be using third party programs, not using BYOND itself.

Here's the first result I found from google - http://www.knas.se/Applications/Restarter.aspx

It even supports your OS!
This is exactly what i needed. However, there is little problem, and that is Byond's default setting "safe". I require it to be on Trusted by default. Also, it seems to only open the daemon window, and won't start the game itself (by clicking that green "GO" button. Is it possible to use startup parameters to start the game with these settings, somehow?
You might need to make a batch file .bat

To cd to the games directory run DreamDaemon.exe game.dmb port -trusted

I'm assuming that's how you do it on Windows you can parse DD parameters on Linux so I doubt it's any different.

You may be able to make a shortcut with those parameters too.