Search found 5244 matches

by Sling
Wed Apr 24, 2024 6:14 am
Forum: Air Manager Bug Reports
Topic: 4.2 bugs
Replies: 442
Views: 161248

Re: 4.2 bugs

Glad to say the beta plug-in issue has been resolved and the dark/light thing seems to be a config.sqlite3 issue. Although no fix yet other than starting from scratch and rebuilding the db. Just the other issues to resolve now.
by Sling
Wed Apr 24, 2024 6:07 am
Forum: Lua and API Scripting Help
Topic: xpl doesn't change state of switch
Replies: 7
Views: 121

Re: xpl doesn't change state of switch

If your hardware switch is backwards it’s not going to work. Small steps. Take the if condition away and just use a single. command at a time in the callback to verify they work. Even simpler remove everything and just have one line of code for the action you are testing. Say strobes on. Ensure stro...
by Sling
Tue Apr 23, 2024 12:15 pm
Forum: Lua and API Scripting Help
Topic: xpl doesn't change state of switch
Replies: 7
Views: 121

Re: xpl doesn't change state of switch

The command you posted is a default sim command but the dataref is not. The matching dataref for that command is
“sim/cockpit2/switches/strobe_lights_on” and is of “INT” type. Give that a try.
by Sling
Tue Apr 23, 2024 5:28 am
Forum: Lua and API Scripting Help
Topic: xpl doesn't change state of switch
Replies: 7
Views: 121

Re: xpl doesn't change state of switch

Need more info. Perhaps you are trying this with an aircraft that has custom coded strobe light behaviour or maybe they are not the correct ones to use. If you give more detail you’ll get better responses.
by Sling
Sat Apr 20, 2024 10:55 am
Forum: Air Manager Bug Reports
Topic: 4.2 bugs
Replies: 442
Views: 161248

Re: 4.2 bugs

AM 4.2.9

Still has custom instruments displaying the ‘This is an online instrument’ banner when clearly they are not. Reported this when still in beta but it seems to have made it into the release too.
by Sling
Fri Apr 19, 2024 8:08 am
Forum: Air Manager Bug Reports
Topic: 4.2 bugs
Replies: 442
Views: 161248

Re: 4.2 bugs

Some bugs in 4.2.9. The style setting in not always maintained. I use Dark and when AM opens its in Light. I change to Dark and then close AM. Next start is Dark but next start after that it’s Light. The cycle then continues once I change it back to Dark again. The create/edit groups are not sorted ...
by Sling
Tue Feb 06, 2024 6:05 am
Forum: Air Manager Help
Topic: FS2020 Subscribe
Replies: 3
Views: 282

Re: FS2020 Subscribe

Most of the Lua logic shows multiple variables subscribed in one AM control and a single function. I haven't found in the wiki that one may have multiple subscriptions to different functions. Can someone clarify please? You can have however many individual subscriptions each with their own callback...
by Sling
Fri Feb 02, 2024 4:12 am
Forum: Air Manager Bug Reports
Topic: Nested Group visibility bug
Replies: 4
Views: 593

Nested Group visibility bug

AM 4.2 does not action changes in visibility if the node is part of a nested group (see example code for detail). Works just fine in 4.1.6 txt1 = txt_add("XXX", "font:arimo_regular.ttf", 50, 50, 100, 40) txt2 = txt_add("YYY", "font:arimo_regular.ttf", 50, 100,...
by Sling
Wed Jan 31, 2024 10:02 am
Forum: Beta Tester Requests
Topic: ATR 72-600 instrument collection (and ATR 42)
Replies: 35
Views: 9328

Re: ATR 72-600 instrument collection (and ATR 42)

SimPassion wrote: Tue Jan 23, 2024 9:34 am It was announced O: and B: are now accessible
Where exactly was that announced. No access to O vars as far as I’ve seen and access to B’s are limited.