[MSFS2024] - SimConnect - AI injected aircraft only being placed in parking without airlineCodes

Version: 1.1.9.0

Frequency: Consistently

Severity: Blocker

Marketplace package name: n/a

Context: FSLTL - AI aircraft injection via SimConnect

Similar MSFS 2020 issue: n/a Works as expected with MSFS 2020

Bug description:
With MSFS 2024, when AI aircraft are injected with AICreateParkedATCAircraft & AICreateEnrouteATCAircraft, the sim appears to avoid using any scenery taxiway parking spots that have parking codes assigned. Instead, the sim continues to only use parking with no parking codes, often removing existing aircraft to place new ones, over and over.
The same SimObjects, with the same atc_parking_codes in aircraft.cfg along with the same scenery work as expected in MSFS 2020.

Same experience whether using default MSFS 2024 scenery or custom 3rd party scenery.
Using the in-sim MSFS 2024 live traffic, all gates appear to be utilized.

Is this a case of MSFS 2024 not reading the atc_parking_codes from the aircraft.cfg file correctly? Or the airlineCodes from the scenery? Or something else?

Repro steps:
Inject AI aircraft using AICreateParkedATCAircraft & AICreateEnrouteATCAircraft. Aircraft have atc_parking_codes populated in aircraft.cfg. Scenery parking also configured with airlineCodes do not appear to be used.

Attachments:

Private attachments: Send a PM to @PrivateContent with the link to this topic and the link to download your content

Can confirm this issue with the AIG Traffic Controller and seperate test-packages.

If requested we can provide an extra test package for this.

1 Like

After additional testing, the issue appears to be more extreme than just parking with no airlineCodes only being used.

If I remove the airlineCodes from 10 taxiway parking objects, all the same size (radius), when AI traffic is injected, it still seems to lock onto one parking spot, adding and removing traffic over and over. Only if that aircraft starts preflight or pushback does the sim then use another spot.

If larger aircraft are injected also, this same sequence of events can occur at the same time, only with larger parking.

This is a major break point for us (FSLTL) right now (besides the constant sim CTDs).

1 Like

From the looks of it and a basic understandic of how “parking-scores” worked in previous flight simulators it looks like that the function to decide the parking spot has the following issues:

  • Not reading the atc_parking_code from the fltsim-sections (this is a new issue)
  • Not taking already used spots into account, selecting always the best spot based on the score (this is a new issue)

The isue with the usage of an already used spot was already in MSFS2020, but there it was only happening when all other spots have already be used. We suggested in that report that the Sim should not replace already injected airplanes with newly injected stuff when no other spot is available, but should return an Exception - like it has done in FSX.

1 Like

Yes, completely agree. Lets hope we can get the devs to respond and take a look.

1 Like

Example video. Sim seems stuck on only using one parking spot per radius?

1 Like

Any response? Should we assume this is a sim bug? If so, has it been logged? Or has there been a change in AI cfg or scenery design that is at fault here?

1 Like

@FlyingRaccoon
Apologies for reaching out to you directly, but any chance we can get some feedback on this issue? Is this something known to the team? Already being worked on? Much appreciated!

1 Like

Any dev response, please? Should we assume this is a sim bug? If so, has it been logged? Or has there been a change in AI cfg or scenery design that is at fault here?

Hi there,

We have made a fix to the parking spot selection algorithm when using AICreateParkedATCAircraft. According to our tests, it will fix this:

However we need further testing to ensure this one is fixed too:

The fix will be in the mid-December patch but if it doesn’t fix the second issue, we may run out of time to slip that in the same patch - we will let you know as soon as we know more.

Best regards,

Eric / Asobo

1 Like

Excellent, thank you for the update!

thank you @EPellissier , if you need any test package for the 2nd issue let me know.

1 Like

I guess that would help a lot - if the first fix doesn’t work yet for the second issue, maybe I can make that happen tomorrow morning. :wink:

Best regards,

Eric / Asobo

1 Like

perfect, I will pack something later this evening and send the URL to the private content chat

2 Likes

@EPellissier packages send to PrivateContent

2 Likes

I’d like to add to this conversation that of the “Piper Cub at Jetways” issue.

Authors often use atc_parking=ANY because, maybe they don’t know any better? Or…

I had to edit many of the aircraft.cfg’s of the aircraft I purchased because I’d constantly see GA aircraft parked at jetways.

Could we please remove the “ANY” option, or ignore/don’t place aircraft that have atc_parking=“ANY”.

And, while we’re at it, on a completely different but related issue non-SDK issue, but I might as well say it to illustrate the problem further, can we please change the F-5 Freedom fighter and PC-21 AI aircraft to be MIL_COMBAT. I’m getting tons of those planes at my GA airports.