Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to use in multiplayer #131

Open
J0KER0612 opened this issue Jan 5, 2024 · 3 comments
Open

unable to use in multiplayer #131

J0KER0612 opened this issue Jan 5, 2024 · 3 comments

Comments

@J0KER0612
Copy link

it runs perfectly in single-player mode , but I cannot use it in multiplayer

@Nordphilz
Copy link

did you ever manage to fix this? I got the same issue and I'm kinda disappointed that nobody answered yet.

@J0KER0612
Copy link
Author

did you ever manage to fix this? I got the same issue and I'm kinda disappointed that nobody answered yet.

I think I solved the problem, and it might have something to do with the ordering of the code in the Export.Lua file. Since I have multiple similar mods (like Theway, iUFCExport, DCS-Movingmap, that sort of thing), there could be an issue with the order of the program calls. Also attached is my Export.Lua file, hope it helps.

local iUFClfs=require('lfs');
dofile(iUFClfs.writedir()..'Scripts/iUFCExport.lua')

-- load the DCS ExportScript for DAC and Ikarus
dofile(lfs.writedir()..[[Scripts\DCS-ExportScript\ExportScript.lua]])

local TheWayLfs=require('lfs'); dofile(TheWayLfs.writedir()..'Scripts/TheWay.lua')

pcall(function() local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[Mods\Services\DCS-SRS\Scripts\DCS-SimpleRadioStandalone.lua]]); end,nil)

local Tacviewlfs=require('lfs');dofile(Tacviewlfs.writedir()..'Scripts/TacviewGameExport.lua')

dofile(lfs.writedir() .. [[Scripts\DCS-BIOS\BIOS.lua]])

@Nordphilz
Copy link

Thanks. I don't understand why, but that actually fixed my problem. Weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants