albar965 / littlenavmap

Little Navmap is a free flight planner, navigation tool, moving map, airport search and airport information system for Flight Simulator X, Microsoft Flight Simulator 2020, Prepar3D and X-Plane.
https://albar965.github.io/littlenavmap.html
GNU General Public License v3.0
1.27k stars 163 forks source link

MSFS2020 - AI vs Multiplayer on the map #560

Open jarshadi opened 3 years ago

jarshadi commented 3 years ago

Hi Alex,

No Multiplayer aircraft is displayed on the map. Little-nav-map 2.6.0.beta can display AI traffic but not Multiplayer aircrafts. It is despite the fact that it can detect number of multiplayer aircrafts correctly and show total number in the "AI/Multiplier" tab, "Found 9 AI or multiplayer aircraft." in my recent test case, but none is displayed. This is regardless of the mode that you select in MSFS2020 for aircraft traffic :

Windows 10 64 bit - running sim and littlenavmap 2.6.0.beta on the same computer

albar965 commented 3 years ago

AI does work well and is displayed if found (disregard the wrong labels which are already fixed). Check your display settings in LNM if they are missing. Not seen any ship traffic yet (this does work in FSX and P3D).

I can see Realtime AI too but only very few aircraft so far. No idea if this is correct. Gotta check.

Multiplayer: I cannot get access to these using the MSFS SDK.This is either an MSFS omission or they have to update the development kit (or rather SimConnect) to deliver multiplayer aircraft.

Definitely planning to fix this but I have no idea when. Also depends on Asobo and their SDK.

AdamNZ commented 3 years ago

Same here with MSFS using LNM 2.67. All AI shows up beautifully ... but never m/p aircraft - even though there are a fair few visible in the sim.

I'm wondering/hoping that if this issue gets an update/fix, whether m/p aircraft could be given a different colour?

Apart from that little niggle, LNM works with FS 2020 really well - and really is a "must have" add-on!

albar965 commented 3 years ago

This can only be fixed by Asobo. I cannot display mutiplayer traffic if MSFS does not deliver it through SimConnect.

AdamNZ commented 3 years ago

Thank you, Sir! It was worth asking though, I think! Once again - many thanks for the superb work :)

albar965 commented 3 years ago

I'll definitely keep and eye on it.

clompsy commented 1 year ago

With SimUpdate 10 there was TCAS added for multiplayer aircraft. But the hope that it would be exposed the same way as AI via SimConnect wasn't the case, which is why LNM (and Fenix A320) don't show Multiplayer traffic. Maybe it's worth revisiting this issue now? Or does MSFS only expose this data to WASM/JS but not via SimConnect?

albar965 commented 1 year ago

With SimUpdate 10 there was TCAS added for multiplayer aircraft. But the hope that it would be exposed the same way as AI via SimConnect wasn't the case, which is why LNM (and Fenix A320) don't show Multiplayer traffic. Maybe it's worth revisiting this issue now? Or does MSFS only expose this data to WASM/JS but not via SimConnect?

Sigh. I hoped to use the same SimConnect variables again but it seems that I have to deal with yet another interface. :slightly_frowning_face: Do you have a link to a discussion or other documentation? Could not find anything in the documentation.

Alex

clompsy commented 1 year ago

Do you have a link to a discussion or other documentation?

Honestly, I didn't see anything yet. It could totally be that Asobo chose to yet again implement something in JS/WASM which is not exposed via SimConnect for some reason since other aircraft (including the VFR map) do show the traffic. I'll see if I can find something about this, maybe one needs to have a WASM module running in the sim that provides the data into SimConnect, like a bridge.