Boebus Posted January 7 Report Posted January 7 Firstly, thank you John for the amazing work you do for the Flightsim community! I am writing an app using the Websocket server - amazing documentation and all is working fine, until I try and use a calc with MSFS2024. This is the request I am using: var request = { command: 'vars.calc', name: 'myCalc', code: '(L:S_OH_FUEL_LEFT_1) ! (>L:S_OH_FUEL_LEFT_1)', }; and the response I get is: Error for myCalc (vars.calc): FlightSimVersion - Any uses the legacy LVAR interface. This command is not supported. I imagine that the websocket server or some other component needs to be updated to recognise MSFS2024. Is there an update in the works please? I am currently using a registered copy of FSUIPC v7.5.1 with v1.1.2 of the Websocket server If it's helpful I am running Windows 11 and amd testing this with v2.3.0.553 of the Fenix A320 Thank you
John Dowson Posted January 8 Report Posted January 8 Maybe @Paul Henty could advise on this - does the WebSocketServer need to be updated for MSFS2024? I presume the websocketserver is checking the FS version at offset 0x3308. This holds 13 for MSFS2020 and 14 for MSFS2024, and is set when FSUIPC establishes a simconnect connection to the FS (and so knows what version it is connected to). You could try manually setting the value in this offset to 13 once it has been set to 14. You could do this in an ipcReady.lua script (if you have a license for FSUIPC7).
Paul Henty Posted January 8 Report Posted January 8 I have attached a beta version of the WebSocketServer below. This should have full support for MSFS2024. I haven't released it properly yet because I've not found anyone that can confirm if it works or not. (I don't have MSFS2024). Boebus can you please try the attached version and let me know if it works or not? Thanks, Paul FSUIPCWebSocketServer_V1.1.3-Beta.zip
Boebus Posted 17 hours ago Author Report Posted 17 hours ago Hi Paul and John - thank you for taking a look at this. I have downloaded the file you privided and can confirm that all is well with the websocket server and MSFS 2024. Here's a screenshot
Paul Henty Posted 17 hours ago Report Posted 17 hours ago Thanks for checking. I'll upload this version to the website this evening. Paul
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now