Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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.

Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.