fargo007 Posted May 13, 2019 Posted May 13, 2019 We have a couple dedicated servers at BSD, and I thought I'd share how I'm managing one of them. Here's my quick 'n dirty method for doing a dedicated DCS server that requires no manual intervention when the server physically reboots. 1. Get the restart on crash program. It's free. https://www.softpedia.com/get/System/File-Management/Restart-on-Crash.shtml This handy little program checks for a running process on a time interval. If it's not found running, it starts it. 2. Add RoC to your startup programs. 3. Here's how you configure it to start DCS with the chosen options. (I use --server --norender --webgui) There's no lua to edit and absolutely nothing to change in the DCS install itself. When the dcs server crashes or stops responding, or when the computer itself starts up, it will detect DCS is not running, and start it. No manual intervention required. It works great. Have fun. Don't suck. Kill bad guys. https://discord.gg/blacksharkden/
ElementLT Posted May 13, 2019 Posted May 13, 2019 great little program indeed! Coming Soon... The Fraternity Returns : https://thefraternitysim.com/
Rudel_chw Posted May 13, 2019 Posted May 13, 2019 Thanks for sharing this tip .. I will implement it on my server :) For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
ED Team NineLine Posted May 14, 2019 ED Team Posted May 14, 2019 Nice! Forum Rules • My YouTube • My Discord - NineLine#0440• **How to Report a Bug**
Maverick87Shaka Posted May 14, 2019 Posted May 14, 2019 If I'm not wrong this method after reboot works only if you have the AutoLogON feature enabled on your windows machine, as general IT tips, it's not recommended for internet exposed machine ;) But it's a good starting point. FlighRIG => CPU: RyZen 5900x | RAM: 64GB Corsair 3000Mhz | GPU: nVIDIA RTX 4090 FE | OS Storage: SSD NVMe Samsung 850 Pro 512GB, DCS Storage: SSD NVMe Sabrent 1TB | Device: Multipurpose-UFC, VirPil T-50, TM WARTHOG Throttle, TrackHat, MFD Cougar with screen. Our Servers => [ITA] Banshee | Krasnodar - PvE | PersianConquest PvE Live Map&Stats | Syria Liberation PvE Conquest Support us on twitch subscribing with amazon prime account linked, it's free!
fargo007 Posted May 14, 2019 Author Posted May 14, 2019 If I'm not wrong this method after reboot works only if you have the AutoLogON feature enabled on your windows machine, as general IT tips, it's not recommended for internet exposed machine ;) But it's a good starting point. For some that might be a consideration but all my server does is run DCS so for me that's not a concern. Have fun. Don't suck. Kill bad guys. https://discord.gg/blacksharkden/
Maverick87Shaka Posted May 14, 2019 Posted May 14, 2019 For some that might be a consideration but all my server does is run DCS so for me that's not a concern. Yeah, it's not a big deal, it's just to remember that it's required for works after reboot :thumbup: FlighRIG => CPU: RyZen 5900x | RAM: 64GB Corsair 3000Mhz | GPU: nVIDIA RTX 4090 FE | OS Storage: SSD NVMe Samsung 850 Pro 512GB, DCS Storage: SSD NVMe Sabrent 1TB | Device: Multipurpose-UFC, VirPil T-50, TM WARTHOG Throttle, TrackHat, MFD Cougar with screen. Our Servers => [ITA] Banshee | Krasnodar - PvE | PersianConquest PvE Live Map&Stats | Syria Liberation PvE Conquest Support us on twitch subscribing with amazon prime account linked, it's free!
ShaDowz Posted June 18, 2019 Posted June 18, 2019 Very nice! Is there a way to auto-start a mission also after server restart?
RuoYe Posted May 23, 2020 Posted May 23, 2020 :RESTART tasklist /FI "username eq administrator" | find /C "DCS.exe" > temp.txt set /p num= < temp.txt del /F temp.txt echo %num% if "%num%" == "0" start /D "F:\DCS DCS Directory" DCS.exe ping -n 10 -w 60000 127.0.0.1 > temp.txt del /F temp.txt goto RESTART 蜂鸟特技飞行表演队 HummingBird Aerobatics Team Video DCS Server: dcs.cvfly.net -- TS3: ts3.cvfly.net -- QQ群: 42189614
Madfish Posted May 27, 2020 Posted May 27, 2020 Yeah, it's not a big deal, it's just to remember that it's required for works after reboot :thumbup: Generally that's good advice but is it applicable here? Just out of curiosity: have you managed to run the dedicated servers as a service, so without autologon? Best regards
Recommended Posts