Jump to content
The simFlight Network Forums

Mugz

Members
  • Posts

    65
  • Joined

  • Last visited

Everything posted by Mugz

  1. Thanks for answer. I got it.
  2. I have small question about free FSUIP7 version. Sorry for asking if it suddenly seems disrespectful. Can the free version run LUA scripts? If not, is it possible in the future to make limited functionality for launching LUA scripts for the free version? For example, allow only reading offsets and writing to com.writefeature?
  3. Thank you very much! All work like a charm!
  4. Mugz

    event.terminate

    It's not help a lot. I set to 0, but only littlebit faster, not instantly. And ipc.log in terminate function only from first lua.
  5. Hi there. I wrote small scripts for VPC Virpil devices. https://github.com/mixMugz/vpc_virpil_fsuipc_led This is example for my own devices, but you can modify it for yours. All scripts tested and working with Microsoft FlightSimulator 2020 (But i think it also will work with P3D/FSX) Supported devices: - VPC Constellation Alpha Grip with MT-50CM2 (Right Hand) - VPC Throttle MT-50CM3 (Left Hand) - VPC Panel #2 (Left Hand) Realized LED: - VPC Constellation Alpha Grip color 1. Aircraft on ground - Orange color 2. Aircraft on ground, parking brake on - Blink Red/Black color 3. Aircraft in flight, autopilot off - Blue color 4. Aircraft in flight, autopilot on - Green color - VPC Throttle color 1. Default state - black color 2. Autopilot FMS NAV Hold ON - B1 Green 3. Yaw Damper ON - B2 Green 4. Flight Director ON - B3 Green 5. Autopilot Approach mode ON - B4 Green 6. Autopilot Back Course ON - B5 Green 7. Autopilot Master ON - B6 Green - VPC Panel #2 color 1. Gear down - 3 down gear led green color (for each gear, left, center, right) 2. Gear up - 3 upper gear led red color 3. Gear deploying - middle gear led blink orange color 4. Gear not retractably - middle gear led blue color Instalation: Please make sure the LUA files are listed in the [LuaFiles] section of FSUIPC7.ini file. Example: [LuaFiles] 1=VPC_Base 2=VPC_LP_#2 3=VPC_LT_MT50CM3 4=VPC_RCA_MT50CM2 Add to [Auto] section of FSUIPC7.ini [Auto] 1=Lua VPC_RCA_MT50CM2 2=Lua VPC_LT_MT50CM3 3=Lua VPC_LP_#2 Short video:
  6. Mugz

    event.terminate

    Yes. Solution is work. I have delay but it's ok for now. You can close topic. About crash FSUIPC i need open new topic? Or can you ask for any tasks that I need to do through private messages?
  7. Oh. Wow! This verrsion correctly reset event.terminate
  8. Seems work perfect. No issue detected after fourth atempts.
  9. Seems initial offset state loaded from FLT file, not from SimVar.
  10. It will be great if you tell me how to do this. All what i can (and know) now - read offset data and print to log
  11. Already checked 0C4C, but no luck. I dont have any changes when Localizer is captured. With 0C4D i dont know how to operate with flags
  12. Forgive me, I seem to be very bad with the English language, but I really ask you to pay attention to the fact at which moment the incorrect data is given. Loading steps: - MSFS2020 -> FSUIPC -> Select the departure in the air -> Press FLY (the data is correct) - MSFS2020 -> Select airborne departure -> Press FLY -> start FSUIPC (data will be incorrect). At the moment, I only noticed this for Landing Gear Position.
  13. Yes it crashed Yes. As i said. If FSUIPC running before i start flight, all work correct. If i start FSUIPC (after crash) in exist session, it's show not correct values.
  14. Third iteration. - State from previous iteration - MSFS2020 is running, FSUIPC is not.- I'm in midflight from previous iteration- Starting FSUIPC - Waiting 2 minutes - Exited from FSUIPCLog from session and SimVars values is attached 3rd-FSUIPC7.log.7z
  15. Second iteration: - MSFS2020 is running, FSUIPC is not.- I'm in midflight from previous iteration- Starting FSUIPC - Waiting 2 minutes - Exited from FSUIPC Log from session and SimVars values is attached 2nd-FSUIPC7.log.7z
  16. Okay. Let's start. First iteration: - MSFS2020 is running, FSUIPC is not. - I'm in World Map menu - Starting FSUIPC - Select departure from sky - Press FLY button - Can't wait for 2 minutes, because FSUIPC crashed for now and exited. 1st-FSUIPC7.log.7z
  17. I dont change anything SimVariables. I just read them and writefeature to USB. I post my all LUA's above
  18. Yes. I disabled my LUA plugins and keep only one Test.lua for get values
  19. 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: FSUIPC7.log.7z
  20. 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
×
×
  • 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.