Comments on: Talking to Plugins https:/2017/08/talking-to-plugins/ Developer resources for the X-Plane flight simulator Thu, 31 Aug 2017 17:02:52 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Stef https:/2017/08/talking-to-plugins/#comment-21505 Thu, 31 Aug 2017 17:02:52 +0000 http://developer.x-plane.com/?p=7824#comment-21505 In reply to richard.

+1 🙂

]]>
By: stef Maurel https:/2017/08/talking-to-plugins/#comment-21447 Tue, 29 Aug 2017 08:28:58 +0000 http://developer.x-plane.com/?p=7824#comment-21447 sim/operation/load_real_weather" when a rescan is needed. So intercept (but do not OVERRIDE) this command and you can know it happened, whether from a plugin or the sim itself. I hope it coud help you, it works for me from 11.0.2. Cheers Stef]]> In reply to SNowblind_7.

Dear Snow,

Ben already replyed to me on this question. Here is his reply :

Yes! The sim sends _itself_ the command “sim/operation/load_real_weather” when a rescan is needed. So intercept (but do not OVERRIDE) this command and you can know it happened, whether from a plugin or the sim itself.

I hope it coud help you, it works for me from 11.0.2.

Cheers
Stef

]]>
By: Elios https:/2017/08/talking-to-plugins/#comment-21441 Mon, 28 Aug 2017 21:06:55 +0000 http://developer.x-plane.com/?p=7824#comment-21441 yeah any updates on when even 10.05 is going final?

]]>
By: Pablo Bressan https:/2017/08/talking-to-plugins/#comment-21440 Mon, 28 Aug 2017 18:52:55 +0000 http://developer.x-plane.com/?p=7824#comment-21440 In reply to richard.

:D, Nice question. Naive

]]>
By: richard https:/2017/08/talking-to-plugins/#comment-21432 Sun, 27 Aug 2017 18:21:36 +0000 http://developer.x-plane.com/?p=7824#comment-21432 good evening when relased x-plane 11.10 beta 1 ?

]]>
By: Christophe https:/2017/08/talking-to-plugins/#comment-21414 Sat, 26 Aug 2017 16:54:56 +0000 http://developer.x-plane.com/?p=7824#comment-21414 In reply to Ben Supnik.

I understand your point of view but I was not pushing this sandbox idea to “fix” the poorly written add-on 🙂

It’s a pity when you have a add-on with the half avionics down just because we use another one just few minutes before.

The idea is more like publishing a contract to the good ones: whatever the previous running addon creates/destroys/updates/breaks/… into the sim, be safe, your freshly created sandbox is perfect for your run and you will not suffer from the damages from the previous one.

It’s a different viewpoint of the very same problem 🙂

]]>
By: Ben Supnik https:/2017/08/talking-to-plugins/#comment-21413 Sat, 26 Aug 2017 13:02:57 +0000 http://developer.x-plane.com/?p=7824#comment-21413 In reply to Christophe.

Hi Cristophe,

It would be a nice protection to have, but it’s not easily retrofitted into the current design. Unfortunately when we designed a lot of the interfaces to the sim, we didn’t take plugin developer mistakes into account. And even as I can see the benefit of such a feature, it feels weird to work on a feature whose goal is to make a poorly-written add-on seem like a well-written one.

]]>
By: Christophe https:/2017/08/talking-to-plugins/#comment-21411 Fri, 25 Aug 2017 21:31:12 +0000 http://developer.x-plane.com/?p=7824#comment-21411 Hi guys,

While we talk about plugins: is it possible to think about “sandboxing” an aircraft ?
I use this term because when you change from an aircraft to an other, sometimes – not always, you have to restart XPlane to be able to use properly the second aircraft.

It’s like one of them (the first or the second) didn’t init/use properly one or more variables.

So, I guess that it could be better if an aircraft is always loaded in a fresh sandbox initialized by default data refs by LR itself like when we load the sim from scratch.

Any thought ?

Thanks !

]]>
By: Javier https:/2017/08/talking-to-plugins/#comment-21410 Fri, 25 Aug 2017 18:02:29 +0000 http://developer.x-plane.com/?p=7824#comment-21410 When will the issue with shadows fixed? They work really bad with many buildings, very jaggy even in 4k and with AA.

]]>
By: SNowblind_7 https:/2017/08/talking-to-plugins/#comment-21409 Fri, 25 Aug 2017 15:10:40 +0000 http://developer.x-plane.com/?p=7824#comment-21409 Sorry to ask here, I saw on a last comment about weather datarefs, but I did not find anymore this coment. Is there a way to check if the real weather was updated?

]]>