Jump to content
The simFlight Network Forums

Write Value to 0x0B7C via Lua Script


Recommended Posts


i need Help writing a Value to the Offset 0x0B7C. I want to fill the Left Main Tank of the SkySim MD11F.
After the Start, the Display shows 40488.

With this Commant, i initialize the Tank. ipc.writeFLT(0x0B7C, 0.00000). The Display shows 0 as expected.
After the Init, i will fill the Tank, so that the Display in the Overhead shows the correct Value.  
Therefore i issue this Command. ipc.writeFLT(0x0B7C, 57568.5673). The Display then shows 668423.
This Value is absolutely wrong. I tried writeSD, writeSW, writeDBL, etc.. But nothing returns a correct Value in the Display.

I hope, that someone could help me, to issue the correct Command to fill up the Tank.
Any Help is highly appreciated. Thanks a lot in Advance.

Greets, Joachim


Link to comment
Share on other sites

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.