JeremyJ
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by JeremyJ
-
-
As documented, the ZFW is supplied as a value in pounds multiplied by 256, so, tell me, why are you multiplying by another 256?
Pete
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.
-
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
-
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/
-
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?
-
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
Fuel Offsets
in FSUIPC Support Pete Dowson Modules
Posted
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.