Andy t Posted November 12, 2020 Posted November 12, 2020 I am trying to use win wing's exports along with dcs export scripts. It appears that these two "step on each other's toes". Whichever line occurs later in the file, "wins". In the attached example of my export.lua below, the win wing's functionality wouldn't work, while DCS-export scripts (used by ctytler's excellent streamdeck plugin) works. By putting the win wing's export, the behavior is reversed. Before winwing, I was having the same issue with DCS-UFC and DCS-exportscripts not coexisting as well. What could be causing this issue with my export.lua? Are others able to have multiple apps that rely on DCS state export co-exist? Any guides on interpreting DCS's export.lua and other .lua files? local wwtlfs=require('lfs') -- win wing dofile(wwtlfs.writedir()..'Scripts/wwt/wwtExport.lua') local Tacviewlfs=require('lfs');dofile(Tacviewlfs.writedir()..'Scripts/TacviewGameExport.lua') -- load the DCS ExportScript for DAC and Ikarus dofile(lfs.writedir()..[[scripts\DCS-ExportScript\ExportScript.lua]]) local vaicomlfs = require('lfs'); dofile(vaicomlfs.writedir()..[[scripts\VAICOMPRO\VAICOMPRO.export.lua]]) pcall(function() local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[Mods\Services\DCS-SRS\Scripts\DCS-SimpleRadioStandalone.lua]]); end,nil);
DaKu Posted January 24, 2021 Posted January 24, 2021 Hi Andy, have you found a solution for your problem? It looks like I am currently running into a very similar problem. Many thanks Daniel
Simm0 Posted June 29, 2021 Posted June 29, 2021 I believe I have this working... Was having the same issue myself, whichever was down the bottom was winning. Updated the below, not actually sure if this solved it or if I was doing something wrong before this, need to test more tomorrow. My WW panels and throttle are all syncing now and I can see UFC data on my stream deck though. local vaicomlfs = require('lfs'); dofile(vaicomlfs.writedir()..[[Scripts\VAICOMPRO\VAICOMPRO.export.lua]]) -- load the DCS ExportScript for DAC and Ikarus local dcsexportlfs = require('lfs'); dofile(dcsexportlfs.writedir()..[[Scripts\DCS-ExportScript\ExportScript.lua]]) local wwtlfs = require('lfs') dofile(wwtlfs.writedir()..[[Scripts\wwt\wwtExport.lua]])
hreich Posted October 20, 2021 Posted October 20, 2021 (edited) On 6/29/2021 at 1:31 PM, Simm0 said: I believe I have this working... Was having the same issue myself, whichever was down the bottom was winning. Updated the below, not actually sure if this solved it or if I was doing something wrong before this, need to test more tomorrow. My WW panels and throttle are all syncing now and I can see UFC data on my stream deck though. local vaicomlfs = require('lfs'); dofile(vaicomlfs.writedir()..[[Scripts\VAICOMPRO\VAICOMPRO.export.lua]]) -- load the DCS ExportScript for DAC and Ikarus local dcsexportlfs = require('lfs'); dofile(dcsexportlfs.writedir()..[[Scripts\DCS-ExportScript\ExportScript.lua]]) local wwtlfs = require('lfs') dofile(wwtlfs.writedir()..[[Scripts\wwt\wwtExport.lua]]) Thanks..it seems like you helped with same problem for me Edited October 20, 2021 by hreich [sIGPIC][/sIGPIC] Pilot from Croatia
Recommended Posts