Jump to content
The simFlight Network Forums

JeremyJ

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by JeremyJ

  1. I thought you said you were using FS9 and FSUIPC 3.99! And as I said there's nothing assigned to offset 126C in FSUIPC3!

    Please re-read the earlier reply!

    Pete

    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
    

  2. What was that business with 126C, though. What did you read to get that? Please do use the correct references.

    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/

  3. 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.