chromium Posted July 26, 2018 Posted July 26, 2018 Hello everyone. Given a mission loaded on a server, let's say "testmission.miz", I need to get this after "n" hour of execution: Step 1 - a custom mod edit "testmission.miz", change things and save as "testmission_edited.miz" Step 2 - server stops by custom hooks code; Step 3 - custom hooks code delete testmission.miz and rename testmission_edited.miz in testmission.miz Step 4 - custom hooks code load again "testmission.miz" (which has been edited) Well, DAWS provide step 1, other step are ok if: 1) I don't stop the server 2) I don't try to delete/overwrite/rename "testmission.miz" (cause it's used by DCS). If I stop the server, any reload thing makes DCS crash Do you know a way to perform those steps without external program, using DCS SSE & API lua code? thanks, it's important for future persistent server mod developement. Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Github for latest version: https://github.com/Chromium18/DSMC
Recommended Posts