Jump to content

Recommended Posts

Posted

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.

ChromiumDis.png

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.

Posted

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?

Posted

can answer only for the "PS". I'm not actually an effective 3rd party, I'm more a "modder".

ChromiumDis.png

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...