Jump to content

Export lua problem


Recommended Posts

Can anyone tell me why these won't play nice together ...they work fine if I delete one or the other but don't seem to work together...

 

 

 

local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua')

 

dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]])

 

-- load the DCS ExportScript for DAC and Ikarus

dofile(lfs.writedir()..[[scripts\DCS-ExportScript\ExportScript.lua]])

i7-9700K @ 5.0 l MSI MPG Z390 Gaming Plus MB l 32GB DDR4 2400 Ram l Sabrent Rocket Q 1TB M.2 l EVGA 3080 FTW l Win10 Pro l WarBRD/Warthog Hotas l VKB MkIV rudder Pedals l Reverb G2

Link to comment
Share on other sites

Hey Smil ........Interesting .....the Ikarus works as written when it's alone ...totally different ...hmm

i7-9700K @ 5.0 l MSI MPG Z390 Gaming Plus MB l 32GB DDR4 2400 Ram l Sabrent Rocket Q 1TB M.2 l EVGA 3080 FTW l Win10 Pro l WarBRD/Warthog Hotas l VKB MkIV rudder Pedals l Reverb G2

Link to comment
Share on other sites

-- load the DCS ExportScript for DAC and Ikarus

dofile(lfs.writedir()..[[scripts\DCS-ExportScript\ExportScript.lua]])

intelliVIBE = true

 

local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[scripts\DCS-SimpleRadioStandalone.lua]])

 

Here is everything in my export.lua. I think line 1 is for SRS, then my obsolete feedback seat, then Ikarus last.

Link to comment
Share on other sites

It looks like the current DCS ExportScript for DAC and Ikarus does not preserve existing callback functions, it simply overwrites them. This means it will remove any callbacks from things that were loaded before it.

 

If you load the ExportScript first and Simshaker second, it should work (because Simshaker checks for existing callback functions and makes sure they get called).

 

I'll ask McMicha to add handling of existing callbacks in their thread on the German boards.

  • Like 2
Link to comment
Share on other sites

Yes! ....Thanks guy's, I changed it around and got it going now .....changed the order to this.

 

 

-- load the DCS ExportScript for DAC and Ikarus

dofile(lfs.writedir()..[[scripts\DCS-ExportScript\ExportScript.lua]])

 

 

local SimShakerlfs=require('lfs'); dofile(SimShakerlfs.writedir()..'Scripts/SimShaker.lua')

 

dofile(lfs.writedir()..[[scripts\SimShaker-export-core\ExportCore.lua]])

i7-9700K @ 5.0 l MSI MPG Z390 Gaming Plus MB l 32GB DDR4 2400 Ram l Sabrent Rocket Q 1TB M.2 l EVGA 3080 FTW l Win10 Pro l WarBRD/Warthog Hotas l VKB MkIV rudder Pedals l Reverb G2

Link to comment
Share on other sites

  • 1 month later...

Hello Sully_pa,

 

the new DCS ExportScript version fixes this problem.

Please download and try it!

 

CU Micha

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

  • DCS ExportScript
  • D.A.C. DCS to Arcaze Communicator
  • Ikarus a new Virtual Cockpit Software

Deutscher Forums Thread

English Forums Thread

 

Hard/Software: AMD Ryzen 7 1800X, 32 GiB RAM, extra SSD for Windows 10 and DCS World, AMD Vega Frontier Edition with 16 GiB VRAM

Link to comment
Share on other sites

Hello Sully_pa,

 

the new DCS ExportScript version fixes this problem.

Please download and try it!

 

CU Micha

 

Great ! Thanks!

i7-9700K @ 5.0 l MSI MPG Z390 Gaming Plus MB l 32GB DDR4 2400 Ram l Sabrent Rocket Q 1TB M.2 l EVGA 3080 FTW l Win10 Pro l WarBRD/Warthog Hotas l VKB MkIV rudder Pedals l Reverb G2

Link to comment
Share on other sites

  • Recently Browsing   0 members

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