Author Topic: Loading airport data >10k feet?  (Read 1542 times)

LukeK

  • Full Member
  • ***
  • Posts: 108
Loading airport data >10k feet?
« on: July 12, 2019, 10:24:57 pm »
Here's an excerpt from a recent flight. It looks like it's loading airport information above 10,000 feet. Is this correct?

View changed to Virtual
View changed to Virtual
Deleted Menu SubItem (parentId 82, id 99)
Loading airport CYQG from D:\Program Files\Prepar3Dv4\Scenery\0302\scenery\APX25160.bgl
Loading airport CNZ3 from D:\Program Files\Prepar3Dv4\Scenery\0302\scenery\APX26160.bgl
Loading airport KJHW from D:\Program Files\Prepar3Dv4\Scenery\0302\scenery\APX26170.bgl
Loading airport N38 from D:\Program Files\Prepar3Dv4\Scenery\0302\scenery\APX27170.bgl
Loading airport KWBW from D:\Program Files\Prepar3Dv4\Scenery\0302\scenery\APX27170.bgl
Loading airport KMPO from D:\Program Files\Prepar3Dv4\Scenery\0302\scenery\APX27170.bgl
Loading airport 12N from D:\Program Files\Prepar3Dv4\Scenery\0302\scenery\APX28170.bgl
Loading airport N07 from D:\Program Files\Prepar3Dv4\Scenery\0302\scenery\APX28170.bgl
Loading airport KTEB from D:\Program Files\Prepar3Dv4\Scenery\0302\scenery\APX28170.bgl
Loading airport KLGA from D:\Program Files\Imagine Simulation\KLGA LaGuardia P3Dv4\scenery\KLGA ADE_hi.bgl
Loading user customizations from C:\Users\Luke\AppData\Roaming\Virtuali/GSX\klga-rn_njf.ini
Entering JFK V2 area...
Patching for ZWriteAlpha P3D in file model.KJFK_sf01/KJFK_sf01.mdl 0
Patching for ZWriteAlpha P3D in file model.KJFK_sf02/KJFK_sf02.mdl 0
Patching for ZWriteAlpha P3D in file model.KJFK_sf03/KJFK_sf03.mdl 0
Patching for ZWriteAlpha P3D in file model.KJFK_sf04/KJFK_sf04.mdl 0
None 193
Patching to Spring
Loading airport KJFK from D:\Program Files\Addon Manager\FsDreamTeam\KJFK\Scenery\KJFK_FSDT.BGL
Using airport customization from GSX.airports.kjfk2_fsdt
Loading user customizations from D:\Program Files\Addon Manager\FsDreamTeam\KJFK\Scenery\kjfk-FSDT.ini (file is designer-provided and won't be modified in-place)
Loading user customizations from C:\Users\Luke\AppData\Roaming\Virtuali/GSX\kjfk-jdsfbk.ini

Everything except KLGA and KJFK I believe was above 10k feet, here's a copy of my flight log if you want to check:

https://www.deltava.org/pirep.do?id=0x160db9

Cheers!

Luke

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51443
    • VIRTUALI Sagl
Re: Loading airport data >10k feet?
« Reply #1 on: July 13, 2019, 11:08:01 am »
I don't understand what you are reporting. There aren't any errors in your log, or any indications you had a problem.

If the reason of your question is you are suspecting GSX is still loading airports above 10k feet, as if this was some kind of bug, this is not the case.

The problem with the SIMULATOR crashing on its own when FACILITIES data were required by an add-on, using a specific simulator own API call, was sidestepped by GSX by stopping to call that particular API, which asks for nearby facilities data and results in a crashes sim when flying over remote areas, which were mistakenly blamed on GSX, but it's a flaw of that API. To prevent this, GSX doesn't call that API anymore, when flying over 10k feet.

That call was only used to quickly get a list of all nearby airports, in case you need to pre-select a gate while flying.

However, GSX still knows which is the closest airport you are flying over, but it does this using ITS OWN code, which was never dependent on that sim API, and since that works and we can vouch for it, there wasn't any need to remove it while flying over 10k feet to prevent the famous crash in remote areas. That crash wasn't caused by GSX, but it was caused by that simulator facility data API ( the sim crashed inside FACILITIES.DLL ), but we never used it to know only the closest airport you are flying over, which is the case you are reporting in your log.