pw-dev_script
pw-dev_script copied to clipboard
Script causes crashes on multiplayer
I was having problems with DCS crashing when joining multiplayer servers. Started 3 weeks ago and it has persisted. Everything is up to date, did a clean installation of DCS, repaired everything and then I moved the folders one by one back into the SavedGames folder.
The only thing that makes DCS crash is the UFC script. I have tried removing it completely and all the residual files, reinstall, more than a few times. The only constant is once I remove the script everything works fine.
This is what's contained on the export.lua:
pcall(function() local pw=require('lfs');dofile(pw.writedir()..[[Scripts\pw-dev_script\ExportInit.lua]]); end,nil); pcall(function() local TheWayLfs=require('lfs');dofile(TheWayLfs.writedir()..'Scripts/TheWay/TheWay.lua'); end) pcall(function() local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[Mods\Services\DCS-SRS\Scripts\DCS-SimpleRadioStandalone.lua]]); end,nil)
Neither SRS or TheWay interfere with DCS.