Paul Henty Posted October 23, 2021 Report Posted October 23, 2021 Hi John, One of my users reported problems with the MSFSVariableServices not working after stopping and restarting. I've confirmed this but then found it also happens with your client exe. This is for WASM Module 0.5.5. with the DLL and client from the 0.5.5 zip file. To reproduce the problem: Load any flight and be ready to fly Run the wasm client and select start Get the value of any LVAR, change the control in the sim and then get the new value. This works okay. Select stop in the client Then start again Get the value of the lvar again. Change the control in the sim. Get the LVar value again. This time it hasn't changed and gives the same value as before. There are wasm logs in the original thread if you want to see (linked below), but basically after restarting the log just repeats [TRACE]: Config data requested... Paul
John Dowson Posted October 23, 2021 Report Posted October 23, 2021 Hi Paul, Ok, I'll take a look, but tomorrow. I have a suspicion that this is due to the config data being the same, therefore the config data client area update isn't triggering the callback in the client. If that's the case, should be easy to fix....but I wonder why this issue hasn't arisen before. Anyway, I'll take a look, hopefully tomorrow, and get back to you. John
John Dowson Posted October 24, 2021 Report Posted October 24, 2021 Hi Paul, Turned out to be due to not resetting the data definition Ids when starting (or stopping) the simconnect connection, and so it was continually waiting for the client config data on a definition Id that didn't exist. This has been corrected now on WAPI v0.5.5 - all repos updated, and I have updated the zip package to 0.5.5a (now containing WASM 0.5.5 and WAPI 0.5.5, as well as the updated WASMClient). Regards, John
Paul Henty Posted October 24, 2021 Author Report Posted October 24, 2021 Thanks John. Is this fix just in the client-side libraries or does the WASM module also need replacing? Paul
John Dowson Posted October 24, 2021 Report Posted October 24, 2021 Just the WAPI / client side libraries. No change in the WASM - still at 0.5.5. John 1
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