DirtyMike0330 Posted April 7, 2022 Posted April 7, 2022 I have recently modified my VM running a dedicated server with two instances to: 1. Restart the server every 8 hours, utilizing windows task scheduler to kill DCS and a restart batch file to turn the server back on 2. Added server restart warnings in the missions themselves This is all working fine, however, when the server restarts, the same mission from the mission list loads every time. I know you can manually run a different mission or allow folks to change missions via slmod, but this then negates the 30 min, 15 min, 5 min warnings in the missions themselves. Does anyone know how to get DCS to load a mission at random, out of the mission list, when the server boots up? PC: ASUS TUF 4090oc - Ryzen 7950X3D - 32gb DDR5 6000 - Quest Pro Sims: DCS, IL2, MSFS Pilot Skill: Drunk guy from Independence Day RIO Skill: Goose (post neck-break)
Eld0r Posted July 8, 2022 Posted July 8, 2022 (edited) I did a completely different approach: I include a trigger inside every mission: once mission time in seconds is greater than 28800 (8 hours) -> event: end the mission + message to all. Tada, you have a regular mission end and your dedicated server will shuffle to another mission of the list as intended. Edit: to have the shuffel work already on dedicated startup would be neat, tho. Edited July 10, 2022 by Eld0r twitch.tv/eld0r — Chaos, dumme Sprüche, Chaos und keine Wiederholungen.
Recommended Posts