Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Is there some simple way to get list of current LVars and their values from the external application?

Now I'm using the 0x66C1 offset to exchange data between the GUI and Lua parts of application. And I know I can use this "pipe" to ask Lua script for what I want and make it return the requested values back to the GUI part. But may be there is some other more clean and simple way to read Lua vars through the FSUIPC API?

I need all this to make some kind of GUI replacement for log lvar.lua script with more features for those who making Lua scripts for addon aircrafts.

Posted

Is there some simple way to get list of current LVars and their values from the external application?

Not at present. In fact I can't offhand think of an easy way to do such a thing except via Lua.

Now I'm using the 0x66C1 offset to exchange data between the GUI and Lua parts of application. And I know I can use this "pipe" to ask Lua script for what I want and make it return the requested values back to the GUI part. But may be there is some other more clean and simple way to read Lua vars through the FSUIPC API?

Well, not really. If I implemented such a thing (which isn't easy) it would probably be just as messy, with interlocks on offsets and so on.

Pete

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.