Jump to content
The simFlight Network Forums

JeremyJ

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by JeremyJ

  1. That works Pete, Thanks for the help. Sorry about the frustration I probably caused, the Zero Fuel Weight documentation didn't really specify that the * 256 wasn't needed for this case. I assumed multiplying by 256 would be needed to find the total lbs.
  2. I took out the multiplication by 256, but is still reading way too high. The value is 509440, and the gross weight only is 2308.
  3. I understood that after posting. The post was edited. My apologies. I did get the 30C0 Offset working, Dim currentweight As New FSUIPC.Offset(Of Double)(&H30C0) But the zero fuel weight is still giving wacky numbers. Dim zerofuelweight As New FSUIPC.Offset(Of Integer)(&H3BFC) zfw = zerofuelweight.Value * 256
  4. With 126C, I thought that would help with the fuel. But I didn't read correctly. I'll try again with the subtraction like you suggested/
  5. Hi Pete, Since I'm using FS9, 3.99, which I assume is FSUIPC3, is there a way to get fuel values in both FSUIPC3 and FSUIPC4?
  6. Hey guys, Using VB.NET, I'm trying to get the aircraft's current fuel weight to work. I looked for an offset to do just that, with no luck. I also tried doing some math, like subtraction of Offset 126C and Offset 3BFC. That came back as a wacky number, and I am lost of what to do next. Is there any recommended way of finding the aircraft's fuel? Here's my offset code, maybe I'm doing something wrong. Dim totalweight As New FSUIPC.Offset(Of Short)(&H126C) Dim zerofuelweight As New FSUIPC.Offset(Of Short)(&H3BFC) Thanks, Jeremy
×
×
  • 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.