0 votes
asked by (12 points)

As X-Plane permits only one plugin to 'acquire' planes at any one time in order to change model or disable AI, etc (XPLMPlanes.XPLMAcquirePlanes), a common problem is where plugins "appear not to work" because one was able to AcquirePlanes, but the others are blocked. Presently, there is no way to tell which plugin has acquired the planes.

I suggest a read-only dataref, or other interface which records the plugin signature, of any plugin which currently holds the planes, perhaps using null if no plugin has it. As a simple alternative, simply Log the acquiring plugin into Log.txt. 

Benefit is that plugins can report _why_ they're not working ("Could not acquire because XXX plugin owns the planes.") and/or failure analysis of Log.txt would show which plugin is causing the conflict for the exclusive resource. This should reduce the queries: "I installed the plugin XXX but it doesn't work..." 

1 Answer

0 votes
answered by (5k points)

Hi pbuck,

I am not from Laminar Research; just a flight simmer from down under.

As your question is more of a development problem you will not get an answer or response in this forum.  You need to make representation or state your request directly with Laminar, stating at info@x-plane.com

Good luck.

Glenn

Welcome to X-Plane Q&A, where you can ask support questions and get answers from members of the community.

This site is for X-Plane support questions only. Please search for existing answers before posting your question. Off-topic questions will be locked.

If you’re new, you’ll need to register before asking your first question.

If your question is answered, click on the check mark to select the best response.

Categories

...