Jump to content
The simFlight Network Forums

kaha

Members
  • Posts

    201
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by kaha

  1. 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

  2. 1 hour ago, DaveSCUSA said:

    Duh, thank you.

    That's why in progtramming one has walksthru. Or better error descriptions in compilers.

    Well, the error description is spot on. ipc is a table and "execCalcCode" is a field in this table.. Look at this, both syntaxes are valid:

     

    ipc.execCalcCode("1 (>K:SET_STARTER1_HELD)")
    
    ipc["execCalcCode"]("1 (>K:SET_STARTER1_HELD)")

    The error message tells you that there is no table entry with key "CalcCode" (there is no field named "CalcCode") in table ipc.

     

    Karl

×
×
  • 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.