Jump to content
The simFlight Network Forums

r22s7

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by r22s7

  1. Hi there,

    I am having a very strange problem with FSUIPC3 in FS2004. A few weeks ago, it suddenly decided to no longer load any of my LUA files.

    This problem came seemingly out of nowhere. It is not any one specific LUA file, but any LUA file at all.

    I have tried: 

    Reinstalling FSUIPC

    Reinstalling FS2004

    The specific LUA file I want to use is called FreezeAlt.lua and it looks like this:

    althi = ipc.readSD(0x574)
    altlo = ipc.readUD(0x570)
    while 1 do
       ipc.sleep(10) -- 10 mSecs = 100 times per sec
       ipc.writeUD(0x570,altlo)
       ipc.writeSD(0x574,althi)
    end

    I have also noticed after reinstalling FSUIPC, it has not generated an FSUIPC.ini file.

    Below is a screenshot from FS2004. The LUA module would normally show up above LuaKillAll.

    image.thumb.png.2ee6eae3ccbebe66692af429bf9b5461.png

    Any help is greatly appreciated. 🙂

  2. 33 minutes ago, Pete Dowson said:

    You'd need to write a Lua plug in with an loop writing the initially read altitude back to the altitude offset as fast as possible. even then, because you wouldn't always catch it before the next frame was displayed, so you'd still get the occasional nasty jitter.

    It wouldn't bother me too much if it jittered occasionally. Would you be able to walk me through how to do this?

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