You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've added some debug statements to the code and found, that really only traffic with nameplates are received from MSFS2020.
So it is not a Enroute or Foreflight issue, it's a issue that FS2020 doesn't send the SimobjectData to fs2ff.
if (data.dwRequestID == (uint)REQUEST.TrafficObjectBase + data.dwObjectID &&
data.dwDefineID == (uint)DEFINITION.Traffic &&
data.dwObjectID != SimConnectImpl.SIMCONNECT_OBJECT_ID_USER &&
data.dwData?.FirstOrDefault() is Traffic tfk)
{
Debug.WriteLine("Debug traffic received " + tfk.Altitude + " Airline: " + tfk.Airline + " Flight: " + tfk.FlightNumber);
await TrafficReceived.RaiseAsync(tfk, data.dwObjectID).ConfigureAwait(false);
// here only traffic with nameplates is seen even if there are a lot of airplanes in the air without a name defined.
}
fs2ff connects to Enroute without any issues and shows a lot of traffic on the ground but only some traffic in the air.
Any ideas what's going wrong?
The text was updated successfully, but these errors were encountered: