Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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

Posted

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).

 

Posted

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

Posted

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

 

 fsuipc.png

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.