Most of the commonly reported issues and questions are answered in the Frequently Asked Questions (FAQ) option under the Support menu of this website.
*** PLEASE NOTE ***
Your forum account is not the same as the account used in the shop. They are completely separate accounts.
1st December: A new version of the GoFlight Interface Tool for MSFS is now available.
12th November: A new version of the GoFlight Interface Tool for X-Plane is now available.
6th June: A new version of Virtual Flight Sim Hardware is now available (huge update)
21st November: A new version of the GoFlight Interface Tool for FSX/FSXSE/P3D is now available.

GIT for MSFS2020 - LVARS Disappear in Some Bespoke Events

I started using the Detective in GIT for MSFS with the latest release 4.4.0.0. I am not a programmer whatsoever but I play around with the LVARS and sample logic I've seen in videos, and somehow finally figure it out. But I am by no means an expert, so please forgive if I am missing something simple.

I created Bespoke events for the FlyByWire A320NX, using the Detective. I test them out with the button in Detective, then assign to a button or knob on the EFIS or MCPPRO, and save settings.

If I end MSFS2020 and come back into the simulator for a flight, load GIT, some of the Bespoke Events are missing all lines that had an LVAR set. However, other logic lines in the same Bespoke Event such as Goto, Labels, Sleep, et. remain and are visible. Any line that had a reference to an LVAR is gone.

Then I looked my BespokeEvents.xml file and I can see the entire logic, including the LVAR lines. Its as if Detective is not reading the LVARs I had used after coming back in to do more coding.

This is not happening on all of my Bespoke Events. Some save perfectly with all lines and work over and over again.

Any thoughts on what I'm doing that causes these LVAR lines to not appear in the Detective?

Thanks.
Steve G.

Comments

  • Are the Lvars listed in Known Lvars.xml in Documents\GoFlight Interface Tool? Are there any errors in the GIT Log tab after loading the aircraft concerned?

    Best wishes
    Steve
  • Hi Steve,
    Thanks for the quick reply and suggestions:

    1. Are the Lvars listed in Known Lvars.xml in Documents\GoFlight Interface Tool? Yes, present in the file

    3. Are there any errors in the GIT Log tab after loading the aircraft concerned? Thanks for pointing me. Yes, I did see an error of the IF statement being out of range. What is odd is that I used the two variables found in Detective, looking for a 1 and 0. But there was an error and it then removes all LVAR lines from the Bespoke Event.

    DETECTIVE: (used to find the Lvars and variables, turning button on and off in simulator)
    0000040345 Lvar : BTN_ARPT_1_FILTER_ACTIVE Lvar Data: 1
    0000040472 Lvar : BTN_ARPT_1_FILTER_ACTIVE Lvar Data: 0
    0000040592 Lvar : BTN_ARPT_1_FILTER_ACTIVE Lvar Data: 1
    0000040701 Lvar : BTN_ARPT_1_FILTER_ACTIVE Lvar Data: 0

    LOG:
    09:27:54 Bespoke Events Import Exception: Event _MFD_ARPT_TOGGLE, Task If failed - Specified argument was out of the range of valid values.
    09:27:54 Bespoke Events Import Exception: Event _MFD_ARPT_TOGGLE, Task Set failed - Specified argument was out of the range of valid values.
    09:27:54 Bespoke Events Import Exception: Event _MFD_ARPT_TOGGLE, Task Set failed - Specified argument was out of the range of valid values.

    BESPOKE EVENT:
    -













    I'm doing something obviously wrong, so let me know if you can spot it. I do have many other Bespoke events working very well in the aircraft, but some are very challenging. This one seems simple, however, on or off.

    Thanks again.
    Steve G

  • I'll check the GIT code for the If statements to see if the code is bugged and come back to you.

    Thanks
    Steve
  • Thanks Steve. Let me know if I can assist in any way. I appreciate the tools you have created and the immersion they bring to the simulators.

    Steve G.
  • I have the same issue , the lvars are
    Present in the xml plus the A32NX.xml also shows the assignments but when it is loaded it loses all lvars that were assigned .

    I’ve tried importing it too to no avail .

    It’s losing Lvar assignment every time
  • New version out that fixes the missing Lvars in Bespoke Events.

    Best wishes
    Steve
  • Thanks Steve!

    Steve G
  • Thank you .
Sign In or Register to comment.