PSYKOnz Posted December 28, 2019 Posted December 28, 2019 hi there, I'm looking to start the DCS server when my server pc starts. so when windows boots and logs in I want the DCS server to start, so I don't manually have to launch it. Does anybody know if this can be done? if so how do I go about it? Tomcat, Tomcat über allen
Madfish Posted December 28, 2019 Posted December 28, 2019 Hi, you could do this by placing it in autostart. E.g. for a default admin account here: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup Your shortcut would be the default one for the server or something like this: "C:\Program Files\Eagle Dynamics\DCS World OpenBeta Server\bin\DCS.exe" --server --norender Best regards
ElementLT Posted December 30, 2019 Posted December 30, 2019 also take a look at a little program called "process lasso"! its pretty cool and not only can it start DCS at startup it can also relaunch it if it so happens to crash keeping everything for you hands off. https://bitsum.com/ Coming Soon... The Fraternity Returns : https://thefraternitysim.com/
PSYKOnz Posted January 6, 2020 Author Posted January 6, 2020 Hi, you could do this by placing it in autostart. E.g. for a default admin account here: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup Your shortcut would be the default one for the server or something like this: "C:\Program Files\Eagle Dynamics\DCS World OpenBeta Server\bin\DCS.exe" --server --norender had already tried that. I also re-tried it again following your instructions just in case I made a mistake, no joy, I also tried doing it through task scheduler again no joy... looks like ill give process lass a go, now I just need to figure out how to work it! is there a way to launch DCS server via a .bat file? that could be another option Tomcat, Tomcat über allen
ElementLT Posted January 6, 2020 Posted January 6, 2020 yes you sure can use a batch file to start dcs. StartDCS.bat @echo off :loop Start "" /high "C:\Program Files\Eagle Dynamics\DCS World OpenBeta\bin\DCD.exe" timeout /t 14400 >null taskkill /f /im DCS.exe >nul goto loop The above code also kills and restarts the server after 8hrs(14000 sec) change or remove to work for you. Here is an old blog post of mine you may also find useful. A little old but still have some good stuff. How to Properly Setup a DCS World Dedicated Server https://thefraternitysim.com/how-to-properly-setup-a-dcs-world-dedicated-server/ Coming Soon... The Fraternity Returns : https://thefraternitysim.com/
PSYKOnz Posted January 8, 2020 Author Posted January 8, 2020 the .bat is working great, next question, is there a way to get it to auto-update when there is an update? at the moment when an update comes through I have to manually start the download and install it then wait for the server to start, is there a way to automate that process? Tomcat, Tomcat über allen
PSYKOnz Posted January 13, 2020 Author Posted January 13, 2020 well I've managed to do it, a fully working remote bootable server, anytime anywhere I can boot the server and remote access and control it very happy, thanks for the help! Tomcat, Tomcat über allen
Recommended Posts