Jump to content
The simFlight Network Forums

Leo Morse

new Members
  • Posts

    4
  • Joined

  • Last visited

Leo Morse's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Sorry, I did check this but forgot to reply - it wasn't the case with my set up. I tried some other libs in the FSUIPC folders but they either threw out the same field package error, or crashed FSX altogether when declaring the simple require command. Using the OzRunways script I've managed to get a script running under FSUIPC to send data to another external script so I think this will solve the problem, and also make the connection possible across multiple machines too, so now I can have a standalone app running all the libs I want without having to worry about compatibility with FSUIPC and FSX. Regardless of if I needed the full paid-for app or not, if I find any Shareware app useful, I will pay for it....simple as that! Without people paying for the things they use, people won't spend time making the things people need/want.
  2. Pete, no cheek or nastiness intended....I'm just getting frustrated at getting nowhere. I do appriciate your work in FSUIPC, and I'm not asking for support for my Lua environment, just help with the FSUIPC libraries and running Lua scripts within FSUIPC. In your SDK, you provide Libaries for many languages such as C, C#, Java, etc.....is there one for Lua? If so, I could just install the IPC lib in the LUA Development Environment, do the coding there with FSUIPC and FSX running to supply the interface variables, get debugging info right inside the environment and then create a standalone compiled EXE for there that runs alongside FSX with FSUIPC and produces the gauges. Can you provide a link to these so I can break down their code to see where I'm going wrong?
  3. Hi Pete - sorry for the lack of information yesterday....I was tired and due my meds and was a little ratty. Here's the log from the Lua script....this is one using GD which is recommended in your Lua documentation... ********* LUA: "GlassCockpit" Log [from FSUIPC version 4.852] ********* 22449 System time = 04/09/2012 14:43:31, Simulator time = 14:43:12 (21:43Z) 22449 LUA: beginning "F:\Microsoft Flight Simulator X\Modules\GlassCockpit.lua" 22449 *** LUA Error: ...icrosoft Flight Simulator X\Modules\GlassCockpit.lua:1: module 'gd' not found: no field package.preload['gd']gd no file 'F:\Microsoft Flight Simulator X\modules\gd.lua' no file 'F:\Microsoft Flight Simulator X\modules\gd\init.lua' no file 'F:\Microsoft Flight Simulator X\modules\lua\gd.lua' no file 'F:\Microsoft Flight Simulator X\modules\lua\gd\init.lua' no file 'D:\Program Files (x86)\Lua\5.1\lua\gd.luac' no file 'F:\Microsoft Flight Simulator X\modules\lua\gd.dll' no file 'F:\Microsoft Flight Simulator X\modules\lua\loadall.dll' 22449 LUA: ended "F:\Microsoft Flight Simulator X\Modules\GlassCockpit.lua" 22449 System time = 04/09/2012 14:43:31, Simulator time = 14:43:12 (21:43Z) ********* LUA execution terminated: Log Closed ********* I've tried leaving them in the windows environment var location specified in the LUa for Windows install, I've have tried creating a DLL folder, and creating a Lua folde both under the FSX/Modules directory and it does the same every time. The particular line where it says it can't find gd.dll is an outright lie as it's sitting right in the Lua folder its looking in. These require references work in the Lua for windows development environment....so, lets turn it around...........I can make a standalone Lua scripted .exe that will use the additional libs I need to create my display and Arduino interface, but what about the FSUIPC library? How do I include that into my Lua for Windows development environment so it doesn't fall over at the first ipc. it comes across? If I create a standalone version then it can run via WideFS on a second machine, yes? By the way, I'm using the latest version from your website after purchasing FSUIPC as I thought that might solve the problem, but it's not. Any help would be gratefully appriciate so I haven't wasted my £35.
  4. Hi - many thanks for FSUIPC, which I've just purchased after using the demo mode for some time. I have decided to create some hardware interfaces, starting with simple Autopilot buttons and selectors and hopefully moving up to a Radio Stack, etc....I've ordered an Arduino Mega to facilitate this and was going to use Lua for the programming language. In the meantime Ive started to prototype with a digital on screen version, but I've been having some trouble with libraries. I've tried creating a simple dialog box with progress bar and some buttons (standard Windows style) using the IUP library, but I can't even get the library itself to load. Is it even possible to create a Glass Cockpit type of situation using FSUIPC and Lua? The documentation refers to loading other lua libraries, but nothing seems to work. I've spent hours trying files in different folders.....what the hell am I missing!!
×
×
  • 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.