v1.6.1 - A Few Fixes and New Utility States & Events #78
mpaperno
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Changes since v1.6.0:
Version number:
1060100Fixes
_(fixes #73). Thanks to @Mushupm on GitHub for reporting and testing a fix.except when used in a button's "On Hold" setup. This would only have affected actions added to buttons/flows since plugin v1.6.0, older versions of the same actions are unaffected.
Note For the fix to take effect, any existing plugin v1.6.0 actions need to be replaced with the new ones from this version.
Thanks to
@Raeason TP's Discord for reporting and troubleshooting a similar issue on another plugin, which led to the fix. (This turned out to be due to a silent Touch Portal error which prevented the action from being sent to the plugin.)Fixes possible issue with needing to add a delay before trying to use the data value, eg. in "AirplaneLoaded" event handler to read the model file name.
New States
stopped/starting/started) - Changes based on plugin status. Can be used with Touch Portal's "Start/Stop Plug-in" action for a toggle effect, for example.unknown/undetected/disconnected/connected) - (MSFS edition only) Reports connection status of the optional WASM module.Starts as "unknown" before initial simulator connection is established. "undetected" means the module could not be connected to at all, due to it not being installed or a connection error.
Otherwise the status should match the main SimConnect connection status of either connected or disconnected.
0/10/11/12) - Last connected simulator "major" version (default before any connection is0).These are the version numbers reported by SimConnect: 10 = FSX, 11 = FS20, 12 = FS24. (No idea what P3D reports, sorry!)
New Events
Implemented new Touch Portal v4+ event types that can contain associated data values as "local states," which can be used like other "local values" in actions that are placed inside the event block.
These events are alternatives to current options of listening for plugin state changes or the individual events in "Simulator System Event" choices.
Further details about each event and their local states is available in the generated plugin documentation on the Wiki (expand the category details and then go to "Events" link).
It has two local states which describe the event and contain the file name.
Full Commit Log
Check the README for installation instructions and other documentation.
The MSFS-TouchPortal-Plugin and FSX-TouchPortal-Plugin are separate plugins which can co-exist in Touch Portal. The "FSX" edition supports FSX Deluxe SP2 or newer simulators, including MSFS 2020, but the "MSFS" version is recommended for that instead. See the README for details.
The WASimModule is an optional WASM module for MSFS 2020 and 2024 which provides additional plugin functionality. Once again, please see that README for details.
This discussion was created from the release v1.6.1 - A Few Fixes and New Utility States & Events.
Beta Was this translation helpful? Give feedback.
All reactions