I have an issue where when I am using the HARM and I select the WPN on the right MFD DCS crashes to desktop. I have narrowed it down to the Export.lua causing the issue but am not sure what in the script is the problem.
the only thing in the Export.lua is this script:
local wwtlfs=require('lfs')
dofile(wwtlfs.writedir()..'Scripts/wwt/wwtExport.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]])
I have an issue where when I am using the HARM and I select the WPN on the right MFD DCS crashes to desktop. I have narrowed it down to the Export.lua causing the issue but am not sure what in the script is the problem.
the only thing in the Export.lua is this script:
local wwtlfs=require('lfs') dofile(wwtlfs.writedir()..'Scripts/wwt/wwtExport.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]])