Products Support > GSX Support FSX/P3D

FS Labs wrong number of passengers

<< < (3/4) > >>

virtuali:

--- Quote from: dlh716 on March 28, 2024, 01:55:35 pm ---But do you have any idea why the FSDT_GSX_NUMPASSENGERS variable wasn't set by the airplane?
--- End quote ---

No idea, as I've said, that variable is either set by the airplane code OR by GSX IF there's a Simbrief plan active, and the variable hasn't been set by the airplane code already. Basically, the airplane code always has the last saying about that variable: if it's not 0, GSX won't touch it.

It's not even reset to 0 if the Couatl engine restarts, precisely to prevent GSX to "forget" the number of passengers set by Simbrief or the airplane if you restart it for any reason.

dlh716:
And so what am I supposed to do? Ask FS Labs because the problem would come from their side? Reinstall GSX? …

virtuali:

--- Quote from: dlh716 on March 28, 2024, 03:05:14 pm ---And so what am I supposed to do? Ask FS Labs because the problem would come from their side? Reinstall GSX? …
--- End quote ---

Not sure why you are asking about reinstalling GSX. If the variable is set by the airplane code, how reinstalling GSX would make any difference?

There are only two cases where the variable is set by GSX and are:

- When GSX starts, or restarts, or you switch airplane, it resets to 0.

- If a flightplan on Simbrief is accepted, it will be set to the number of passengers from Simbrief. According to your log, even if you have a Simbrief username, the flightplan hasn't been used, because the airplane ICAO code hasn't been set in the airplane profile, so the whole procedure was skipped, meaning GSX has NOT set the variable to 0.

dlh716:
Yes, I understand the idea, but my question is how to fix the problem?

I exchanged several messages with FS Labs support yesterday, we looked at everything from A to Z (configuration, version of GSX and FSL, connection with SimBrief...). They have no idea of the source of the problem either. Everything is configured correctly on both sides.

Link to the topic on the FSL forum if you'd like to have a look: https://forums.flightsimlabs.com/topic/34427-wrong-number-of-passengers-with-gsx/

It's crazy that everything is configured correctly but it doesn't work.

Hence my question: if I uninstall and reinstall FS Labs and GSX, is there any chance that this will solve the problem?

virtuali:

--- Quote from: dlh716 on March 29, 2024, 08:03:36 am ---Hence my question: if I uninstall and reinstall FS Labs and GSX, is there any chance that this will solve the problem?
--- End quote ---

I don't think reinstalling GSX would make any difference. The key issue is you are not getting this line in the log:

"Number of passengers provided by addon is ..."

GSX writes this, when it sees the FSDT_GSX_NUMPASSENGERS LVar is not 0, which tells GSX it should not try to figure out the number of passengers, but should take it from an external app. Instead, your log shows the variable IS 0, so GSX reverts to the default calculation based on payload.

As I've said, the only time where the variable can be written by GSX, is when reading a Simbrief flightplan, which wasn't your case, since your log shows Simbrief wasn't used because your airplane doesn't have an ICAO code in its profile. And even if Simbrief was used (it wasn't) for the variable to be 0, it would have required a flightplan with 0 passengers anyway.

Do you have something to check the value of the LVariable yourself, like Lorby's Axes and Ohs or FSUIPC? You might be able to monitor the value of FSDT_GSX_NUMPASSENGERS, and see if it ever gets set correctly and/or, when it goes back to 0.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version