Yesterday at 01:50 PM1 day Commercial Member Hello @ll,AAO Version 4.57 build 21 has been uploaded to the shops today. Please give them a few hours to deploy the app.Should there be Defender/SmartScreen trouble with the files, please let us know. There is a way to get them cleared, at least by Microsoft security.Changes in AxisAndOhs version 4.57General changes:- Change: Buttons: added "Double Click" Option- Change: Buttons: prevent keyboard from overriding joystick assignments- Change: Added Script Indexing mechanism to improve lookup times- Change: Added option to choose the AAO user files folder- Change: Added option to blacklist all DirectInput devices on the Device Blacklist dialog- Change: RPN: added winfocus and procfocus operatorsSimulator specific:- Change: MSFS 2024: updated to SU5 SDK- Change: XPlane: added access to XP WebAPIBugfixes:- Bugfix: vJoy axis didn't have a center- Bugfix: Variable Selection dialog didn't handle IEs and BVars correctly- Bugfix: max/min value of event axis flight controls always forced to 16383- Bugfix: RPN: Gauges/Scriptfiles "Compile" method skipping space characters after empty string literals.- Bugfix: RPN: WAIT: String LVars not processed correctly when using WAIT between assignments inside the same script. Edited yesterday at 01:51 PM1 day by Lorby_SI LORBY-SI
Yesterday at 02:17 PM1 day Author Commercial Member A note for MSFS 2024 users:since SU5 there is the option to access O: and I: variables. Unfortunately this isn't bullet proof yet - I still have an open and confirmed bug ticket in the MSFS developer forum, because sometimes the process refuses to work.Here is an example that does work for the default C208, it pushes the GENERATOR switch up (reset) and holds it there0·(>O:ELECTRICAL:ELECTRICAL_SWITCH_ALTERNATOR_1:SwitchState,·Number)·1·(>B:ELECTRICAL_Alternator_1_Reset,·Number)· (E:SIMULATION·TIME,·seconds)·0.5·+·(>O:ELECTRICAL:ELECTRICAL_SWITCH_ALTERNATOR_1:XMLVAR_SwitchStateTimer,·Number)· (E:SIMULATION·TIME,·seconds)·0.5·+·(>O:ELECTRICAL:ELECTRICAL_SWITCH_ALTERNATOR_1:XMLVAR_Repeat_StartTime,·Number)· 1·(>O:ELECTRICAL:ELECTRICAL_SWITCH_ALTERNATOR_1:XMLVAR_MomentarySwitch_IsHeld,·Number)· This pushes the switch down (trip) and holds it there:2·(>O:ELECTRICAL:ELECTRICAL_SWITCH_ALTERNATOR_1:SwitchState,·Number)·1·(>B:ELECTRICAL_Alternator_1_Trip,·Number)· (E:SIMULATION·TIME,·seconds)·0.5·+·(>O:ELECTRICAL:ELECTRICAL_SWITCH_ALTERNATOR_1:XMLVAR_SwitchStateTimer,·Number)· (E:SIMULATION·TIME,·seconds)·0.5·+·(>O:ELECTRICAL:ELECTRICAL_SWITCH_ALTERNATOR_1:XMLVAR_Repeat_StartTime,·Number)· 1·(>O:ELECTRICAL:ELECTRICAL_SWITCH_ALTERNATOR_1:XMLVAR_MomentarySwitch_IsHeld,·Number)·This releases the switch:0·(>O:ELECTRICAL:ELECTRICAL_SWITCH_ALTERNATOR_1:XMLVAR_MomentarySwitch_IsHeld,·Number)·And this will read the current position of the switch:(O:ELECTRICAL:ELECTRICAL_SWITCH_ALTERNATOR_1:SwitchState, Number)(... these scripts can probably simplyfied - I've just replicated the behavior code here...)Specs for reference in the MSFS 2024 SDK manual: SimConnect_AddToDataDefinition(at the bottom of the page there is a list of all variable types and how to assemble their names) Edited yesterday at 02:26 PM1 day by Lorby_SI LORBY-SI
Create an account or sign in to comment