Jump to content
The simFlight Network Forums

Amaniera

Members
  • Content Count

    16
  • Joined

  • Last visited

Posts posted by Amaniera


  1. Hello Pete,

    I have a problem with the latest version of FSUIPC (FSUIPC6).
    My program worked very well with Prepar3D v4 and FSUIPC5 but now that I have switched to Prepar3D v5, I am forced to switch to FSUIPC6.
    The problem is that when I use the ipc.writeSTR (0x3380, "test") and ipc.writeSW (0x32FA, 0) function, my fps drop suddenly when displayed and they don't go back up.
    Is this a display optimization problem with FSUIPC6? It worked very well with FSUIPC5 and Prepar3D v4.
    Thanks in advance.

    Regards,
    Patrice."


  2. Hello Pete,

    I'm trying to read variables of GSX but the values return always 0 (sometimes it's work).

    This is my code : GSXNumPassengers = ipc.readLvar("L:FSDT_GSX_NUMPASSENGERS_BOARDING")
                      ipc.display(GSXNumPassengers)

    I also test :     GSXNumPassengers = ipc.readLvar("FSDT_GSX_NUMPASSENGERS_BOARDING") but have the same result.
                      ipc.display(GSXNumPassengers)

    How can I read GSX variables correctely and that the values are updated ?

    Thank you in advance.


  3. Hi,

    I am programming an lua program for P3D v4 using FSUIPC and I'd like to know how to change the color of the text I write in the upper green bar.

    I'd like to write in white.

    This is my actual code :

    ipc.writeSTR(0x3380, "/DEPARTURE INFORMATIONS\ " .. "Cruise altitude: " .. cruiseAltInt .. " fts | " .. "Flaps: " .. flapsInt .. " | " .. "Transition altitude: " .. transitionAltInt .. " fts | " .. "V1: " .. v1 .. " kts - " .. "VR: " .. vr .. " kts - " .. "V2: " .. v2 .. " kts")

    ipc.writeSW(0x32FA, 0)

    odg4.jpg

    Thanks a lot,

    P. A.

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