Jump to content
The simFlight Network Forums

Sabrefly

Members
  • Posts

    142
  • Joined

  • Last visited

Everything posted by Sabrefly

  1. Guys, could some kind soul write a simple lua script here, that engages/disengages AP1 in the current FSL AXX (P3Dv5) please? I'd like to use it then in FSUIPC so that I could assign 2 joystick buttons to FSL AP1 On and FSL AP1 Off (the joystick buttons will actually be generated by a voiceattack command). Many thanks for your help with this.
  2. I thought it was GFDev2k4.dll in GF driver's package. But no, it should be GFDev64.dll from this forum. Thanks.
  3. Hello, is FSUIPC6 supposed to 'see' GF button clicks like it used to in the past? It does not here. Thanks.
  4. I came from another forum and missed the second sentence! Thanks.
  5. When can E170/190 SP1 be expected? Thanks.
  6. What did you do in 8, 9, 10? Without the image it's hard to understand. Thanks
  7. Joe, thanks, no worries. This is all too specialized for my simple task to check why I'm getting exactly 1/3 of the actual FPS.
  8. Please let us know if you find a fix fo the FPS mess. Thanks
  9. Joe, could you share your app to see if it will work 1:1 on my rig? Thanks
  10. Pete, most definitely my P3Dv4 is v4.2.21.24048 with FSUIPCv5.124a WideClient v7.141. The only legacy settings file from P3Dv3.4 I have is FSUIPC.ini below: [General] UpdatedByVersion=5124a History=6BOSQ8YIH6YDP2QJY0UF7 InitDelayDevicesToo=No PMDG737offsets=Auto PMDG747offsets=Auto PMDG777offsets=Auto Annotate=Yes NewInterceptTextMenu=No UseSystemTime=No UseMidMouseBtn=Yes MouseWheelMove=No MouseWheelTrim=No MouseWheelTrimSpeed=1 JoystickTimeout=20 FixControlAccel=No RestoreSimcWindows=No FixMachSpeedBug=No AutoScanDevices=Yes DisconnTrimForAP=No ZeroElevForAPAlt=No ThrottleSyncAll=No WhiteMessages=No ShowPMcontrols=No SpoilerIncrement=512 MagicBattery=Yes RudderSpikeRemoval=No ElevatorSpikeRemoval=No AileronSpikeRemoval=No ReversedElevatorTrim=No ClockSync=No ClockSyncMins=5 ClearWeatherDynamics=No TimeForSelect=4 LoadFlightMenu=No LoadPlanMenu=No PauseAfterCrash=No BrakeReleaseThreshold=75 SaveDataWithFlights=No ZapSound=firework ShortAircraftNameOk=Substring UseProfiles=Yes EnableMouseLook=No DelayedMouseLookZoom=No WideLuaGlobals=Yes AxesWrongRange=No TCASid=Flight TCASrange=40,3 AxisCalibration=No DirectAxesToCalibs=No ShowMultilineWindow=Yes SuppressSingleline=No SuppressMultilineFS=No AxisIntercepts=No DontResetAxes=No ThreadAffinityMask=x0 LuaAffinityMask=x0 InitDelay=0 GetNearestAirports=Yes LogOptionProtect=Yes TimeForLuaClosing=2 WeatherReadFactor=2 WeatherRewriteSeconds=1 CustomWeatherModify=No SimConnectStallTime=1 InitialStallTime=10 NormalStallTime=1 LuaRerunDelay=66 Console=No UsePDK=Yes FSVersionUsed="Lockheed Martin® Prepar3D® v4",4.2.21.24048 SimConnectUsed=4.2.0.0 [Traffic Limiter] AirportPreference=0 PlannedAirportsPreference=0 GroundPreference=0 NearerPreference=0 TargetFrameRate=0 TrafficLimit=0 [JoyNames] AutoAssignLetters=Yes 0=Saitek P8000 0.GUID={D5AF72A0-D7BF-11E7-800D-444553540000} 1=F16 MFD 1 1.GUID={D6013C20-D7BF-11E7-8011-444553540000} A=Saitek P8000 A.GUID={D5AF72A0-D7BF-11E7-800D-444553540000} B=F16 MFD 1 B.GUID={D6013C20-D7BF-11E7-8011-444553540000} C=CH Control Manager Device 2 C.GUID={F6CE4100-D7C9-11E7-8001-444553540000} D=CH Control Manager Device 3 D.GUID={F6CE6810-D7C9-11E7-8002-444553540000} E=CH Control Manager Device 4 E.GUID={F6CE6810-D7C9-11E7-8003-444553540000} F=CH Control Manager Device 1 F.GUID={F6CE6810-D7C9-11E7-8004-444553540000} G=CH Throttle Quadrant USB G.GUID={D6016330-D7BF-11E7-8013-444553540000} H=CH Pro Pedals USB H.GUID={D6016330-D7BF-11E7-8014-444553540000} J=CH Fighterstick USB J.GUID={D6016330-D7BF-11E7-8015-444553540000} K=CH Pro Throttle USB K.GUID={D6016330-D7BF-11E7-8016-444553540000} L=CH Throttle Quadrant USB L.GUID={D6018A40-D7BF-11E7-8017-444553540000} 2=CH Control Manager Device 2 2.GUID={F6CE4100-D7C9-11E7-8001-444553540000} 3=CH Control Manager Device 3 3.GUID={F6CE6810-D7C9-11E7-8002-444553540000} 4=CH Control Manager Device 4 4.GUID={F6CE6810-D7C9-11E7-8003-444553540000} 5=CH Control Manager Device 1 5.GUID={F6CE6810-D7C9-11E7-8004-444553540000} [Axes] PollInterval=10 RangeRepeatRate=10 0=CZ,256,D,4,0,0,0 -{ DIRECT: Throttle }- 1=EX,256,D,7,0,0,0 -{ DIRECT: LeftBrake }- 2=EY,256,D,8,0,0,0 -{ DIRECT: RightBrake }- 3=EZ,256,D,3,0,0,0 -{ DIRECT: Rudder }- 4=ES,256,F,66818,0,0,0 -{ TO SIM: STEERING_SET }- 5=FX,2065,D,1,0,0,0 -{ DIRECT: Aileron }- 6=FY,2588,D,2,0,0,0 -{ DIRECT: Elevator }- [Buttons] PollInterval=25 ButtonRepeat=20,10 1=RF,0,C65588,0 -{BRAKES}- 2=UF,0,C3,0 -{Custom control: <3>}- 3=RF,2,Cx32000BC0,x3FFF0080 -{offset sword increment, offset 0BC0 (Incr=128, Limit=16383)}- 4=RF,4,Cx42000BC0,xC0010080 -{offset sword decrement, offset 0BC0 (Decr=128, Limit=-16383)}- 7=PE,0,C66066,0 -{SPOILERS_ARM_ON}- 8=PE,1,C66067,0 -{SPOILERS_ARM_OFF}- 9=PD,3,C66064,0 -{SPOILERS_ON}- 10=PC,6,C66065,0 -{SPOILERS_OFF}- 11=PC,3,K123,10 -{Key press: ctl+F12}- 13=PA,11,C65584,0 -{BAROMETRIC}- 14=PA,12,C66846,0 -{BAROMETRIC_STD_PRESSURE}- 15=PA,20,C1079,0 -{traffic zapper}- 16=PA,27,C1085,0 -{traffic zapall}- 17=PA,8,K49,11 -{Key press: ctl+shft+1}- 18=PA,9,K50,11 -{Key press: ctl+shft+2}- 19=PA,10,K51,11 -{Key press: ctl+shft+3}- 20=PA,15,K52,11 -{Key press: ctl+shft+4}- 21=PA,16,K53,11 -{Key press: ctl+shft+5}- 22=PA,17,K54,11 -{Key press: ctl+shft+6}- 23=PA,23,K56,11 -{Key press: ctl+shft+8}- 24=PA,24,K57,11 -{Key press: ctl+shft+9}- 25=PA,25,K48,11 -{Key press: ctl+shft+0}- 26=PA,22,K55,11 -{Key press: ctl+shft+7}- 27=PA,7,K82,11 -{Key press: ctl+shft+R}- 28=PA,0,K74,10 -{Key press: ctl+J}- [AutoSave] Next=1 Interval=60 Files=10 SaveOnGround=No AutoSaveEnabled=No [GPSout] GPSoutEnabled=No Port=COM1 Speed=4800 Interval=2000 PosTo6Decimal=No SimModeIndicator=No Sentences= [GPSout2] GPSoutEnabled=No Port=<none set> Speed=4800 Interval=2000 PosTo6Decimal=No SimModeIndicator=No Sentences= [WideServer] WideFSenabled=Yes AdvertiseService=1 Port=8002 Port2=9002 [Sounds] Path=F:\Lockheed Martin\Prepar3D v4\Sound\ Device1=Primary Sound Driver Device2=???????? (Realtek High Definition Audio) Device3=Realtek Digital Output (Realtek High Definition Audio) [JoystickCalibration] AllowSuppressForPFCquad=Yes ExcludeThrottleSet=Yes ExcludeMixtureSet=Yes ExcludePropPitchSet=Yes SepRevsJetsOnly=No ApplyHeloTrim=No UseAxisControlsForNRZ=No FlapsSetControl=0 FlapDetents=No ReverserControl=66292 Reverser1Control=66422 Reverser2Control=66425 Reverser3Control=66428 Reverser4Control=66431 MaxThrottleForReverser=256 AileronTrimControl=66731 RudderTrimControl=66732 CowlFlaps1Control=66162 CowlFlaps2Control=66163 CowlFlaps3Control=66164 CowlFlaps4Control=66165 SteeringTillerControl=0 MaxSteerSpeed=60 LeftBrake=-16384,11903/16 RightBrake=-16254,11903/16 SteeringTiller=-16254,-512,512,16254/16 Aileron=-16384,-512,512,16127 Elevator=-16384,-512,512,16255 Rudder=-16384,-512,512,16127 Throttle=-16254,16383 SlopeRudder=5 [Profile.F22] 1=F-22 Raptor - 525th Fighter Squadron [LuaFiles] 1=ipcReady 2=linda [VRInsight] 1=com3 [Window.SimConnect Message Window] NewDocked=156, 94, 2248, 63 [Window.Message Window] NewDocked=20, 47, 2520, 17 [Traffic Limiter] TrafficLimit=150 AirportPreference=0 GroundPreference=75 NearerPreference=1 TargetFrameRate=22 PlannedAirportsPreference=1 [Profile.FSL A320X] 1=FSLabs A320X IAE - British Airways (G-EUUE) 2=FSLabs A320X IAE - British Airways G-EUUE [Buttons.FSL A320X] 0=PF,5,K188,8 -{Key press: ,<key}- 1=PC,1,C1073,0 -{advdisplay toggle}- [Axes.FSL A320X] RangeRepeatRate=10 0=CZ,256,D,4,0,0,0 -{ DIRECT: Throttle }- 1=EX,256,D,7,0,0,0 -{ DIRECT: LeftBrake }- 2=EY,256,D,8,0,0,0 -{ DIRECT: RightBrake }- 3=EZ,256,D,3,0,0,0 -{ DIRECT: Rudder }- 4=ES,256,F,66818,0,0,0 -{ TO SIM: STEERING_SET }- 5=FX,256,D,1,0,0,0 -{ DIRECT: Aileron }- 6=FY,256,D,2,0,0,0 -{ DIRECT: Elevator }- [ClientNames] 1=KAT 2=F4N 3=WIN10 [Window.SimConnectWindow] NewDocked=1030, 595, 500, 239 [Monitor] [Profile.C337] 1=C337 Skymaster BLUE [Buttons.C337] 0=PF,5,K188,8 -{Key press: ,<key}- 1=PC,1,C1073,0 -{advdisplay toggle}- [Axes.C337] RangeRepeatRate=10 0=CZ,256,D,4,0,0,0 -{ DIRECT: Throttle }- 1=DS,256,D,5,0,0,0 -{ DIRECT: PropPitch }- 2=DT,256,D,6,0,0,0 -{ DIRECT: Mixture }- 3=EX,256,D,7,0,0,0 -{ DIRECT: LeftBrake }- 4=EY,256,D,8,0,0,0 -{ DIRECT: RightBrake }- 5=EZ,256,D,3,0,0,0 -{ DIRECT: Rudder }- 6=ES,256,F,66818,0,0,0 -{ TO SIM: STEERING_SET }- 7=FX,256,D,1,0,0,0 -{ DIRECT: Aileron }- 8=FY,256,D,2,0,0,0 -{ DIRECT: Elevator }- [Keys.FSL A320X] 1=19,8,65602,0,65604,0 -{Paus: Press=THROTTLE_DECR, Release=THROTTLE_CUT }- [Profile.RV7A] 1=VansRV7A N420HA [Buttons.RV7A] 0=PF,5,K188,8 -{Key press: ,<key}- 1=PC,1,C1073,0 -{advdisplay toggle}- [Axes.RV7A] RangeRepeatRate=10 0=CZ,256,D,4,0,0,0 -{ DIRECT: Throttle }- 1=DS,256,D,5,0,0,0 -{ DIRECT: PropPitch }- 2=DT,256,D,6,0,0,0 -{ DIRECT: Mixture }- 3=EX,256,D,7,0,0,0 -{ DIRECT: LeftBrake }- 4=EY,256,D,8,0,0,0 -{ DIRECT: RightBrake }- 5=EZ,256,D,3,0,0,0 -{ DIRECT: Rudder }- 6=ES,256,F,66818,0,0,0 -{ TO SIM: STEERING_SET }- 7=FX,256,D,1,0,0,0 -{ DIRECT: Aileron }- 8=FY,256,D,2,0,0,0 -{ DIRECT: Elevator }- Thanks!
  11. Please post pictures or a video to see how your simulator looks on it. Thanks!
  12. Please post the whole macro and introduction instructions when you have time. Thanks!
  13. I have no problem making calculations in my head (10x3), and you mentioned it (UsePDK=Yes) was more efficient. Thanks!
  14. Affirm, 5.124a Try to run on a networked PC if you have one. Something tells me you'll see my result 100%. Thanks.
  15. I confirm: UsePDK=No fixes FPS Display, now it shows 30 as it should. I'm not sure if this is a good news for Pete though. Thanks.
  16. Thomas, I couldn't find UsePDK= line anywhere in FSUIPC pdf files, where did you get it from? Do you run WideClient on a networked PC, don't you? This is really very odd in my case, as the counter shows exactly 1/3 of the actual FPS. I have 3 client PCs Win10 and 2xWin7, they all show 1/3 of the actual FPS.
  17. Under which section in FSUIPC should I need to add this Switch? Just curious what will change? Thanks,
  18. Pete, my aircraft (either FSL A320 or Default F22 or some Carenado simple a/c) are sitting on the ground, doing nothing, On and Off. The FPS count on FPS display is exactly 1/3 of the actual number. As if it needs to insert some simple factor 3 in the formula. I never had a problem or any oddities with it before v4.2 Thanks,
  19. Hello, This is a small Lua I use for AI number and FPS display on a wideclient: -- Create the display window for 4 values, position x=800, y=400 h = display.create("My next display", 2, 800, 400, DSP_TOPMOST) -- Update the display at 500 msec intervals (see event at end) function mytimer(time) -- display 1 = frame rate fr = ipc.readUW(0x0274) if fr ~= 0 then fr = 32768/fr end fr = math.floor((fr * 10) + 0.5)/10 display.show(h, 1, "Frame Rate " .. fr .. " fps") -- display 2 = number of AI traff = ipc.readUD(0x025C) display.show(h, 2, "AI Number " ..traff) end -- Adjust timing to taste: 500 = 1/2 second event.timer(500, "mytimer") AI number display works OK, as in the past versions, but FPS display shows 1/3 of the real value. So, for example, in my scenario on the main display my current FPS count is 30, whereas Frame Rate display shows only 10 fps. This lua has worked since many versions ago, so it must be something in FSUIPC. Thanks,
  20. I've figured it out, there was an error, fixed! -- display 2 = number of AI traff = ipc.readUD(0x025C) display.show(h, 2, "AI Number " ..traff)
  21. Weird, I can get the number displayed to FS Title bar if I set up Logging accordingly, but it doesn't reach WideClient on the networked PC. Thanks.
  22. Hmm unfortunately I don't get AI count in the display (second value). I still have Frame Rate indication but no AI count? -- Create the display window for 2 values, position x=800, y=400 h = display.create("My next display", 2, 800, 400) -- Update the display at 500 msec intervals (see event at end) function mytimer(time) -- display 1 = frame rate fr = ipc.readUW(0x0274) if fr ~= 0 then fr = 32768/fr end fr = math.floor((fr * 10) + 0.5)/10 display.show(h, 1, "Frame Rate " .. fr .. " fps") -- display 2 = number of AI traff = ipc.readUD(0x025C) display.show(h, 3, "AI Number " ..traff) end -- Adjust timing to taste: 500 = 1/2 second event.timer(500, "mytimer") What could be wrong there? Win10, P3Dv4.1, FSUIPC v5.122a, MT6 WideClient v6.999z4 (Win7) Thanks. PS: Do I need to set anything special for that in FSUIPC?
  23. Guys, I'm using this LUA on a networked PC (for WideClient), that shows me FPS and VAS used: Could somebody savvy with FSUIPC and LUA kindly add necessary lines to the above also to display number of AI aircraft currently in P3Dv4? Thanks PS: I'm on P3Dv4
×
×
  • 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.