-
Posts
68 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Downloads
Posts posted by Mugz
-
-
There is always error in event viewer if i just exit FSUIPC.
Faulting application name: FSUIPC7.exe, version: 7.2.0.0, time stamp: 0x60c73d2e Faulting module name: FSUIPC7.exe, version: 7.2.0.0, time stamp: 0x60c73d2e Exception code: 0xc0000005 Fault offset: 0x0000000000019884 Faulting process id: 0xf9cc Faulting application start time: 0x01d7611fa2106f1f Faulting application path: C:\Apps\FSUIPC\FSUIPC7.exe Faulting module path: C:\Apps\FSUIPC\FSUIPC7.exe Report Id: 7621b18c-399e-4d4c-a003-36d930aca76e Faulting package full name: Faulting package-relative application ID:
-
6 minutes ago, John Dowson said:
I could be an issue with your lua scripts. Do you get the crashes if not running your lua scripts?
If not, could you activate logging for Lua Plugins and try again (i.e. make it crash), and show me the new crash log.Crash FSUIPC is not issue for me, i always can start them again 😃
Problem for me only with not correct data for gears if i start flight from midflight and then run FSUIPC.
example script:
-- Test Pollrate = 25 function Poll(time) noseGear = ipc.readUD(0x0BEC) leftGear = ipc.readUD(0x0BF4) rightGear = ipc.readUD(0x0BF0) ipc.log("Gear L-N-R state: "..leftGear.." "..noseGear.." "..rightGear) end event.timer(1000/Pollrate, "Poll") -- Poll values 'Pollrate' times per second
-
There is crash of FSUIPC with log:
********* FSUIPC7, Version 7.2.1a (14th June 2021) by John Dowson ********* Checking for FS path in 'C:\Users\Mugz\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\UserCfg.opt' FS path found = E:\Sim\MSFS2020\ WebSocket server found: C:\Apps\FSUIPC\\Utils\FSUIPCWebSocketServer.exe Windows 10 Pro 64 Bit reported as Build 19043, Release ID: 2009 (OS 10.0) Reading options from "C:\Apps\FSUIPC\FSUIPC7.ini" Checking the Registrations now ... User Name="Maksim Brykov" User Addr="mixmugz@gmail.com" FSUIPC7 Key is provided WIDEFS7 not user registered, or expired 125 System time = 14/06/2021 15:55:12 125 FLT path = "C:\Users\Mugz\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\" 187 ------------------------------------------------------------------- 234 No hot key defined to open FSUIPC main window - this is ok 281 FS path = "E:\Sim\MSFS2020\" 281 ---------------------- Joystick Device Scan ----------------------- 281 Product= R-VPC Stick MT-50CM2 281 Manufacturer= VIRPIL Controls/20210102 281 Vendor=3344, Product=4130 (Version 0.1) 359 GUIDs returned for product: VID_3344&PID_4130: 359 GUID= {FBB6C6E0-C8A9-11EB-8001-444553540000} 359 Details: Btns=31, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U16384,V16384,X16384,Y16384,Z16384 359 Product= VPC Rudder Pedals 359 Manufacturer= VIRPIL Controls/20210102 359 Vendor=3344, Product=01F8 (Version 0.1) 359 GUIDs returned for product: VID_3344&PID_01F8: 359 GUID= {FBB73C10-C8A9-11EB-8003-444553540000} 359 Details: Btns=0, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U16384,V0,X0,Y0,Z16384 359 Product= L-VPC Panel #2 359 Manufacturer= VIRPIL Controls/20210102 359 Vendor=3344, Product=825B (Version 0.1) 359 GUIDs returned for product: VID_3344&PID_825B: 359 GUID= {33742FA0-C8AA-11EB-8007-444553540000} 359 Details: Btns=42, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U0,V0,X0,Y0,Z0 375 Product= L-VPC Throttle MT-50CM3 375 Manufacturer= VIRPIL Controls/20210102 375 Vendor=3344, Product=8194 (Version 0.1) 375 GUIDs returned for product: VID_3344&PID_8194: 375 GUID= {31F3AA20-C8AA-11EB-8005-444553540000} 375 Details: Btns=62, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R16384,U16384,V16384,X16384,Y16384,Z16384 375 ------------------------------------------------------------------- 390 Device acquired for use: 390 Joystick ID = 0 (Registry okay) 390 0=RIGHT VPC Stick MT-50CM2 390 0.GUID={FBB6C6E0-C8A9-11EB-8001-444553540000} 390 Device acquired for use: 390 Joystick ID = 1 (Registry okay) 390 1=VPC Rudder Pedals 390 1.GUID={FBB73C10-C8A9-11EB-8003-444553540000} 390 Device acquired for use: 390 Joystick ID = 3 (Registry okay) 390 3=LEFT VPC Panel #2 390 3.GUID={33742FA0-C8AA-11EB-8007-444553540000} 390 Device acquired for use: 390 Joystick ID = 2 (Registry okay) 390 2=LEFT VPC Throttle MT-50CM3 390 2.GUID={31F3AA20-C8AA-11EB-8005-444553540000} 390 ------------------------------------------------------------------- 406 ### Note: AI Traffic related facilities and data are inhibited! 406 LogOptions=00000000 00000001 3218 Simulator detected 8234 SimConnect_Open succeeded 8234 Running in "KittyHawk", Version: 11.0.282174.999 (SimConnect: 11.0.62651.3) 8234 MSFS version = 11.0.282174.999 8234 Initialising SimConnect data requests now 8250 flights\other\MainMenu.FLT 8250 SimObjects\Airplanes\Asobo_TBM930\aircraft.CFG 8312 User Aircraft ID 1 supplied, now being used 8406 Aircraft loaded: running normally now ... 8484 System time = 14/06/2021 15:55:20, Simulator time = 12:55:20 (12:55Z) 8484 Aircraft="TBM 930 Asobo" 16078 E:\Sim\MSFS2020\Official\OneStore\asobo-aircraft-tbm930\SimObjects\Airplanes\Asobo_TBM930\aircraft.CFG 16234 LUA.1: Init LED state! 16312 [INFO]: **** Starting FSUIPC7 WASM Interface (WAPI) version 0.5.1 16312 [INFO]: Connected to MSFS 16375 LUA.2: Init LED state! 16390 LUA.3: Init LED state!
-
1 minute ago, John Dowson said:
Sorry, which error?
I mean event.terminate work correct only if i exit from FSUIPC or MSFS. If i exit from flight to main menu event.terminate work only for first script.
SIM STARTED FLIGHT 9281 LUA.1: Init LED state! 9359 [INFO]: **** Starting FSUIPC7 WASM Interface (WAPI) version 0.5.1 9359 [INFO]: Connected to MSFS 9359 System time = 14/06/2021 15:23:53, Simulator time = 06:23:50 (12:23Z) 9438 LUA.2: Init LED state! 9453 LUA.3: Init LED state! 16172 -------------------- Starting everything now ---------------------- 178266 Sim stopped: average frame rate for last 155 secs = 29.1 fps 178266 ------------------------------------------------------------------- EXIT TO MAIN MENU FROM FLIGHT 181766 E:\Sim\MSFS2020\Official\OneStore\asobo-aircraft-tbm930\SimObjects\Airplanes\Asobo_TBM930\aircraft.CFG 188672 Lua threads being terminated: 188672 1 = "C:\Apps\FSUIPC\VPC_RCA_MT50CM2.lua" 188688 Waiting for lua threads to process termination event... 188688 LUA.1: Reseting LED state! 190875 LUA: "C:\Apps\FSUIPC\VPC_RCA_MT50CM2.lua": killed 191125 **** DevCom read/write threads still running - will exit anyway but could cause issues... 191438 **** DevCom Read thread terminated 191500 2 = "C:\Apps\FSUIPC\VPC_LT_MT50CM3.lua" 191703 LUA: "C:\Apps\FSUIPC\VPC_LT_MT50CM3.lua": killed 191953 **** DevCom read/write threads still running - will exit anyway but could cause issues... 192250 **** DevCom Read thread terminated 192313 3 = "C:\Apps\FSUIPC\VPC_LP_#2.lua" 192516 LUA: "C:\Apps\FSUIPC\VPC_LP_#2.lua": killed 192781 **** DevCom read/write threads still running - will exit anyway but could cause issues... 193094 **** DevCom Read thread terminated 985063 Sim stopped: average frame rate for last 799 secs = 65.7 fps 985063 ------------------------------------------------------------------- 985188 LUA.4: Init LED state! 985344 LUA.5: Init LED state! 985359 LUA.6: Init LED state! 1150938 Sim stopped: average frame rate for last 144 secs = 44.3 fps 1150938 ------------------------------------------------------------------- 1160828 Lua threads being terminated: 1160828 4 = "C:\Apps\FSUIPC\VPC_RCA_MT50CM2.lua" 1160844 Waiting for lua threads to process termination event... 1160844 LUA.4: Reseting LED state! 1163047 LUA: "C:\Apps\FSUIPC\VPC_RCA_MT50CM2.lua": killed 1163297 **** DevCom read/write threads still running - will exit anyway but could cause issues... 1163594 **** DevCom Read thread terminated 1163656 5 = "C:\Apps\FSUIPC\VPC_LT_MT50CM3.lua" 1163859 LUA: "C:\Apps\FSUIPC\VPC_LT_MT50CM3.lua": killed 1164125 **** DevCom read/write threads still running - will exit anyway but could cause issues... 1164438 **** DevCom Read thread terminated 1164500 6 = "C:\Apps\FSUIPC\VPC_LP_#2.lua" 1164703 LUA: "C:\Apps\FSUIPC\VPC_LP_#2.lua": killed 1164953 **** DevCom read/write threads still running - will exit anyway but could cause issues... 1165250 **** DevCom Read thread terminated
-
Just now, John Dowson said:
are they all from FSUIPC7?
Yes, all of them is FSUIPC
I have only FSCUIP error for last 10 days in my event log.
3 minutes ago, John Dowson said:If FSUIPC crashes, you should save the log and show it to me. The log is also renamed FSUIPC7_prev.log when FSUIPC7 is restarted, so you will still have your previous log rvrn if you restart FSUiPC7. I cannot help you if you do not show me your logs...
Ok. I will try to save log and show it to you.
-
Additional info.
This error only when i exit from flight to main menu (not from simulator).
Exiting from SIM (Alt+F4) or exitin from FSUIPC by menu File -> Exit work like a charm.
-
1 minute ago, John Dowson said:
I don't understand this. Do you mean it crashed? If FSUIPC7 is crashing or not exiring cleanly, I need to see your lkohgs + any windows event information. There is no point in reporting things otherwise.
There is no any information in log. App Log i can show, but there is a lot error =|
2 minutes ago, John Dowson said:So your lua scripts were not started? Do you have the logs for this?
Nope, LOG overwrites every time when i start FSUIPC
3 minutes ago, John Dowson said:Ok - as I said, I will look into this.
A huge thanks for this!
-
5 minutes ago, John Dowson said:
If FSUIPC is crashing, please show me your FSUIPC7.log (from when it crashed), together with any event information from the Windows Event viewer.
I don't have FSUIPC7.log, because it's overwrites every time when i start FSUIPC. There is attached VPC scripts.
In ini i have
```[LuaFiles]
1=VPC_Base
2=VPC_LP_#2
3=VPC_LT_MT50CM3
4=VPC_RCA_MT50CM2[Auto]
1=Lua VPC_RCA_MT50CM2
2=Lua VPC_LT_MT50CM3
3=Lua VPC_LP_#2 (Gear state in this script)```
-
7 minutes ago, John Dowson said:
So MSFS crashed?
Nope. MSFS still work and flight is continue.
7 minutes ago, John Dowson said:But is the sim running (you say it crashed)?
No, i mean simulate FSUIPC crash. Sometimes FSUIPC closed and exited without any error
7 minutes ago, John Dowson said:Also, when/how are you reading this? i,e, how do you know 'in simvars i have '0' value'?
I using SimWatcher (by Asobo SDK) to watch SimVars values.
for LUA i'm using
noseGear = ipc.readUD(0x0BEC)
leftGear = ipc.readUD(0x0BF4)
rightGear = ipc.readUD(0x0BF0)in Poll function then print values through ipc.log
-
40 minutes ago, John Dowson said:
However, it is probably better to merge your scripts and just have one event.terminate call anyway.
I dont have idea how to do this, because i have three separated devices with different logic. And i need script to work if some device not accessible.
45 minutes ago, John Dowson said:This should call the event.terminate functions for all scripts (but please report back!), but it will only add the TimeForLuaClosing delay to the first event.terminate call. I will look into this further and report back.
Firstrun. FSUIPC started, then, after running flight exited without any error in log or something else. Just unloaded from memory.
Second run: FSUIPC started, but LUA scripts not runned even after starting flight
Third run: All started ok, but after exit flight event.terminate work only for first script.********* FSUIPC7, Version 7.2.1a (14th June 2021) by John Dowson ********* Checking for FS path in 'C:\Users\Mugz\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\UserCfg.opt' FS path found = E:\Sim\MSFS2020\ WebSocket server found: C:\Apps\FSUIPC\\Utils\FSUIPCWebSocketServer.exe Windows 10 Pro 64 Bit reported as Build 19043, Release ID: 2009 (OS 10.0) Reading options from "C:\Apps\FSUIPC\FSUIPC7.ini" Checking the Registrations now ... User Name="Maksim Brykov" User Addr="mixmugz@gmail.com" FSUIPC7 Key is provided WIDEFS7 not user registered, or expired 110 System time = 14/06/2021 15:13:07 110 FLT path = "C:\Users\Mugz\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\" 188 ------------------------------------------------------------------- 219 No hot key defined to open FSUIPC main window - this is ok 235 FS path = "E:\Sim\MSFS2020\" 235 ---------------------- Joystick Device Scan ----------------------- 235 Product= R-VPC Stick MT-50CM2 235 Manufacturer= VIRPIL Controls/20210102 235 Vendor=3344, Product=4130 (Version 0.1) 313 GUIDs returned for product: VID_3344&PID_4130: 313 GUID= {FBB6C6E0-C8A9-11EB-8001-444553540000} 313 Details: Btns=31, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U16384,V16384,X16384,Y16384,Z16384 313 Product= VPC Rudder Pedals 313 Manufacturer= VIRPIL Controls/20210102 313 Vendor=3344, Product=01F8 (Version 0.1) 313 GUIDs returned for product: VID_3344&PID_01F8: 313 GUID= {FBB73C10-C8A9-11EB-8003-444553540000} 313 Details: Btns=0, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U16384,V0,X0,Y0,Z16384 313 Product= L-VPC Panel #2 313 Manufacturer= VIRPIL Controls/20210102 313 Vendor=3344, Product=825B (Version 0.1) 313 GUIDs returned for product: VID_3344&PID_825B: 313 GUID= {33742FA0-C8AA-11EB-8007-444553540000} 313 Details: Btns=42, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U0,V0,X0,Y0,Z0 313 Product= L-VPC Throttle MT-50CM3 313 Manufacturer= VIRPIL Controls/20210102 313 Vendor=3344, Product=8194 (Version 0.1) 313 GUIDs returned for product: VID_3344&PID_8194: 313 GUID= {31F3AA20-C8AA-11EB-8005-444553540000} 313 Details: Btns=62, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R16384,U16384,V16384,X16384,Y16384,Z16384 313 ------------------------------------------------------------------- 328 Device acquired for use: 328 Joystick ID = 0 (Registry okay) 328 0=RIGHT VPC Stick MT-50CM2 328 0.GUID={FBB6C6E0-C8A9-11EB-8001-444553540000} 328 Device acquired for use: 328 Joystick ID = 1 (Registry okay) 328 1=VPC Rudder Pedals 328 1.GUID={FBB73C10-C8A9-11EB-8003-444553540000} 328 Device acquired for use: 328 Joystick ID = 3 (Registry okay) 328 3=LEFT VPC Panel #2 328 3.GUID={33742FA0-C8AA-11EB-8007-444553540000} 328 Device acquired for use: 328 Joystick ID = 2 (Registry okay) 328 2=LEFT VPC Throttle MT-50CM3 328 2.GUID={31F3AA20-C8AA-11EB-8005-444553540000} 328 ------------------------------------------------------------------- 344 ### Note: AI Traffic related facilities and data are inhibited! 344 LogOptions=00000000 00000001 3219 Simulator detected 8297 SimConnect_Open succeeded 8297 Running in "KittyHawk", Version: 11.0.282174.999 (SimConnect: 11.0.62651.3) 8297 MSFS version = 11.0.282174.999 8297 Initialising SimConnect data requests now 8344 C:\Users\Mugz\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\MISSIONS\Custom\CustomFlight\CustomFlight.FLT 8344 SimObjects\Airplanes\Asobo_TBM930\aircraft.CFG 8344 User Aircraft ID 1 supplied, now being used 8438 Aircraft loaded: running normally now ... 8828 System time = 14/06/2021 15:13:15, Simulator time = 06:13:13 (12:13Z) 8828 Aircraft="TBM 930 Asobo" 8938 LUA.1: Init LED state! 9016 [INFO]: **** Starting FSUIPC7 WASM Interface (WAPI) version 0.5.1 9032 [INFO]: Connected to MSFS 9110 LUA.2: Init LED state! 9110 LUA.3: Init LED state! 15813 -------------------- Starting everything now ---------------------- 39938 E:\Sim\MSFS2020\Official\OneStore\asobo-aircraft-tbm930\SimObjects\Airplanes\Asobo_TBM930\aircraft.CFG 46828 Lua threads being terminated: 46828 1 = "C:\Apps\FSUIPC\VPC_RCA_MT50CM2.lua" 46828 LUA.1: Reseting LED state! 46844 Waiting for lua threads to process termination event... 49047 LUA: "C:\Apps\FSUIPC\VPC_RCA_MT50CM2.lua": killed 49297 **** DevCom read/write threads still running - will exit anyway but could cause issues... 49610 **** DevCom Read thread terminated 49672 2 = "C:\Apps\FSUIPC\VPC_LT_MT50CM3.lua" 49875 LUA: "C:\Apps\FSUIPC\VPC_LT_MT50CM3.lua": killed 50110 **** DevCom read/write threads still running - will exit anyway but could cause issues... 50422 **** DevCom Read thread terminated 50485 3 = "C:\Apps\FSUIPC\VPC_LP_#2.lua" 50688 LUA: "C:\Apps\FSUIPC\VPC_LP_#2.lua": killed 50938 **** DevCom read/write threads still running - will exit anyway but could cause issues... 51250 **** DevCom Read thread terminated
-
Just now, John Dowson said:
Ok, I'll add the ARM and ACTIVE simvars - AUTOPILOT GLIDESLOPE HOLD is already available in offset 0x07FC, and post a new version for you to test, either later today or tomorrow.
Thanks!
-
Step to reproduce:
- Script for read offsets: OBEC, 0BF0, 0BF4 (then print value to log)
- Autorun script in FSUIPC7.ini
- Run Simulator in midflight (MSFS for me)
- Exit FSUIPC (simulate crash)
- Start FSUIPC.When FSUIPC start and load script - he read offsets with value 16383 (gear's full down), but in simvars i have '0' value, what means all gears is up.
It's happen only if run in mid flight. Sometimes with already running FSUIPC. But always if start FSUIPC after starting flight.
-
1 minute ago, John Dowson said:
please take care to post in the correct forum for future requests
Oh. Sorry. Got it.
1 minute ago, John Dowson said:Which version of FSUIPC are you using?
FSUIPC7.2.0
2 minutes ago, John Dowson said:Are there any other simvars that I should look into adding at the same time (e.g. AUTOPILOT GLIDESLOPE ARM, AUTOPILOT APPROACH CAPTURED, AUTOPILOT APPROACH ARM or AUTOPILOT APPROACH ACTIVE)?
All what i need:
- AUTOPILOT GLIDESLOPE ARM
- AUTOPILOT GLIDESLOPE HOLD
- AUTOPILOT GLIDESLOPE ACTIVE -
*** Moved from User Contributions sub-form to main support forum ***
There is only two offsets
AUTOPILOT GLIDESLOPE HOLD
AUTOPILOT APPROACH HOLD (look's like simvar: AUTOPILOT GLIDESLOPE ARM)but not find offset for SimVar: AUTOPILOT GLIDESLOPE ACTIVE
this simvar is true when AP catch GS on final.
-
Full log.
********* FSUIPC7, Version 7.2.0 (8th June 2021) by John Dowson ********* Checking for FS path in 'C:\Users\Mugz\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\UserCfg.opt' FS path found = E:\Sim\MSFS2020\ WebSocket server found: C:\Apps\FSUIPC\\Utils\FSUIPCWebSocketServer.exe Windows 10 Pro 64 Bit reported as Build 19043, Release ID: 2009 (OS 10.0) Reading options from "C:\Apps\FSUIPC\FSUIPC7.ini" Checking the Registrations now ... User Name="Maksim Brykov" User Addr="mixmugz@gmail.com" FSUIPC7 Key is provided WIDEFS7 not user registered, or expired 93 System time = 14/06/2021 12:32:38 93 FLT path = "C:\Users\Mugz\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\" 156 ------------------------------------------------------------------- 171 No hot key defined to open FSUIPC main window - this is ok 203 FS path = "E:\Sim\MSFS2020\" 203 ---------------------- Joystick Device Scan ----------------------- 203 Product= R-VPC Stick MT-50CM2 203 Manufacturer= VIRPIL Controls/20210102 203 Vendor=3344, Product=4130 (Version 0.1) 281 GUIDs returned for product: VID_3344&PID_4130: 281 GUID= {FBB6C6E0-C8A9-11EB-8001-444553540000} 281 Details: Btns=31, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U16384,V16384,X16384,Y16384,Z16384 281 Product= VPC Rudder Pedals 281 Manufacturer= VIRPIL Controls/20210102 281 Vendor=3344, Product=01F8 (Version 0.1) 281 GUIDs returned for product: VID_3344&PID_01F8: 281 GUID= {FBB73C10-C8A9-11EB-8003-444553540000} 281 Details: Btns=0, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U16384,V0,X0,Y0,Z16384 281 Product= L-VPC Panel #2 281 Manufacturer= VIRPIL Controls/20210102 281 Vendor=3344, Product=825B (Version 0.1) 281 GUIDs returned for product: VID_3344&PID_825B: 281 GUID= {33742FA0-C8AA-11EB-8007-444553540000} 281 Details: Btns=42, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R0,U0,V0,X0,Y0,Z0 281 Product= L-VPC Throttle MT-50CM3 296 Manufacturer= VIRPIL Controls/20210102 296 Vendor=3344, Product=8194 (Version 0.1) 296 GUIDs returned for product: VID_3344&PID_8194: 296 GUID= {31F3AA20-C8AA-11EB-8005-444553540000} 296 Details: Btns=62, POVs=(0, 0, 0, 0), Cal=x00000000, Max=R16384,U16384,V16384,X16384,Y16384,Z16384 296 ------------------------------------------------------------------- 312 Device acquired for use: 312 Joystick ID = 0 (Registry okay) 312 0=RIGHT VPC Stick MT-50CM2 312 0.GUID={FBB6C6E0-C8A9-11EB-8001-444553540000} 312 Device acquired for use: 312 Joystick ID = 1 (Registry okay) 312 1=VPC Rudder Pedals 312 1.GUID={FBB73C10-C8A9-11EB-8003-444553540000} 312 Device acquired for use: 312 Joystick ID = 3 (Registry okay) 312 3=LEFT VPC Panel #2 312 3.GUID={33742FA0-C8AA-11EB-8007-444553540000} 312 Device acquired for use: 312 Joystick ID = 2 (Registry okay) 312 2=LEFT VPC Throttle MT-50CM3 312 2.GUID={31F3AA20-C8AA-11EB-8005-444553540000} 312 ------------------------------------------------------------------- 312 ### Note: AI Traffic related facilities and data are inhibited! 312 LogOptions=00000000 00000001 3171 Simulator detected 8218 SimConnect_Open succeeded 8218 Running in "KittyHawk", Version: 11.0.282174.999 (SimConnect: 11.0.62651.3) 8218 MSFS version = 11.0.282174.999 8218 Initialising SimConnect data requests now 34203 User Aircraft ID not supplied -- trying default 44046 E:\Sim\MSFS2020\Official\OneStore\asobo-aircraft-pitts\SimObjects\Airplanes\Asobo_Pitts\aircraft.CFG 46125 Aircraft loaded: running normally now ... 46500 System time = 14/06/2021 12:33:24, Simulator time = 08:33:22 (09:33Z) 46515 Aircraft="Pitts Asobo" 53515 -------------------- Starting everything now ---------------------- 97453 E:\Sim\MSFS2020\Official\OneStore\asobo-aircraft-tbm930\SimObjects\Airplanes\Asobo_TBM930\aircraft.CFG 97453 Sim stopped: average frame rate for last 51 secs = 157.7 fps 97453 ------------------------------------------------------------------- 97656 [INFO]: **** Starting FSUIPC7 WASM Interface (WAPI) version 0.5.1 97656 [INFO]: Connected to MSFS 97671 LUA.2: ap state: 1 97687 LUA.1: Init LED state! 97687 LUA.2: Init LED state! 97703 LUA.3: Init LED state! 97906 Lua threads being terminated: 97906 1 = "C:\Apps\FSUIPC\VPC_LP_#2.lua" 97906 Waiting for lua threads to process termination event... 97906 LUA.1: Reseting LED state! 101093 LUA: "C:\Apps\FSUIPC\VPC_LP_#2.lua": killed 101359 **** DevCom read/write threads still running - will exit anyway but could cause issues... 101671 **** DevCom Read thread terminated 101734 2 = "C:\Apps\FSUIPC\VPC_LT_MT50CM3.lua" 101921 LUA: "C:\Apps\FSUIPC\VPC_LT_MT50CM3.lua": killed 102187 **** DevCom read/write threads still running - will exit anyway but could cause issues... 102500 **** DevCom Read thread terminated 102546 3 = "C:\Apps\FSUIPC\VPC_RCA_MT50CM2.lua" 102734 LUA: "C:\Apps\FSUIPC\VPC_RCA_MT50CM2.lua": killed 103000 **** DevCom read/write threads still running - will exit anyway but could cause issues... 103312 **** DevCom Read thread terminated 103375 Aircraft="TBM 930 Asobo" 103375 C:\Users\Mugz\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\MISSIONS\Custom\CustomFlight\CustomFlight.FLT 103765 LUA.4: Init LED state! 103781 LUA.5: ap state: 1 103796 LUA.6: Init LED state! 103796 LUA.5: Init LED state! 106656 #### ERROR: No SimConnect data seen for more than set stall time - will attempt to reconnect... 106656 **** SimConnect Data Stalled! Re-connecting now ... **** 106828 SimConnect_Open succeeded 106828 Running in "KittyHawk", Version: 11.0.282174.999 (SimConnect: 11.0.62651.3) 106828 MSFS version = 11.0.282174.999 106828 Initialising SimConnect data requests now 106828 User Aircraft ID 1 supplied, now being used 106828 SimObjects\Airplanes\Asobo_TBM930\aircraft.CFG 106875 User Aircraft ID 1 supplied, now being used 106953 Waiting for lua threads to process termination event... 106953 LUA.4: Reseting LED state! 110140 LUA: "C:\Apps\FSUIPC\VPC_LP_#2.lua": killed 110390 **** DevCom read/write threads still running - will exit anyway but could cause issues... 110703 **** DevCom Read thread terminated 111015 LUA: "C:\Apps\FSUIPC\VPC_LT_MT50CM3.lua": killed 111281 **** DevCom read/write threads still running - will exit anyway but could cause issues... 111593 **** DevCom Read thread terminated 111671 LUA.7: Init LED state! 111734 Waiting for lua threads to process termination event... 111734 LUA.6: Reseting LED state! 111781 LUA.8: ap state: 1 111812 LUA.8: Init LED state! 114937 LUA: "C:\Apps\FSUIPC\VPC_RCA_MT50CM2.lua": killed 115187 **** DevCom read/write threads still running - will exit anyway but could cause issues... 115500 **** DevCom Read thread terminated 115625 System time = 14/06/2021 12:34:33, Simulator time = 03:34:18 (09:34Z) 115671 LUA.9: Init LED state! 649593 Sim stopped: average frame rate for last 537 secs = 41.1 fps 649593 ------------------------------------------------------------------- 651953 E:\Sim\MSFS2020\Official\OneStore\asobo-aircraft-tbm930\SimObjects\Airplanes\Asobo_TBM930\aircraft.CFG 655218 Lua threads being terminated: 655218 7 = "C:\Apps\FSUIPC\VPC_LP_#2.lua" 655218 LUA.7: Reseting LED state! 655234 Waiting for lua threads to process termination event... 658437 LUA: "C:\Apps\FSUIPC\VPC_LP_#2.lua": killed 658687 **** DevCom read/write threads still running - will exit anyway but could cause issues... 658984 **** DevCom Read thread terminated 659046 8 = "C:\Apps\FSUIPC\VPC_LT_MT50CM3.lua" 659234 LUA: "C:\Apps\FSUIPC\VPC_LT_MT50CM3.lua": killed 659500 **** DevCom read/write threads still running - will exit anyway but could cause issues... 659812 **** DevCom Read thread terminated 659875 9 = "C:\Apps\FSUIPC\VPC_RCA_MT50CM2.lua" 660062 LUA: "C:\Apps\FSUIPC\VPC_RCA_MT50CM2.lua": killed 660328 **** DevCom read/write threads still running - will exit anyway but could cause issues... 660640 **** DevCom Read thread terminated
-
I have three automatic loading LUA scripts with event.terminate.
When i exit from flight, only first is work other two is not.
What i do wrong?
-
18 minutes ago, Pete Dowson said:
You need to make a little effort to help yourself. We cannot spoon-feed you. Sorry
I'm not asking you to spoon feed me. I am asking you to help me sort out your product and documentation, which is somewhat chaotic. It would be great if some aspects were described in more detail, rather than general theses.
I only ask questions that I can't figure out. For example, misunderstanding the work of offsets with MSFS, misunderstanding of the work of the timings of the lua script, asked about a specific example of working with the simvar, tk. the archive contains a bunch of scripts, it's hard to read each one to understand what it does.
In fact, I just asked for certain specifics.
Sorry if this turned out to be difficult and time-consuming for you.
-
1 minute ago, Pete Dowson said:
But for many simply things the examples provided in the ZIP file should help. mostly, in simply plug-ins, the code is almost all calls to FSUIPC provided library functions, documented in the Lua Library PDF.
Actualy i ask help to point which lua script show me examples how to operate with SimVars through offsets.
-
3 minutes ago, John Dowson said:
As the message you quoted says, the spreadsheet comes in the zip file that you downloaded.
I didnt find. Name of file?
3 minutes ago, John Dowson said:The example lua programs can be found in your FSUIPC7 Documents folder, bundled together in a zip file called Example LUA plugins.zip.
I see a lot example, which one i can use to understand proccess?
4 minutes ago, John Dowson said:Why would you want to run anything when MSFS is exiting? Once the sim is exiting, there is nothing that can be done except shut-down gracefully.
For example.
I have default led state on my devices. When my LUA work - it's change some LED's to different state. If i exit from sim, all my leds keep color state, i want to RESET all led states if sim exit.
-
19 hours ago, John Dowson said:
Yes, many. See the offset document spreadsheet
where is offset information about MSFS?
Didnt find any simpliest example in Advanced User Guide, can you point me please?Also additional question. If i exit from sim, all lua scrips instantly killed, i can handle property exit? For example if i get sim exit - run specified function, and then exit?
-
And any examples?
-
4 hours ago, John Dowson said:
You can read simulator variables that are held in offsets, using the lua ipc.readXXX functions.
If the simvar is not yet held in an offset, you can request it to be added.Got it. And how to do same for LVARS? (i see new feature in 7.2.0 version)
-
It's possible to read simulator variable in LUA script? Where i can look example?
-
5 hours ago, John Dowson said:
As I said, I'm not sure if this is the issue or will help, but worth a try.
So, i deleted all registry, and reconnect device. All VPC device created new keys with two number. 0 and 1. Seems it's by design. Anyway thanks for your help
FSUIPC read wrong offset value if load in mid flight.
in FSUIPC Support Pete Dowson Modules
Posted
Full log in previous post.