Jump to content
The simFlight Network Forums

chenpu66

new Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    hongkong

chenpu66's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Thank you, John. I understand now that the ipc.display function is deprecated and no longer reliable. I will switch to ipc.log() for testing. Also, just to confirm: If I place my .lua scripts under the Scripts subfolder, I must add LuaPath=Scripts under [LuaFiles] in FSUIPC7.ini, correct?
  2. Hello everyone, I'm currently facing an issue with FSUIPC7 (version 7.5.4) where Lua scripts are not loading or being recognized at all. Despite following all the recommended troubleshooting steps, I have not been able to resolve the issue. Here’s a summary of the situation and the steps I’ve taken: FSUIPC Environment: Version: FSUIPC7 v7.5.4 (13th July 2025) Operating System: Windows 11 Pro, Build 26100 FSUIPC Installation Path: C:\FSUIPC7 User Permissions: FSUIPC7 is running with administrator privileges MSFS Version: MSFS 2020 (Steam) Troubleshooting Steps Taken: Lua Setup: Created Scripts folder under C:\FSUIPC7\Scripts\ Placed hello.lua with the following content: ipc.display("Lua OK", 3) File Encoding: Ensured the file is UTF-8 (without BOM) using Notepad++ FSUIPC7.ini Configuration: In C:\FSUIPC7\FSUIPC7.ini, added: [LuaFiles] 1=hello [Auto] 1=Lua hello Converted FSUIPC7.ini from GB2312 encoding to UTF-8 FSUIPC7 Log Review: Checked FSUIPC7.log, but found no entries like Lua plug-in "hello" loaded or any other Lua-related messages The script doesn’t appear in the dropdown list of “Control sent when button pressed” Manual Tests: Tried manually triggering Lua scripts through “Buttons & Switches” Ensured no other conflicting versions or installations of FSUIPC7 exist (removed all traces of old installs) What’s Happening: FSUIPC7 successfully starts, connects to MSFS, and recognizes all hardware devices. However, Lua scripts are not being recognized or executed. There are no Lua logs in FSUIPC7.log, and the script does not display "Lua OK" on screen. I’ve followed all suggested steps, and have checked file paths, encodings, and configurations, but the problem persists. What I Need Help With: Is there something I’m missing with the Lua setup or configuration? Could this issue be related to a bug in FSUIPC7 or an incompatibility with certain versions? I would appreciate any advice or troubleshooting tips that might help get Lua scripts to load and execute properly. If anyone has encountered this issue or has any suggestions, please let me know! I can provide my FSUIPC7.ini file, hello.lua script, and FSUIPC7.log for further review if needed. Thank you in advance for your help! Tags: FSUIPC7, Lua, MSFS2020, Lua not working, Lua script
×
×
  • 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.