kaha Posted yesterday at 03:27 PM Report Posted yesterday at 03:27 PM Since today my Lua scripts I have in the [AUTO] section of the .ini file don't run in MSFS2024. In MSFS2020 it works. I have one single FSUIPC installation for both sims. Attached is the .ini file and both logs (2020 and 2024). What can possibly cause this? I think MSFS2024 must be the cause because I didn't change anything in FSUIPC and it worked in 2024 this morning but not this afternoon. Karl FSUIPC7.zip
John Dowson Posted 22 hours ago Report Posted 22 hours ago Your log shows that the lua scripts were not started because the lvar/hvar list was not received from the WASM. I am not sure why this happened and will need to see your FSUIPC_WASM.log file, generated with Debug level logging activated in the WASM. This could be due to either the WASM crashing, or a change in the camera (or other) events that prevent the WASM for scanning and sending the lvars. Can you activate Debug level logging in the WASM (via the FSUIPC_WASM.ini file) and also show me that file for MSFS2024. I will also check this here tomorrow. Your logs also show some reconnection attempts at start-up for both MSFS2020 and MSFS2024. This is because your ini parameter DetectToConnectDelayAuto is set to low (at 30 seconds). You should change this value to 90. John
John Dowson Posted 22 hours ago Report Posted 22 hours ago This may be related to the recent SU2 update of MSFS2024. I will check this here....
John Dowson Posted 21 hours ago Report Posted 21 hours ago 11 minutes ago, John Dowson said: This may be related to the recent SU2 update of MSFS2024. I will check this here.... I just tried MSFS2024 here and it seems ok, so I will need to see your FSUIPC_WASM.log for MSFS2024. Should be located under: AppData\Roaming\Microsoft Flight Simulator 2024\WASM\MSFS2020\fsuipc-lvar-module\work You can set Debug level logging in the FSUIPC_WASM.ini file in the same location. John
kaha Posted 21 hours ago Author Report Posted 21 hours ago 14 minutes ago, John Dowson said: ...so I will need to see your FSUIPC_WASM.log for MSFS2024. Should be located under: AppData\Roaming\Microsoft Flight Simulator 2024\WASM\MSFS2020\fsuipc-lvar-module\work You can set Debug level logging in the FSUIPC_WASM.ini file in the same location. John, there is no FSUIPC_WASM.log file for MSFS2024. I only could find log files for 2020. Attached are 3 screenshots of a file search for the log file on C:, E: and F: MSFS2020 is on F:, MSFS2024 is on E: Also attached is the FSUIPC_WASM.ini file for 2024 as I changed it to log level DEBUG. THis file is in folder E:\MSFS2024\Community\fsuipc-lvar-module I changed the value for DetectToConnectDelayAut, thank you for the hint. FSUIPC_WASM_ini.zip Screenshots.zip
kaha Posted 20 hours ago Author Report Posted 20 hours ago I just saw the folder names in the search for E: and F: got truncated. Here's a better version. Screenshots.zip
ark1320 Posted 12 hours ago Report Posted 12 hours ago Just as another data point, auto Lua scripts are working for me after the FS2024 SU2 update today. Al
John Dowson Posted 7 hours ago Report Posted 7 hours ago 13 hours ago, kaha said: John, there is no FSUIPC_WASM.log file for MSFS2024. I only could find log files for 2020. There must be - that location was for steam installs - for MS Store installs it should be under: AppData\Local\Packages\Microsoft.Limitless_8wekyb3d8bbwe\LocalState\WASM\MSFS2020\fsuipc-lvarmodule\work In fact, your screenshots show you have one in that location. Screenshot (2077).png shows the log file for MSFS2024. and Screenshot (2076).png shows the log files for both 2020 and 2024. There won't be an FSUIPC_WASM.ini file there by default - you have to copy this across from the Community folder. See the section WASM module ini file and parameters on page 51 of the Advanced User guide for details on file locations. 13 hours ago, kaha said: Also attached is the FSUIPC_WASM.ini file for 2024 as I changed it to log level DEBUG. THis file is in folder E:\MSFS2024\Community\fsuipc-lvar-module You can also set Debug level logging there. Note that that file gets overwritten when you re-install/update, which is why it is better to change the one under your AppData folder, which also takes precedence (when provided). 4 hours ago, ark1320 said: Just as another data point, auto Lua scripts are working for me after the FS2024 SU2 update today. Ok, then no need to send/show me the WASM log file then. Keep Debug level logging activated, and the next time they don't start show me the WASM log file. John
kaha Posted 7 hours ago Author Report Posted 7 hours ago I now deleted all FSUIPC_WASM.log files on my system. Then I ran MSFS2024. auto lua scripts did not start. There is no FSUIPC_WASM.log file to find. I assume it should be in this folder?
kaha Posted 7 hours ago Author Report Posted 7 hours ago 5 hours ago, ark1320 said: Just as another data point, auto Lua scripts are working for me after the FS2024 SU2 update today. Al Do you also have MSFS2020 installed?
John Dowson Posted 7 hours ago Report Posted 7 hours ago As I said, your previous screenshots showed the log files. You are looking in the wrong place - for MS store installs in MSFS2024, it should be under AppData\Local\Packages\Microsoft.Limitless_8wekyb3d8bbwe\LocalState\WASM\MSFS2020\fsuipc-lvarmodule\work as I said....please see the documentation that I previously referenced... 2 minutes ago, kaha said: Do you also have MSFS2020 installed? Yes, of course. But I have steam installations, not MS Store.
John Dowson Posted 6 hours ago Report Posted 6 hours ago As I said, your previous screenshot showed those files...if the log file is not now being created, then the WASM isn't running. Check in MSFS if the WASM is actually running.
kaha Posted 6 hours ago Author Report Posted 6 hours ago Hmm.. strange... "List Lvars" does nothing. And "Reload and List Lvars" also does nothing.
John Dowson Posted 6 hours ago Report Posted 6 hours ago 5 minutes ago, kaha said: How can I check that? You have to enable devmode in MSFS in the Advanced options, then use the Debug->Display WASM debug window, then select the FSUIPC WASM lvar module and then look in the Module section tab. Just now, kaha said: Hmm.. strange... "List Lvars" does nothing. And "Reload and List Lvars" also does nothing. That is because FSUIPC isn't receiving anything from the WASM. You said that your lua scripts were started earlier, so this means the WASM was running and working at some point. I have no idea why it is no longer working. Try rebooting and try again.
John Dowson Posted 6 hours ago Report Posted 6 hours ago This image shows the WASM running (note status is READY)::
kaha Posted 4 hours ago Author Report Posted 4 hours ago Thank you for the explanation. The FSUIPC WASM module isn't in the list.
John Dowson Posted 4 hours ago Report Posted 4 hours ago 18 minutes ago, kaha said: The FSUIPC WASM module isn't in the list. Then it isn't running. I have no idea why this is. Check the logging console (Debug-Console) and search for fsuipc and see what messages you see.
John Dowson Posted 4 hours ago Report Posted 4 hours ago So the WASM is being registered but not mounted and initialized. I have no idea why this is. It must have ran at some point as you said: 7 hours ago, ark1320 said: Just as another data point, auto Lua scripts are working for me after the FS2024 SU2 update today. So something must have changed. Try re-installing FSUIPC7 (and the WASM).
kaha Posted 4 hours ago Author Report Posted 4 hours ago 3 minutes ago, John Dowson said: ... It must have ran at some point as you said: So something must have changed. Try re-installing FSUIPC7 (and the WASM). That wasn't me.
John Dowson Posted 3 hours ago Report Posted 3 hours ago 17 minutes ago, kaha said: That wasn't me. Ah, sorry - didn't notice that was from another user.
kaha Posted 3 hours ago Author Report Posted 3 hours ago I un- and then reinstalled FSUIPC but it's still not working in MSFS2024. What can I do? All my axis concerning throttle, prop, mixture, spoilers, etc. rely on auto scripts, also all my Arduinos. The problem started yesterday afternoon, shortly before the SU2 update was live. I probably used MSFS2024 while the SU2 update went live. Only on the next start of 2024 I got the update. Here's the screenshot of my SU2 update, timestamp 17:03. Now please check the timestamp of the 2024 log file in my screenshot 2077, that was the last log with timestamp 15:42 SU2 Update.zip
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