plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.


Please take a moment to read the platform’s guidelines before you get started!


question

RichSlaterJF avatar image
RichSlaterJF asked FlyingRaccoon commented

[BUG] SimConnect_RequestFacilitiesList - Airport List Problem

Hi,
Since SU8 the SimConnect_RequestFacilitiesList function now returns the correct list of airports when loaded through the Community folder.
However, this only happens for the initial flight after loading the sim. When ending a flight and starting another, the list doesn't include the airports in the immediate area (anecdotally it looks like the pre-SU8 list format).
Also, when a wasm is loaded via the DevMode, the list also reverts to its pre-SU8 state (which really, really adds to the dev time as I can only test code by reloading the sim each and every time).

simconnect
4 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

SU9? we are still on SU8.. typo? :)
1 Like 1 ·
Yes. Amended. Thanks
1 Like 1 ·
Ok, sorry for missing this. We'll run some additional tests in the conditions you mentioned.
1 Like 1 ·
Hello @RichSlaterJF


Just tested using this function both in a standalone module and a gauge and never encountered the issues you mentioned.
I get a list of around 40000 airports every time I request it, even after going back to main menu and starting a different flight.
Behaviour in DevMode is also as expected, any modification of the PackageSources wasm file is applied when building the package and the list is correct there as well.

Are you doing the request in a standalone module or a gauge?
When are you calling this request function?

Regards,
Sylvain

0 Likes 0 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.