Jump to content

Sign in to follow this  
pve

Is this a bug?

Recommended Posts

FSX orig XML code

 

I seems you can't get any airport info. from the WaypointAirportICAO list with FlightPlanIsDirectTo active. It works OK on initial DirTo entry but if you save the flight then recall it all the WaypointAirportICAO  info. is missing and can't be accessed. Removing the DirTo in the saved flight returns access to the information. 

 

Paul


Paul EGLD

Share this post


Link to post
Share on other sites

Hi Paul,

You're right that FlightPlanWaypointICAO is missing in the flight plan if you load a saved DTO flight. However, FlightPlanWaypointIdent and FlightPlanWaypointType are still there and WaypointAirportICAO, or whatever facility type was the target of the DTO, of the destination can be created (or searched) from those. I know you're an expert in the gps module so I guess you're already doing that.

A bug? Maybe one can argue the Load Flight function should populate the destination ICAO in a Direct To flight plan.  But even if it did, FlightPlanWaypointICAO would also need to be transferred into WaypointAirportICAO or FacilityICAO before the group data could be accessed.

Bob

 

tested with FSXA.  Not P3D family

Share this post


Link to post
Share on other sites

Hi Bob

 

Thanks for confirming that. Loading my saved flights with a normal saved flight plan included the WaypointAirportICAO data is transferred and loads correctly. A work round with a saved Goto would be to cancel the FlightPlanIsDirectTo after loading the flight then transfer the WaypointAirportICAO data from the AirportIdent and then resart the DirectTo. (just thought of that !!).

 

Paul


Paul EGLD

Share this post


Link to post
Share on other sites

yeah.... great idea!  Now that you mention it, the saved Direct To flight plan .FLT contains all of the original flight plan waypoints, plus the information that Direct To was initiated.  By cancelling DTO after you load saved flight, you should get the flight plan back :smile: 

Share this post


Link to post
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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    34%
    $8,535.00 of $25,000.00 Donate Now
×
×
  • Create New...