Jump to content
The simFlight Network Forums

pejikhatar

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by pejikhatar

  1. 1 hour ago, John Dowson said:

    Please stop posting links (sharing?) to other comments in the same topic - use the "quote" mechanism to reference previous comments, i.e. select the text that you want to reference and then a 'Quote selection' box will appear which will quote the text in your new comment. Alternatively, you can copy/paste the text, and then format as a quote in the menu bar directly above the area where you enter your comment. This will make your messages far easier to understand (take  a look above!).

    Please activate logging for Buttons and key operations and Debug/Trace Lua plugins (assuming you are using FSX or P3D). Then generate a short log file showing your issue, i.e. load an aircraft and press the F3 / F3 keys a few times, then exit FSUIPC and show me/attach (not paste contents!) your FSUIPC ini and log files.

    I still don't even know what FS or version of FSUIPC you are using, but your files will tell me this...presume it is either FSX or P3D - if you are using MSFS (2020) then this lua script may not work (and you are also posting in the wrong forum...)

    You can also take a look at the log file as well, or, better, open the logging console (check Send to console window in logging tab) when you do this to see the log in real-time - first check the lua is started and running without issues, and then that the key presses are triggering the lua moveThrottle function, and check if any throttle events are also sent. This should give you a clue as to why it isn't working, and if you post/attach those files here I can also take a look.

    John

    By activating logging for Buttons.. and Debug/.. now it's working fine, I unchecked them to see if it still works and yes still functional. I don't know what was the issue in the first place. by the way thank you for your time and respond, much appreciations. 

  2. I did all you told me but when I press f2 or f3 nothing happens, I also delete these keys from p3d key binding first.

    this is from ini:

    [LuaFiles]
    1=Throttle

    [Auto]
    1=Lua Throttle

    [Keys]
    11=113,8,L1:S,3,1126,0     -{F2: Press=LuaSet Throttle (Flag 3), Release=nothing: no action }-
    13=114,8,L1:S,2,1126,0     -{F3: Press=LuaSet Throttle (Flag 2), Release=nothing: no action }-
     

  3. you mean edit throttle.lua like this: 

    event.flag(1, "ThrottleCUT") -- CUT
    event.flag(2, "F3") -- THR INC
    event.flag(3, "F2") -- THR DEC

    do I need to do somthing via FSUIP while sim is running through the add-ons menu? 

    I'm sorry I'm not an advanced user, I read page40 of user manual but I couldn't figured it out, should I just add [Auto.throttle.lua]? could you please write me the lines so I can paste them?

  4.  

    On 7/16/2020 at 9:19 PM, Joan A said:

    Ok. I can confirm after one leg, (2 hours sim total) that the problem is gone. The solution was to send the exact steps through the Lua script.
    I attach the Lua plugin in case someone else come across the problem in the future.

    FSUIPC wins again! Thanks Pete

    Throttle.lua 781 B · 1 download

    Hi, I have the same problem although I use mouse throttle, where should I use this file you put here?

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