Jump to content
The simFlight Network Forums

Issue with FSUIPC 6.1.8 and prosim


Recommended Posts

  • Driver170 changed the title to Issue with FSUIPC 6.1.8 and prosim
1 hour ago, Driver170 said:

ok i got 6.1.7 I rolled back from 6.1.8 and now i can change the ZFW. So there is a issue with FSUIPC 6.1.8

I'm not sure about that - there are very few changes between 6.1.7 and 6.1.8 - only the following:
   - Bug fixed that prevented assignments to buttons with numbers 64 – 95 from being triggered
   - New functionality to allow the user to add any simvar to a free FSUIPC offset

Looking at that link, this was your issue:

Quote

In the CDU or IOS weight page setting all pax and cargo to zero the ZFW is stuck on 54832 and does not change what so ever

 

I'm not sure how this can have anything to do with FSUIPC... Can you try 6.1.8 again to confirm please.

As I don't have/use Prosim, I'm not sure what I can do. I'll see if @Pete Dowson can check this as he uses the ProSim  737 (probably later next week, after the Bank Holiday).

John

Link to comment
Share on other sites

1 minute ago, Driver170 said:

Very strange one. Soon as i rolled back to 6.1.7 the load was then able to change the ZFW.

Yes, this is what you reported. I was just suggesting to try 6.1.8 again to confirm. The problem only seems to occur in the latest ProSim beta as well, which also indicates its not an FSUIPC issue. Anyway, talked to Pete about this - he is aware of this issue and will check later next week.

 

Link to comment
Share on other sites

2 hours ago, John Dowson said:

Yes, this is what you reported. I was just suggesting to try 6.1.8 again to confirm. The problem only seems to occur in the latest ProSim beta as well, which also indicates its not an FSUIPC issue. Anyway, talked to Pete about this - he is aware of this issue and will check later next week.

 

I rolled back previous BETA’s and still had the issue with 6.1.8

Thanks

Link to comment
Share on other sites

On 4/30/2022 at 10:15 PM, Driver170 said:

I rolled back previous BETA’s and still had the issue with 6.1.8

Humberto kindly explained to me how ProSim computes the ZFW from FSUIPC offsets. He said:

Prosim is calculating ZFW. It is getting gross weight from offset 30c0 and subtracting fuel from offsets 0b80(capacity) 0b7c(level) : example for 1 tank only, corresponding offset used for the other 2 tanks

 So, I made a Lua plug-in to compute it the same way, whilst changing the payload a number of times. This showed absolutely no difference between FSUIPC 6.1.7 and 6.1.8 for the offsets Prosim is using. For your information I attach the Lua plug-in.  It logs the results in FSUIPC6's log. Here's the results for my office version of P3D5.3.  Each loop is increasing the weight in the 9 payload stations by 100 lbs, so increasing the payload total by 900 lbs on each loop -- in the log the loop ends are denoted by the line with ******...

For each loop the ZFW is being calculated in the exact same way as Humberto states for ProSim. This is shown in the lines like   796781 17024 LUA.3: Computed ZFW = 105715.36461655

I've also checked the values against those shown in the P3D Vehicle - Fuel and Payload display.
 

   794500 17024 LUA.3: Gross before changes = 150867.65625
   794500 17024 LUA.3: Number of payload stations = 9
   796765 17024 LUA.3: Total payload = 14400
   796765 17024 LUA.3: Gross now = 151767.65625
   796765 17024 LUA.3: FuelC = 28798.32779259 FuelL = 8626.9819204323 FuelR = 8626.9819204323
   796765 17024 LUA.3: Total fuel weight = 46052.291633454
   796765 17024 LUA.3: Ditto from offset 126C = 46057
   796781 17024 LUA.3: Computed ZFW = 105715.36461655
   796781 17024 LUA.3: ===============================================
   800796 17024 LUA.3: Gross before changes = 151767.65625
   800796 17024 LUA.3: Number of payload stations = 9
   801312 15996 Deactivated for PID=9580, "explorer.exe"
   801312 15996 Lost focus to PID=9580, "explorer.exe"
   803046 17024 LUA.3: Total payload = 15300
   803046 17024 LUA.3: Gross now = 152667.65625
   803046 17024 LUA.3: FuelC = 28798.32779259 FuelL = 8626.9819204323 FuelR = 8626.9819204323
   803046 17024 LUA.3: Total fuel weight = 46052.291633454
   803046 17024 LUA.3: Ditto from offset 126C = 46057
   803046 17024 LUA.3: Computed ZFW = 106615.36461655
   803046 17024 LUA.3: ===============================================
   807062 17024 LUA.3: Gross before changes = 152667.65625
   807062 17024 LUA.3: Number of payload stations = 9
   809296 17024 LUA.3: Total payload = 16200
   809296 17024 LUA.3: Gross now = 153567.65625
   809296 17024 LUA.3: FuelC = 28798.32779259 FuelL = 8626.9819204323 FuelR = 8626.9819204323
   809296 17024 LUA.3: Total fuel weight = 46052.291633454
   809296 17024 LUA.3: Ditto from offset 126C = 46057
   809296 17024 LUA.3: Computed ZFW = 107515.36461655
   809296 17024 LUA.3: ===============================================
   813312 17024 LUA.3: Gross before changes = 153567.65625
   813312 17024 LUA.3: Number of payload stations = 9
   815562 17024 LUA.3: Total payload = 17100
   815562 17024 LUA.3: Gross now = 154467.65625
   815562 17024 LUA.3: FuelC = 28798.32779259 FuelL = 8626.9819204323 FuelR = 8626.9819204323
   815562 17024 LUA.3: Total fuel weight = 46052.291633454
   815562 17024 LUA.3: Ditto from offset 126C = 46057
   815562 17024 LUA.3: Computed ZFW = 108415.36461655
   815562 17024 LUA.3: ===============================================
   819578 17024 LUA.3: Gross before changes = 154467.65625
   819578 17024 LUA.3: Number of payload stations = 9
   821843 17024 LUA.3: Total payload = 18000
   821843 17024 LUA.3: Gross now = 155367.65625
   821843 17024 LUA.3: FuelC = 28798.32779259 FuelL = 8626.9819204323 FuelR = 8626.9819204323
   821843 17024 LUA.3: Total fuel weight = 46052.291633454
   821843 17024 LUA.3: Ditto from offset 126C = 46057
   821843 17024 LUA.3: Computed ZFW = 109315.36461655
   821843 17024 LUA.3: ===============================================
   825859 17024 LUA.3: Gross before changes = 155367.65625
   825859 17024 LUA.3: Number of payload stations = 9
   828125 17024 LUA.3: Total payload = 18900
   828125 17024 LUA.3: Gross now = 156267.65625
   828125 17024 LUA.3: FuelC = 28798.32779259 FuelL = 8626.9819204323 FuelR = 8626.9819204323
   828125 17024 LUA.3: Total fuel weight = 46052.291633454
   828125 17024 LUA.3: Ditto from offset 126C = 46057
   828125 17024 LUA.3: Computed ZFW = 110215.36461655
   828125 17024 LUA.3: ===============================================
   832140 17024 LUA.3: Gross before changes = 156267.65625
   832140 17024 LUA.3: Number of payload stations = 9
   834375 17024 LUA.3: Total payload = 19800
   834375 17024 LUA.3: Gross now = 157167.65625
   834375 17024 LUA.3: FuelC = 28798.32779259 FuelL = 8626.9819204323 FuelR = 8626.9819204323
   834375 17024 LUA.3: Total fuel weight = 46052.291633454
   834375 17024 LUA.3: Ditto from offset 126C = 46057
   834375 17024 LUA.3: Computed ZFW = 111115.36461655
   834375 17024 LUA.3: ===============================================
   838390 17024 LUA.3: Gross before changes = 157167.65625
   838390 17024 LUA.3: Number of payload stations = 9
   840640 17024 LUA.3: Total payload = 20700
   840640 17024 LUA.3: Gross now = 158067.65625
   840640 17024 LUA.3: FuelC = 28798.32779259 FuelL = 8626.9819204323 FuelR = 8626.9819204323
   840640 17024 LUA.3: Total fuel weight = 46052.291633454
   840640 17024 LUA.3: Ditto from offset 126C = 46057
   840640 17024 LUA.3: Computed ZFW = 112015.36461655
   840640 17024 LUA.3: ===============================================
   844656 17024 LUA.3: Gross before changes = 158067.65625
   844656 17024 LUA.3: Number of payload stations = 9
   846921 17024 LUA.3: Total payload = 21600
   846921 17024 LUA.3: Gross now = 158967.65625
   846921 17024 LUA.3: FuelC = 28798.32779259 FuelL = 8626.9819204323 FuelR = 8626.9819204323
   846921 17024 LUA.3: Total fuel weight = 46052.291633454
   846921 17024 LUA.3: Ditto from offset 126C = 46057
   846921 17024 LUA.3: Computed ZFW = 112915.36461655
   846921 17024 LUA.3: ===============================================
   850937 17024 LUA.3: Gross before changes = 158967.65625
   850937 17024 LUA.3: Number of payload stations = 9
   853203 17024 LUA.3: Total payload = 22500
   853203 17024 LUA.3: Gross now = 159867.65625
   853203 17024 LUA.3: FuelC = 28798.32779259 FuelL = 8626.9819204323 FuelR = 8626.9819204323
   853203 17024 LUA.3: Total fuel weight = 46052.291633454
   853203 17024 LUA.3: Ditto from offset 126C = 46057
   853203 17024 LUA.3: Computed ZFW = 113815.36461655
   853203 17024 LUA.3: ===============================================

As John says, there's really no change between 6.1.7 and 6.1.8 which could result in what you are observing and they certainly both behave the same with this test.

I should be able to get my cockpit up and running tomorrow, and then I will double-check when actually using Prosim. I'll update first to 3.17B20 (or later if another is released).

Pete

 

TestZFW.lua

Link to comment
Share on other sites

Okay, I've tested this on my cockpit, with ProSim 3.18B1.

The ZFW (and other weight components) change correctly when altering the pax and cargo loading in the P3D Fuel & Payload menu, and also when using FSUIPC to write to the payload station offsets.

But nothing changes except the total pax or cargo values in ProsinIOS and the CDU when changing loadings via the IOS or CDU. Nothing is written to the payload offsets.

I don't see how this can be down to FSUIPC, but I don't understand what ProSim is using to change the loadings in P3D. So I'm going to ask Humberto for more information.

Pete

 

Link to comment
Share on other sites

This issue is caused by bulk writing to an offset area when some of the offsets are not in the offset table. ProSim is bulk writing the payload data including the position data, which don't exist in the (internal) offset table for P3D. This error was introduced in 6.1.8.

This should be fixed in the attached version, v6.1.9a, if you would like to try: FSUIPC6.dll

John

Edited by John Dowson
corrected
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.