xpilot-project / xpilot

Open-source, cross-platform X-Plane pilot client for VATSIM.
https://xpilot-project.org
GNU General Public License v3.0
121 stars 34 forks source link

XP12: xpilot/ai_controlled = 1 even when not connected to vatsim? #120

Closed IBAV8N closed 2 years ago

IBAV8N commented 2 years ago

Ubuntu 20.04 version. When I start XP12 not connected to vatsim, xpilot/ai_controlled = 1 and cannot be edited. If I then connect and then disconnect from vatsim using the external app, xpilot/ai_controlled = 0. It seems to me that 'xpilot/ai_controlled' should equal zero until connected to the vatsim network. Otherwise plugins like LiveTraffic wil not work. I'm guessing that this is a bug?

justinshannon commented 2 years ago

The xpilot/ai_controlled dataref does not inherently restrict other multiplayer/traffic plugins from working. The dataref value simply indicates whether or not xPilot has control over the TCAS targets. X-Plane only allows one plugin to control the TCAS targets at once. You can always release control of TCAS and allow another plugin to take over through the plugin menu.