Jump to content
The simFlight Network Forums

Mugz

Members
  • Posts

    67
  • Joined

  • Last visited

Everything posted by Mugz

  1. Yes! Thank you! Seems work like charm. No necessary to add in GUI, just document it.
  2. Currently, if I choose to log each LUA script individually, I get a constantly appended log file for every script that is running. Is it possible to add an option like LuaLogClear so that each script run overwrites the Log file instead of appending it? Thanks!
  3. 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?
  4. Thank you very much! All work like a charm!
  5. 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.
  6. 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:
  7. 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?
  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
×
×
  • 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.