Jump to content
The simFlight Network Forums

John Dowson

Members
  • Posts

    11,615
  • Joined

  • Last visited

  • Days Won

    229

Posts posted by John Dowson

  1. 11 hours ago, Maarp said:

    started FSX without FSUIPC running and the throttle/mixture levers seem to be responding as normal

    So you re-enabled controllers in FSX for this? Make sure controllers are disabled in FSX if you are assigning your axis in FSUIPC.

    11 hours ago, Maarp said:

    Saitek Panel/Radio and Flight Switch boxes

    To use the full functionality of these, you should look into using the SPAD (freeware - http://fstools.weebly.com/) or SPAD.next (payware - https://www.spadnext.com/home.html) drivers. I use the latter (with FSUIPC) and it works very well.

    Cheers,

    John

  2. Hi Matthias,

    On 8/16/2019 at 12:03 PM, MatzeH84 said:

    what happens when you just start FSUIPC and close it again right after?

    It will rescan your devices.

    Does it also start working when you click the switch in the VC after opening/closing FSUIPC?

    It does sound like an issue with your add-on LJ35. You could try logging non-axis events and button presses (from the FSUIPC logging tab). This may show if something different is being sent after the spoiler retract.

    Cheers,

    John

     

  3. On 8/17/2019 at 4:40 PM, Bob Spin said:

    A list of what all these controls actually do would be most helpful to me and I'm sure to many others.

    The controls are events provided by P3D, so you need to look into the P3D documentation (e.g. see 'SimConnect Name' column in https://www.prepar3d.com/SDKv4/sdk/references/variables/event_ids.html). The specific controls added by FSUIPC are documented in FSUIPC' documentation.

    For your magneto problem, can you try activating non-axis event logging as well as buttons and switches (from FSUIPC's logging tab), generate a log file going through the magneto positions up and down and show us the results.

    John

  4. Hi Urs,

    your WideClient.ini file is not correct. There is no [Programs] section - thats for FSUIPC (or WideServer)!

    As Pete said, you want to be using RunReady, which takes the form
        RunReady1=....
    and is located in the [User] section of your WideClient.ini (or the [WideServer] section in FSX).  Please see the WideFS Technical guide.

    John

  5. Hi CrazzMC,

    On 8/12/2019 at 5:39 PM, crazzmc said:

    For some reason FSUIPC will replace the Tail Number with the Airline Call Sign.

    Are you sure its not just the Airline? If the state of the AI aircraft is 'Initialising' (128) or 'Sleeping' (129), then you will get just the 'Airline'.

    Note that you can also change the ATC id used using the TCASid parameter, which can be changed from FSUIPC's Miscellaneous tab - see the Advanced User Guide (p5).

    You can also try the attached lua script which will log all 96 ground/air slots for you - drop it into your modules folder and assign it to a key or button press. This gives output such as the following:

    Quote

    765450 LUA.0: Ground slot 0: id=-452, idATC=SHAMROCK , bState=128, com1=2485
       765450 LUA.0: Airborne slot 0: id=-469, idATC=SHAMROCK 245, bState=140, com1=1847
       765450 LUA.0: Ground slot 1: id=-460, idATC=SHAMROCK , bState=129, com1=2485
       765450 LUA.0: Airborne slot 1: id=-471, idATC=RYANAIR 8206, bState=140, com1=1847
       765450 LUA.0: Ground slot 2: id=-477, idATC=AIR CHINA , bState=129, com1=2485
       765450 LUA.0: Airborne slot 2: id=-487, idATC=EASY 3215, bState=140, com1=1847
       765450 LUA.0: Ground slot 3: id=-486, idATC=AIRFRANS , bState=129, com1=2485
       765450 LUA.0: Airborne slot 3: id=-490, idATC=Pacifica 132, bState=140, com1=1847
       765450 LUA.0: Ground slot 4: id=-495, idATC=AIRFRANS , bState=128, com1=2485
       765466 LUA.0: Airborne slot 4: id=-496, idATC=EASY 263, bState=140, com1=1847
       765466 LUA.0: Ground slot 5: id=-504, idATC=SPEED BIRD , bState=129, com1=2485
       765466 LUA.0: Airborne slot 5: id=-503, idATC=G-JGJG, bState=140, com1=2330
       765466 LUA.0: Ground slot 6: id=-519, idATC=SPEED BIRD , bState=129, com1=2485
       765466 LUA.0: Airborne slot 6: id=-505, idATC=EASY 239, bState=140, com1=1847
       765466 LUA.0: Ground slot 7: id=-537, idATC=SPEED BIRD , bState=129, com1=2485
       765466 LUA.0: Airborne slot 7: id=-518, idATC=G-VTDN, bState=140, com1=2725
       765466 LUA.0: Ground slot 8: id=-538, idATC=EMIRATES , bState=129, com1=2485
       765466 LUA.0: Airborne slot 8: id=-520, idATC=EASY 214, bState=140, com1=1847
       765466 LUA.0: Ground slot 9: id=-546, idATC=SPEED BIRD , bState=129, com1=2485
       765466 LUA.0: Airborne slot 9: id=-521, idATC=Orbit 751, bState=140, com1=1847
       765482 LUA.0: Ground slot 10: id=-554, idATC=SPEED BIRD , bState=129, com1=2485
       765482 LUA.0: Airborne slot 10: id=-528, idATC=SPEED BIRD 11, bState=140, com1=1847
       765482 LUA.0: Ground slot 11: id=-560, idATC=SPEED BIRD , bState=129, com1=2485
       765482 LUA.0: Airborne slot 11: id=-536, idATC=Orbit 207, bState=140, com1=1847
       765482 LUA.0: Ground slot 12: id=-566, idATC=SPEED BIRD , bState=129, com1=2485
       765482 LUA.0: Airborne slot 12: id=-541, idATC=G-DAGR, bState=140, com1=1847
       765482 LUA.0: Ground slot 13: id=-849, idATC=Orbit , bState=129, com1=2485
       765482 LUA.0: Airborne slot 13: id=0, idATC=World Tra 9478, bState=140, com1=1847
       765482 LUA.0: Ground slot 14: id=-583, idATC=SPEED BIRD , bState=129, com1=2485
       765482 LUA.0: Airborne slot 14: id=-584, idATC=RYANAIR 281, bState=140, com1=1972
       765497 LUA.0: Ground slot 15: id=-588, idATC=SPEED BIRD , bState=129, com1=2485
       765497 LUA.0: Airborne slot 15: id=-591, idATC=EASY 8217, bState=140, com1=1847
       765497 LUA.0: Ground slot 16: id=-593, idATC=SPEED BIRD , bState=129, com1=2485
       765497 LUA.0: Airborne slot 16: id=-594, idATC=RYANAIR 5998, bState=140, com1=1847
       765497 LUA.0: Ground slot 17: id=-598, idATC=SPEED BIRD , bState=129, com1=2485
       765497 LUA.0: Airborne slot 17: id=-611, idATC=SPEED BIRD 239, bState=140, com1=1847
       765497 LUA.0: Ground slot 18: id=-603, idATC=SPEED BIRD , bState=129, com1=2485
       765497 LUA.0: Airborne slot 18: id=-629, idATC=RYANAIR 1183, bState=140, com1=1847
       765497 LUA.0: Ground slot 19: id=-607, idATC=SPEED BIRD , bState=129, com1=2485
       765497 LUA.0: Airborne slot 19: id=-645, idATC=VUELING 7293, bState=140, com1=2315
       765497 LUA.0: Ground slot 20: id=-615, idATC=SPEED BIRD , bState=129, com1=2485
       765497 LUA.0: Airborne slot 20: id=-648, idATC=AIR PORTUG 346, bState=140, com1=1847
       765497 LUA.0: Ground slot 21: id=-619, idATC=SPEED BIRD , bState=129, com1=2485
       765513 LUA.0: Airborne slot 21: id=-672, idATC=Pacifica 6977, bState=140, com1=3077
       765513 LUA.0: Ground slot 22: id=-623, idATC=SPEED BIRD , bState=129, com1=2485
       765513 LUA.0: Airborne slot 22: id=-681, idATC=F-GGNM, bState=140, com1=1840
       765513 LUA.0: Ground slot 23: id=-627, idATC=SPEED BIRD , bState=129, com1=2485
       765513 LUA.0: Airborne slot 23: id=-694, idATC=G-VLZQ, bState=140, com1=3517
       765513 LUA.0: Ground slot 24: id=-631, idATC=SPEED BIRD , bState=129, com1=2485
       765513 LUA.0: Airborne slot 24: id=-708, idATC=Orbit 1524, bState=140, com1=1847
       765513 LUA.0: Ground slot 25: id=-635, idATC=SPEED BIRD , bState=129, com1=2485
       765513 LUA.0: Airborne slot 25: id=-729, idATC=G-SLXM, bState=140, com1=1972
       765528 LUA.0: Ground slot 26: id=-639, idATC=SPEED BIRD , bState=129, com1=2485
       765528 LUA.0: Airborne slot 26: id=-730, idATC=G-ZTBB, bState=140, com1=1895
       765528 LUA.0: Ground slot 27: id=-640, idATC=SPRINGBOK , bState=129, com1=2485
       765528 LUA.0: Airborne slot 27: id=-732, idATC=Orbit 1971, bState=140, com1=1972
       765528 LUA.0: Ground slot 28: id=-643, idATC=SPEED BIRD , bState=129, com1=2485
       765528 LUA.0: Airborne slot 28: id=-733, idATC=World Tra 3064, bState=140, com1=2525
       765528 LUA.0: Ground slot 29: id=-851, idATC=Pacifica , bState=129, com1=2485
       765528 LUA.0: Airborne slot 29: id=-739, idATC=F-VAMB, bState=140, com1=1895
       765528 LUA.0: Ground slot 30: id=-651, idATC=SPEED BIRD , bState=129, com1=2485
       765544 LUA.0: Airborne slot 30: id=-742, idATC=World Tra 9733, bState=140, com1=1847
       765544 LUA.0: Ground slot 31: id=-655, idATC=SPEED BIRD , bState=129, com1=2485
       765544 LUA.0: Airborne slot 31: id=-743, idATC=SPEED BIRD 987, bState=140, com1=1847
       765544 LUA.0: Ground slot 32: id=-659, idATC=SPEED BIRD , bState=129, com1=2485
       765544 LUA.0: Airborne slot 32: id=-745, idATC=EC-SGG, bState=140, com1=1895
       765544 LUA.0: Ground slot 33: id=-856, idATC=World Travel , bState=129, com1=2485
       765544 LUA.0: Airborne slot 33: id=-746, idATC=SPEED BIRD 851, bState=140, com1=1847
       765544 LUA.0: Ground slot 34: id=-667, idATC=SPEED BIRD , bState=128, com1=2485
       765560 LUA.0: Airborne slot 34: id=-747, idATC=F-EANR, bState=140, com1=1840
       765560 LUA.0: Ground slot 35: id=-671, idATC=SPEED BIRD , bState=129, com1=2485
       765560 LUA.0: Airborne slot 35: id=-748, idATC=SPEED BIR 1419, bState=140, com1=1847
       765560 LUA.0: Ground slot 36: id=-674, idATC=SPEED BIRD , bState=129, com1=2485
       765560 LUA.0: Airborne slot 36: id=-750, idATC=SPEED BIRD 234, bState=140, com1=1847
       765560 LUA.0: Ground slot 37: id=-677, idATC=SPEED BIRD , bState=129, com1=2485
       765560 LUA.0: Airborne slot 37: id=-753, idATC=Orbit 6215, bState=140, com1=1972
       765560 LUA.0: Ground slot 38: id=-680, idATC=SPEED BIRD , bState=129, com1=2485
       765560 LUA.0: Airborne slot 38: id=-754, idATC=EASTFLIGH 9701, bState=140, com1=1847
       765560 LUA.0: Ground slot 39: id=-683, idATC=SPEED BIRD , bState=128, com1=2485
       765575 LUA.0: Airborne slot 39: id=-756, idATC=EASY 2093, bState=140, com1=2645
       765575 LUA.0: Ground slot 40: id=-686, idATC=SPEED BIRD , bState=129, com1=2485
       765575 LUA.0: Airborne slot 40: id=-764, idATC=JERSEY 1360, bState=140, com1=1847
       765575 LUA.0: Ground slot 41: id=-689, idATC=SPEED BIRD , bState=129, com1=2485
       765575 LUA.0: Airborne slot 41: id=-770, idATC=LUFTHANSA 2482, bState=140, com1=1847
       765575 LUA.0: Ground slot 42: id=-692, idATC=SPEED BIRD , bState=129, com1=2485
       765575 LUA.0: Airborne slot 42: id=-772, idATC=G-QTCZ, bState=140, com1=3077
       765575 LUA.0: Ground slot 43: id=-695, idATC=SPEED BIRD , bState=129, com1=2485
       765575 LUA.0: Airborne slot 43: id=-777, idATC=QATARI 15, bState=140, com1=1847
       765575 LUA.0: Ground slot 44: id=-698, idATC=SPEED BIRD , bState=129, com1=2485
       765575 LUA.0: Airborne slot 44: id=-780, idATC=RYANAIR 8348, bState=140, com1=1847
       765575 LUA.0: Ground slot 45: id=-701, idATC=SPEED BIRD , bState=129, com1=2485
       765575 LUA.0: Airborne slot 45: id=-797, idATC=WIZZAIR 1309, bState=140, com1=1847
       765575 LUA.0: Ground slot 46: id=-704, idATC=SPEED BIRD , bState=129, com1=2485
       765575 LUA.0: Airborne slot 46: id=-816, idATC=Orbit 3850, bState=140, com1=1847
       765575 LUA.0: Ground slot 47: id=-848, idATC=World Travel , bState=129, com1=2485
       765591 LUA.0: Airborne slot 47: id=-817, idATC=American  6374, bState=140, com1=1972
       765591 LUA.0: Ground slot 48: id=-710, idATC=SPEED BIRD , bState=129, com1=2485
       765591 LUA.0: Airborne slot 48: id=-826, idATC=World Tra 7186, bState=140, com1=1972
       765591 LUA.0: Ground slot 49: id=-713, idATC=SPEED BIRD , bState=129, com1=2485
       765591 LUA.0: Airborne slot 49: id=-839, idATC=G-YUVS, bState=140, com1=2330
       765591 LUA.0: Ground slot 50: id=-845, idATC=World Travel , bState=129, com1=2485
       765591 LUA.0: Airborne slot 50: id=-841, idATC=Orbit 4662, bState=140, com1=2645
       765591 LUA.0: Ground slot 51: id=-719, idATC=SPEED BIRD , bState=129, com1=2485
       765591 LUA.0: Airborne slot 51: id=-855, idATC=F-VYHG, bState=140, com1=2875
       765591 LUA.0: Ground slot 52: id=-722, idATC=SPEED BIRD , bState=129, com1=2485
       765591 LUA.0: Airborne slot 52: id=0, idATC=, bState=0, com1=0
       765591 LUA.0: Ground slot 53: id=-725, idATC=SPEED BIRD , bState=129, com1=2485
       765591 LUA.0: Airborne slot 53: id=0, idATC=, bState=0, com1=0
       765591 LUA.0: Ground slot 54: id=-846, idATC=Orbit , bState=129, com1=2485
       765591 LUA.0: Airborne slot 54: id=0, idATC=, bState=0, com1=0
       765606 LUA.0: Ground slot 55: id=-731, idATC=SPEED BIRD , bState=129, com1=2485
       765606 LUA.0: Airborne slot 55: id=0, idATC=, bState=0, com1=0
       765606 LUA.0: Ground slot 56: id=-734, idATC=SPEED BIRD , bState=129, com1=2485
       765606 LUA.0: Airborne slot 56: id=0, idATC=, bState=0, com1=0
       765606 LUA.0: Ground slot 57: id=-737, idATC=SPEED BIRD , bState=129, com1=2485
       765606 LUA.0: Airborne slot 57: id=0, idATC=, bState=0, com1=0
       765606 LUA.0: Ground slot 58: id=-740, idATC=SPEED BIRD , bState=129, com1=2485
       765606 LUA.0: Airborne slot 58: id=0, idATC=, bState=0, com1=0
       765606 LUA.0: Ground slot 59: id=-752, idATC=CATHAY , bState=129, com1=2485
       765606 LUA.0: Airborne slot 59: id=0, idATC=, bState=0, com1=0
       765606 LUA.0: Ground slot 60: id=-760, idATC=JERSEY , bState=129, com1=2485
       765606 LUA.0: Airborne slot 60: id=0, idATC=, bState=0, com1=0
       765606 LUA.0: Ground slot 61: id=-762, idATC=JERSEY , bState=129, com1=2485
       765606 LUA.0: Airborne slot 61: id=0, idATC=, bState=0, com1=0
       765606 LUA.0: Ground slot 62: id=-766, idATC=KLM , bState=129, com1=2485
       765606 LUA.0: Airborne slot 62: id=0, idATC=, bState=0, com1=0
       765622 LUA.0: Ground slot 63: id=-768, idATC=LUFTHANSA , bState=129, com1=2485
       765622 LUA.0: Airborne slot 63: id=0, idATC=, bState=0, com1=0
       765622 LUA.0: Ground slot 64: id=-773, idATC=QANTAS , bState=129, com1=2485
       765622 LUA.0: Airborne slot 64: id=0, idATC=, bState=0, com1=0
       765622 LUA.0: Ground slot 65: id=-853, idATC=Pacifica , bState=129, com1=2485
       765622 LUA.0: Airborne slot 65: id=0, idATC=, bState=0, com1=0
       765622 LUA.0: Ground slot 66: id=-837, idATC=Pacifica , bState=129, com1=2485
       765622 LUA.0: Airborne slot 66: id=0, idATC=, bState=0, com1=0
       765622 LUA.0: Ground slot 67: id=-850, idATC=Pacifica , bState=129, com1=2485
       765622 LUA.0: Airborne slot 67: id=0, idATC=, bState=0, com1=0
       765622 LUA.0: Ground slot 68: id=-783, idATC=SRILANKAN , bState=129, com1=2485
       765622 LUA.0: Airborne slot 68: id=0, idATC=, bState=0, com1=0
       765622 LUA.0: Ground slot 69: id=-784, idATC=SWISS , bState=128, com1=2485
       765622 LUA.0: Airborne slot 69: id=0, idATC=, bState=0, com1=0
       765622 LUA.0: Ground slot 70: id=-832, idATC=Pacifica , bState=129, com1=2485
       765638 LUA.0: Airborne slot 70: id=0, idATC=, bState=0, com1=0
       765638 LUA.0: Ground slot 71: id=-840, idATC=Pacifica , bState=129, com1=2485
       765638 LUA.0: Airborne slot 71: id=0, idATC=, bState=0, com1=0
       765638 LUA.0: Ground slot 72: id=-836, idATC=World Travel , bState=129, com1=2485
       765638 LUA.0: Airborne slot 72: id=0, idATC=, bState=0, com1=0
       765638 LUA.0: Ground slot 73: id=-835, idATC=Pacifica , bState=129, com1=2485
       765638 LUA.0: Airborne slot 73: id=0, idATC=, bState=0, com1=0
       765638 LUA.0: Ground slot 74: id=-794, idATC=VUELING , bState=129, com1=2485
       765638 LUA.0: Airborne slot 74: id=0, idATC=, bState=0, com1=0
       765638 LUA.0: Ground slot 75: id=-795, idATC=VUELING , bState=129, com1=2485
       765638 LUA.0: Airborne slot 75: id=0, idATC=, bState=0, com1=0
       765638 LUA.0: Ground slot 76: id=-800, idATC=G-BZQC, bState=128, com1=2485
       765638 LUA.0: Airborne slot 76: id=0, idATC=, bState=0, com1=0
       765638 LUA.0: Ground slot 77: id=-801, idATC=Orbit , bState=128, com1=2485
       765638 LUA.0: Airborne slot 77: id=0, idATC=, bState=0, com1=0
       765653 LUA.0: Ground slot 78: id=-802, idATC=World Travel , bState=128, com1=2485
       765653 LUA.0: Airborne slot 78: id=0, idATC=, bState=0, com1=0
       765653 LUA.0: Ground slot 79: id=-803, idATC=Orbit , bState=129, com1=2485
       765653 LUA.0: Airborne slot 79: id=0, idATC=, bState=0, com1=0
       765653 LUA.0: Ground slot 80: id=-804, idATC=World Travel , bState=129, com1=2485
       765653 LUA.0: Airborne slot 80: id=0, idATC=, bState=0, com1=0
       765653 LUA.0: Ground slot 81: id=-808, idATC=Orbit , bState=129, com1=2485
       765653 LUA.0: Airborne slot 81: id=0, idATC=, bState=0, com1=0
       765653 LUA.0: Ground slot 82: id=-809, idATC=World Travel , bState=129, com1=2485
       765653 LUA.0: Airborne slot 82: id=0, idATC=, bState=0, com1=0
       765653 LUA.0: Ground slot 83: id=-812, idATC=D-ASPQ, bState=129, com1=2485
       765653 LUA.0: Airborne slot 83: id=0, idATC=, bState=0, com1=0
       765653 LUA.0: Ground slot 84: id=-813, idATC=Pacifica , bState=129, com1=2485
       765653 LUA.0: Airborne slot 84: id=0, idATC=, bState=0, com1=0
       765653 LUA.0: Ground slot 85: id=-815, idATC=Orbit , bState=129, com1=2485
       765653 LUA.0: Airborne slot 85: id=0, idATC=, bState=0, com1=0
       765669 LUA.0: Ground slot 86: id=-818, idATC=American Paci , bState=129, com1=2485
       765669 LUA.0: Airborne slot 86: id=0, idATC=, bState=0, com1=0
       765669 LUA.0: Ground slot 87: id=-820, idATC=Orbit , bState=129, com1=2485
       765669 LUA.0: Airborne slot 87: id=0, idATC=, bState=0, com1=0
       765669 LUA.0: Ground slot 88: id=-822, idATC=Orbit , bState=129, com1=2485
       765669 LUA.0: Airborne slot 88: id=0, idATC=, bState=0, com1=0
       765669 LUA.0: Ground slot 89: id=-823, idATC=Pacifica , bState=129, com1=2485
       765669 LUA.0: Airborne slot 89: id=0, idATC=, bState=0, com1=0
       765669 LUA.0: Ground slot 90: id=-825, idATC=Pacifica , bState=129, com1=2485
       765669 LUA.0: Airborne slot 90: id=0, idATC=, bState=0, com1=0
       765669 LUA.0: Ground slot 91: id=-827, idATC=Pacifica , bState=128, com1=2485
       765669 LUA.0: Airborne slot 91: id=0, idATC=, bState=0, com1=0
       765669 LUA.0: Ground slot 92: id=-828, idATC=Pacifica , bState=129, com1=2485
       765669 LUA.0: Airborne slot 92: id=0, idATC=, bState=0, com1=0
       765669 LUA.0: Ground slot 93: id=-859, idATC=Orbit , bState=129, com1=2485
       765684 LUA.0: Airborne slot 93: id=0, idATC=, bState=0, com1=0
       765684 LUA.0: Ground slot 94: id=-834, idATC=Pacifica , bState=129, com1=2485
       765684 LUA.0: Airborne slot 94: id=0, idATC=, bState=0, com1=0
       765684 LUA.0: Ground slot 95: id=-831, idATC=Orbit , bState=129, com1=2485
       765684 LUA.0: Airborne slot 95: id=0, idATC=, bState=0, com1=0

    John

     

    logAI.lua

  6. If you have a new issue, could you please start a new thread - your problem does not seem to be related to this threads title!

    More information is also needed - what version of FSUIPC are you using? What sim? How did you install on another computer - if you just copied across your ini file, this most likely won't work as your joystick ids (and GUIDs) will have changed.

    Please start a new thread with the above information, and also attached your ini, log and joyscan.csv files (all from your Modules folder).

    John

  7. 1 hour ago, Art6 said:

    A sign pops up at when I close the simulator that says a second or previous copy is still running

    Thats very strange...I don't think its possible to have two copies of FSUIPC running...

    Maybe check (or post) your DLL.XML file (in your AppData\Roaming\Lockheed Martin\Prepar 3D vd folder) to make sure there is only one entry for FSUIPC5.

    1 hour ago, Art6 said:

    I downloaded the 5.151 version (latest at Simmarket)

    Thats strange - it should be 5.152. I'll check and update - thanks for pointing this out.

    You can always get the latest versions from our download page over here on simflight: 

    1 hour ago, Art6 said:

    The issues I mentioned vary. today, the brakes on all the aircraft were set in park so I could not move the aircraft. The normal "." or CTL+.  have no effect even if I release the parking brake in the aircraft. That was not an issue yesterday. Several other issues continue. I had issues a few years ago which caused me to delete the module. Seems my mistakes caused another. How do I proceed to get a clean install.

    This all sounds very strange, especially if you have new issues and nothing has changed...

    Try removing FSUIPC completely and check P3D is working ok. To do this, rename your 'Modules' folder and remove the FSUIPC entry in the aformentioned DLL.XML file -  this section:

     

    Quote

      <Launch.Addon>
        <Name>FSUIPC 5</Name>
        <Disabled>False</Disabled>
        <Path><your path>\FSUIPC5.dll</Path>
       </Launch.Addon>
     

    Save the file and restart P3D. If all is ok, download FSUIPC 5.152 (from the link above) and re-install. You don't have to register again - copy your key file from your old (renamed) Modules folder to the new one. You can also copy across your ini file if you have anything there you want to keep.

    Cheers,

    John

  8. 7 minutes ago, Tony90 said:

    Oops misread date on flying Axx post but sounded  very similar ie MS upgrade Fsipc fails 

    Again, I have no idea what this means, sorry....

     

    7 minutes ago, Tony90 said:

    No I have not accessed the registry.  How certain can we be that itr is the same problem?

    Does it matter? Make a backup of your registry and you can always revert back to it later if it causes issues.

    I'm sorry, but I don't understand what support you require. Please follow the instructions. If  that doesn't work, then post the results here and we'll try to help.

    John

    P.S. You are hijacking a FAQ thread. If you have any issues, can you please start a new thread in the support forum (not the FAQ). If the support request requires a different solution to that posted in this FAQ entry, then I will update accordingly. I'll leave these comments in the FAQ entry for a while, but they will be deleted as they are really not appropriate to a FAQ entry. Thanks.

  9. Hi Detlef,

    the second lua script does not end as you have an infinite loop, so the timer is never called. Try this instead:

    ipc.display("Timer event test")
    gCount = 10
    -----------------------------------------------------
    function MyTimer()
      gCount = gCount-1
      ipc.display(gCount)
    end
    -------------------------  init ------------------------
    event.timer(100, "MyTimer")
    

     

    13 hours ago, Detlef_747 said:

    I start a Lua script by setting a key (L in my case) to start the script

    Ok, then you don't need to auto-start.

    13 hours ago, Detlef_747 said:

    So if my script has the name kevent.lua I set the key L to the control Lua kevent.

    So, after starting a script with the 'L'  key, you then wait for an 'L' key event? Sounds a strange thing to do, but ok if thats what you want....

    13 hours ago, Detlef_747 said:

    But if I initiate the events, and wait in a loop afterwards in the same lua file for the events happening, the events do not fire.

    The script needs to end/finish (not exit! That will kill the lua), then it will react on the events. It won't react to events if the script is still running (i.e. you are in an internal loop).

    13 hours ago, Detlef_747 said:

    I now need to figure out how I can use global variables, that are global across different Lua files.

    There are various ways to achieve this, although the recommended way using FSUIPC is to use the provided ipc.get and ipc.set functions - see the lua library documentation.

    Cheers,

    John

  10. Hi Detlef,

    how are you activating this lua? As you are using events, it should be activated from the [Auto] section of your ini file.

    However, this line
        ipc.exit()
    will cause your lua program to exit and no longer respond to events.

    You also have:
        event.key(TIC_MS, 86, 0, "KeyReceived")  -- Key v (normally make screenshot)
        event.cancel("KeyReceived")

    where you are asking a function to be called on a keycode (of TIC_MS, which is not a valid keycode) with shifts of CTRL-ALT-TAB-APPS (=86...really?), and are then cancelling this event straight away, so it will never be called.

    Probably quite a few other mistakes - I haven't checked it all. I think you need to review the examples again, especially on events. Basically when you add an event (and don't cancel it or stop the lua!), the lua sits in the background waiting for the event, and then calls the appropriate function.

    Also, lua logging is your friend - try activating this to find errors and see what your lua is doing.

    Cheers,

    John

     

    P.S. You posted in the FAQ - I moved your post to the support forum - please post in this forum for all support requests,

  11. Hi Scott,

    you can use just the shift key only by modifying the key definition

        6=N220,8,1005,2560,1005,2560     -{\|key: Press=BUTTON FLAG Toggle: Joy 10 Button 0, Release=BUTTON FLAG Toggle: Joy 10 Button 0 }-
     to
        6=N16,9,1005,2560,1005,2560     -{\|key: Press=BUTTON FLAG Toggle: Joy 10 Button 0, Release=BUTTON FLAG Toggle: Joy 10 Button 0 }-
     

    It seems that 16 is the keycode for null, not 0 as specified in the documentation (which I will update).

    Cheers,

    John

  12. 2 hours ago, Lars Jolls said:

    Ohhhh I can see that MACRO file is named .txt

    Yes, that will be your problem!

    If you left-click the filename and hold for a second or so before releasing, you can change the filename and extension (or right-click and 'Rename'). You will have to confirm the change.

    Notepad++ is a good free source editor that a lot of people, including myself, use for this type of thing.

    Btw, your FSUIPC version is quite old now - the latest (and only supported) version is 5.152. please update at some point.

    Cheers,

    John

    P.S. Its a good idea to set the AutoAssignLetters ini parameter to Yes (or manually assign them - see the "Joy Letters" section of the User Guide, p24 in latest version). This will prevent possible problems if your USB device numbers change for some reason.

  13. Hi Scott,

    to have different functions on your joystick buttons depending upon whether a key is pressed or not, you can try the following:

    1. First select the key to use. Unfortunately this cannot be just a modifier key (shift, ctrl, alt, etc). For this example, I will use the '|\ key (which is the key next to the leftmost shift key on my keyboard).

    2. Program this key to send a 'BUTTON FLAG Toggle' event, using the FSUIPC 'Key Presses' tab. For the parameter, choose a joystick (and button) number that you do not use (<16) and multiply this by 256. I only have 2 joystick devices, so I choose joystick 10 (button 0), so my parameter will be 2560. Set to send the same control/parameter on both key press and release, and check for 'No repeats!'.

    This will set a button flag (joystick 10, button 0) on keypress, and clear the flag on key release.

    The entry in your ini will look something like:

    [Keys]
    ...
    6=N220,8,1005,2560,1005,2560     -{\|key: Press=BUTTON FLAG Toggle: Joy 10 Button 0, Release=BUTTON FLAG Toggle: Joy 10 Button 0 }-
     

    3. Modify your ini file to add the conditional on any buttons for which you wish to use this feature.  For example, I have the following button entry in my ini file:

    [Buttons]
    ...
    9=PS,0,C65752,0     -{PARKING_BRAKES}-
    ...

    To make this conditional on holding the key I defined ('\'), I would modify this to the following:

    9=CP(F+10,0)S,0,C65752,0     -{PARKING_BRAKES}-
     

    and now I can add a new entry for using this button without the key modifier, e.g.

    [Buttons]
    ...
    9=CP(F+10,0)S,0,C65752,0     -{PARKING_BRAKES}-
    ...
    19=CP(F-10,0)S,0,C66079,0     -{GEAR_UP}-

    Hope that makes sense! Full details on button flags and compound button conditions are in the Advanced User Guide.

    Cheers,

    John

     

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