chromium Posted January 13, 2019 Posted January 13, 2019 I need help. I REALLY need help. My issue is simple: I have the code to update a miz file, as DAWS did, but I need to do that on the same file the user (or host) loaded as a mission... after the mission is closed. I want to create a simple "campaign" using the campaign manager and loading always the same single file every time... but I can't update that particular file cause it's "in use". I need a chunk, without using external software or code (It mean that it has to rely only on API or server scripting environment), that will overwrite my file with another one I already created as soon as that file is not "in use" anymore. Or that will retry multiple time till it's done. I tried postponing the "overwrite" action... but it doesn't work and It's not reliable. Could anyone help me? thanks in advance. Thanks. Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
BR55Sevas Posted January 14, 2019 Posted January 14, 2019 Good question, I have done similar, but I`ve used external software - winrar + console bat file. But anyway DCS are not frees the loaded mission, so I have to create miz copy file and load it. PS Doesn't ED helps to their 3-rd parties in tech question? МиГ-29 Fly by wire СДУ Su-27SM second display panel https://www.youtube.com/embed/videoseries?list=PL_2GGwNpWNp_fKXfRtDhIk8s5Jf4a9XHS http://berkuts.ru Пилотажный сервер с роботом | Aerobatic server with PhantomControl
chromium Posted January 14, 2019 Author Posted January 14, 2019 can answer only for the "PS". I'm not actually an effective 3rd party, I'm more a "modder". Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
Recommended Posts