hotbso Posted April 16, 2020 Report Posted April 16, 2020 Hi, while lua files are only recognized in the Add -ons\FSUIPC6 folder called modules via require require("rwdb") are only searched in the prepar3d\modules folder. ********* LUA: "landing_rate" Log [from FSUIPC version 6.0] ********* 102625 System time = 15/04/2020 20:45:21, Simulator time = 12:04:29 (10:04Z) 102625 LUA: beginning "C:\Users\holger\Documents\Prepar3D v5 Add-ons\FSUIPC6\landing_rate.lua" 102625 *** LUA Error: ...cuments\Prepar3D v5 Add-ons\FSUIPC6\landing_rate.lua:33: module 'rwdb' not found: no field package.preload['rwdb']rwdb no file 'E:\prepar3d\p3dv5\modules\rwdb.lua' no file 'E:\prepar3d\p3dv5\modules\rwdb\init.lua' no file 'E:\prepar3d\p3dv5\modules\lua\rwdb.lua' no file 'E:\prepar3d\p3dv5\modules\lua\rwdb\init.lua' no file 'C:\Program Files (x86)\Lua\5.1\lua\rwdb.luac' no file 'E:\prepar3d\p3dv5\modules\lua\rwdb.dll' no file 'E:\prepar3d\p3dv5\modules\lua\loadall.dll' 102625 >>> Thread forced exit (ipc.exit or os.exit) <<< BTW the documentation still only mentions the Modules folder for all lua scripts.
John Dowson Posted April 16, 2020 Report Posted April 16, 2020 There is currently a problem with the lua config path that I am looking into. A fix should be provided soon (hopefully later today but maybe tomorrow). In the mean-time, you could re-install FSUIPC6 in the old location, in a folder called Modules under your P3Dv5 directory (i.e. in E:\prepar3d\p3dv5\modules). John
John Dowson Posted April 16, 2020 Report Posted April 16, 2020 This problem has been fixed in the attached dll which will be released shortly: FSUIPC6.dll
hotbso Posted April 16, 2020 Author Report Posted April 16, 2020 Yes, confirmed. Thanks for the rapid fix.
Recommended Posts