Jump to content

Recommended Posts

Posted (edited)

Hello,

 

I'm looking for the build in functions or variables linked to the "dispatcher" entries in the dcs.log. Those entries refer to the loaded mission path, that I need to fix DAWS Save Mission.

 

Does anyone know where I could find it?

Edited by chromium

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

Posted (edited)

I didn't had access. It's an issue that Pikey highlighted right here.

 

The other solution for me would be to read the dcs.log file at the save moment and look for the lastest path written there. But I honestl don't like that solution so much.

 

EDIT:

my problem is simple: DCS Save Mission update the "mission" and "warehouse" files using ongoing mission data. I need the path of the original .miz file to use that as a base for the updated "mission" and "warehouse" files, that will overwrite the existing one.

Edited by chromium

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

Posted

ok maybe reading the log is the most viable solution.... but it seems that I can't read the dcs.log file during the mission (if I try to read the mission, the resulting variable is nil when I try to cycle every lines).

 

I tried opening in "r" and "r+" mode, no way.

Any Ideas?

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

Posted

That might work, but I need to integrate this inside the mod and launch it inside the SSE whitout executing the exe... I'm not a programmer and I honestly don't know how to begin doing this :(. I don't think it could be a viable solution in this case :(

 

I'm looking inside the DCS lua files, trying to found where the dispatcher entries are created... I hope to find a solution soon.

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

  • Recently Browsing   0 members

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