chromium Posted October 23, 2015 Share Posted October 23, 2015 (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 October 25, 2015 by chromium 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. Link to comment Share on other sites More sharing options...
chromium Posted October 25, 2015 Author Share Posted October 25, 2015 50 views, 0 answer... means difficult question :p. If I solve it, I'll post here for anyone that may be interested in the future. I will also vary the title of the thread. 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. Link to comment Share on other sites More sharing options...
FSFIan Posted October 25, 2015 Share Posted October 25, 2015 Did you have access to these before -- if so, how did you access the values and which update broke your method of access? If not, what problem are you actually trying to solve in the first place? Maybe there is a different solution. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua Link to comment Share on other sites More sharing options...
chromium Posted October 25, 2015 Author Share Posted October 25, 2015 (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 October 25, 2015 by chromium 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. Link to comment Share on other sites More sharing options...
chromium Posted October 30, 2015 Author Share Posted October 30, 2015 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/ 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. Link to comment Share on other sites More sharing options...
ajax Posted October 30, 2015 Share Posted October 30, 2015 Try Baretail: https://www.baremetalsoft.com/baretail/ I'm able to see messages as they are added to dcs.log. Link to comment Share on other sites More sharing options...
chromium Posted October 30, 2015 Author Share Posted October 30, 2015 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/ 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. Link to comment Share on other sites More sharing options...
chromium Posted October 31, 2015 Author Share Posted October 31, 2015 (edited) EDIT: reverted. Still back to the first problem, but solved the bigger secondari issues with minizip module. Edited October 31, 2015 by chromium 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. Link to comment Share on other sites More sharing options...
Recommended Posts