dekodan Posted February 9, 2017 Report Share Posted February 9, 2017 (edited) Hello - I need help please. After upgrading to 3.4.22 P3D with their hotfix and updating FSUIPC 4.962 (registered), I have lost all my axes assignments. I have deleted the ini file and tried again and nothing. Inside FSUIPC, I can see the movements of all the axes. I can assign them and calibrate them no problem. Back in the cockpit I get nothing. I have no conflict inside the standard control settings in P3D. No axes are assigned. I am pasting the new ini file (where I only reassigned elevator and aileron as a test). I still have my old ini file should that be required to debug. [General] UpdatedByVersion=4962 History=4P6JBZDO8L0F9KACVF8T5 InitDelayDevicesToo=No Annotate=Yes NewInterceptTextMenu=No UseSystemTime=No UseMidMouseBtn=Yes MouseWheelMove=No MouseWheelTrim=No MouseWheelTrimSpeed=1 JoystickTimeout=20 PollGFTQ6=Yes BlankDisplays=No FixControlAccel=No FixMachSpeedBug=No NewDeleteVehiclesForAES=No AutoScanDevices=Yes AssignJoystickIDs=Yes VisibilityOptions=No OneCloudLayer=No CloudTurbulence=No CloudIcing=No GenerateCirrus=No SuppressCloudTurbulence=No MaxIce=-4 MinIce=-1 UpperWindGusts=No SuppressWindTurbulence=No SuppressWindVariance=No WindTurbulence=No TurbulenceRate=1.0,5.0 TurbulenceDivisor=20,20,40,40 SuppressAllGusts=No MaxSurfaceWind=0 WindLimitLevel=200 WindDiscardLevel=400 WindAjustAltitude=No WindAjustAltitudeBy=2000 SmoothBySimTime=No WindSmoothing=No WindSmoothness=2 WindSmoothAirborneOnly=Yes PressureSmoothness=0 TemperatureSmoothness=0 DisconnTrimForAP=No ZeroElevForAPAlt=No ThrottleSyncAll=No WhiteMessages=No ShowPMcontrols=No SpoilerIncrement=512 MagicBattery=No RudderSpikeRemoval=No ElevatorSpikeRemoval=No AileronSpikeRemoval=No ReversedElevatorTrim=No ClockSync=No ClockSyncMins=5 ClearWeatherDynamics=No OwnWeatherChanges=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 AxisCalibration=No DirectAxesToCalibs=No ShowMultilineWindow=Yes SuppressSingleline=No SuppressMultilineFS=No AxisIntercepts=No DontResetAxes=No ThreadAffinityMask=x0 LuaAffinityMask=x0 InitDelay=0 GetNearestAirports=Yes LogOptionProtect=Yes OOMcheck=Yes OOMcheckInterval=10 TimeForLuaClosing=2 WeatherReadFactor=2 WeatherRewriteSeconds=1 CustomWeatherModify=No SimConnectStallTime=1 InitialStallTime=10 NormalStallTime=1 LuaRerunDelay=66 FSVersionUsed="Lockheed Martin® Prepar3D® v3",3.4.22.19868 SimConnectUsed=3.4.0.0 [JoyNames] AutoAssignLetters=No 0=Saitek Pro Flight Yoke 0.GUID={65F47080-6E34-11E3-8001-444553540000} 1=BU0836A Interface 1.GUID={7B14B960-A2A8-11E6-8001-444553540000} 2=Saitek Pro Flight Cessna Trim Wheel 2.GUID={2188EAB0-6E35-11E3-8001-444553540000} 3=Pro Flight TPM System 3.GUID={4F372CE0-7E35-11E4-8001-444553540000} 4=Saitek Pro Flight Rudder Pedals 4.GUID={066A5200-6E35-11E3-8001-444553540000} [Axes] PollInterval=10 RangeRepeatRate=10 0=1X,256,D,1,0,0,0 -{ DIRECT: Aileron }- [MacroFiles] 1=A2A_C172 2=A2A_Cherokee_180 [LuaFiles] 1=ipcinit [Buttons] PollInterval=25 ButtonRepeat=20,10 [AutoSave] Next=1 Interval=60 Files=10 SaveOnGround=No AutoSaveEnabled=No [GPSout] GPSoutEnabled=No [GPSout2] GPSoutEnabled=No [Traffic Limiter] TrafficLimit=0 AirportPreference=50 GroundPreference=50 NearerPreference=50 [WideServer] WideFSenabled=Yes [Sounds] Path=C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\Sound\ Device1=Primary Sound Driver Device2=Headset Earphone (Razer Kraken 7.1) Device3=Realtek Digital Output (Realtek High Definition Audio) Device4=Speakers (Realtek High Definition Audio) Device5=Realtek Digital Output(Optical) (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 Aileron=-16351,186,186,16259 Elevator=-16356,-225,-225,16129 [Profile.A2A Cherokee 180] 1=Piper Pa-28-180 Cherokee 4 [Axes.A2A Cherokee 180] RangeRepeatRate=10 0=1X,256,D,1,0,0,0 -{ DIRECT: Aileron }- 1=1Y,256,D,2,0,0,0 -{ DIRECT: Elevator }- [JoystickCalibration.A2A Cherokee 180] 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 Aileron=-16351,186,186,16259 Elevator=-16356,-225,-225,16129 Log: ********* FSUIPC4, Version 4.962 (8th February 2017) by Pete Dowson ********* Windows 10 Pro 64 Bit reported as Build 14393, Release ID: 1607 (OS 10.0) Prepar3D.exe version = 3.4.22.19868 Running inside Prepar3D v3 on Windows 10 Module base=58D10000 User Name="**********" User Addr="****************" FSUIPC4 Key is provided WIDEFS7 not user registered, or expired 0 System time = 09/02/2017 14:55:02 0 FLT path = "C:\Users\Danny-SIM\Documents\Prepar3D v3 Files\" 0 ------ Module Version Check ------ 0 acontain.dll: 3.4.22.19868 0 api.dll: 3.4.22.19868 0 controls.dll: 3.4.22.19868 0 fs-traffic.dll: 3.4.22.19868 0 G3D.dll: 3.4.22.19868 0 language.dll: 3.4.22.19868 0 sim1.dll: 3.4.22.19868 0 visualfx.dll: 3.4.22.19868 0 weather.dll: 3.4.22.19868 0 window.dll: 3.4.22.19868 0 ---------------------------------- 0 Trying C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\Modules\SimConnectP3D3.dll 0 Found it: trying to connect 0 FS path = "C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\" 125 ---------------------- Joystick Device Scan ----------------------- 125 Product= Pro Flight Cessna Trim Wheel 125 Manufacturer= Saitek 125 Vendor=06A3, Product=0BD4 (Version 1.7) 125 Serial Number= RD012324 125 Product= BU0836A Interface 125 Manufacturer= Leo Bodnar 125 Vendor=16C0, Product=05BA (Version 1.34) 125 Serial Number= B56542 140 Product= Saitek Pro Flight Rudder Pedals 140 Manufacturer= Saitek 140 Vendor=06A3, Product=0763 (Version 1.1) 140 Serial Number= 140 Product= Saitek Pro Flight Yoke 140 Manufacturer= Saitek 140 Vendor=06A3, Product=0BAC (Version 3.0) 140 Serial Number= 140 Product= Pro Flight TPM System 140 Manufacturer= Mad Catz 140 Vendor=06A3, Product=0B4D (Version 1.100) 140 Serial Number= G0000398 140 ------------------------------------------------------------------- 250 LogOptions=00000000 00000001 250 ------------------------------------------------------------------- 250 ------ Setting the hooks and direct calls into the simulator ------ 250 --- CONTROLS timer memory location obtained ok 250 --- SIM1 Frictions access gained 250 --- FS Controls Table located ok 250 --- Installed Mouse Macro hooks ok. 250 --- Wind smoothing fix is installed 250 --- SimConnect intercept for texts and menus option is off 250 --- All links okay (except older global weather setting method) 250 ------------------------------------------------------------------- 250 SimConnect_Open succeeded: waiting to check version okay 250 Trying to use SimConnect Prepar3D 250 Opened separate AI Traffic client okay 31640 Running in "Lockheed Martin® Prepar3D® v3", Version: 3.4.22.19868 (SimConnect: 3.4.0.0) 31640 Initialising SimConnect data requests now 31640 FSUIPC Menu entry added 31640 LUA.0: beginning "C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\Modules\ipcInit.lua" 31703 C:\Users\Danny-SIM\Documents\Prepar3D v3 Files\FBPH Parked CYRO.fxml 31703 C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\SimObjects\Airplanes\A2A_Piper_PA28_180_Cherokee\PA28_180.air 103265 User Aircraft ID 2 supplied, now being used 103906 System time = 09/02/2017 14:56:46, Simulator time = 14:55:59 (19:55Z) 104031 Aircraft="Piper Pa-28-180 Cherokee 4" 1284828 Sim stopped: average frame rate for last 961 secs = 35.0 fps 1284828 Max AI traffic was 0 aircraft 1339062 Sim stopped: average frame rate for last 36 secs = 39.3 fps 1339062 Max AI traffic was 0 aircraft 1360922 Aircraft="Piper Pa-28-180 Cherokee 4" 1807078 Sim stopped: average frame rate for last 394 secs = 38.0 fps 1807078 Max AI traffic was 0 aircraft Edited February 9, 2017 by dekodan Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 11, 2017 Report Share Posted February 11, 2017 On 2/9/2017 at 8:31 PM, dekodan said: After upgrading to 3.4.22 P3D with their hotfix and updating FSUIPC 4.962 (registered), I have lost all my axes assignments. I have deleted the ini file and tried again and nothing. Inside FSUIPC, I can see the movements of all the axes. I can assign them and calibrate them no problem. Back in the cockpit I get nothing. If you can see them and calibrate, then they are sent on to P3D. There's no way the cannot be. On 2/9/2017 at 8:31 PM, dekodan said: I have no conflict inside the standard control settings in P3D. No axes are assigned. You must disable controllers there. Assignments are not really relevant, it is whether they are enabled or not. On 2/9/2017 at 8:31 PM, dekodan said: I am pasting the new ini file (where I only reassigned elevator and aileron as a test). Your assignments are very odd. You have these devices: 0=Saitek Pro Flight Yoke1=BU0836A Interface2=Saitek Pro Flight Cessna Trim Wheel3=Pro Flight TPM System4=Saitek Pro Flight Rudder Pedals but you assigned your aileron and elevator (for the "Piper Pa-28-180 Cherokee 4" only) thus: 0=1X,256,D,1,0,0,0 -{ DIRECT: Aileron }-1=1Y,256,D,2,0,0,0 -{ DIRECT: Elevator }- In other words, to the Bodnar board, not the yoke. Why is that? The only other assignment is to the Aileron, for all other aircraft: 0=1X,256,D,1,0,0,0 -{ DIRECT: Aileron }- Pete Link to comment Share on other sites More sharing options...
dekodan Posted February 11, 2017 Author Report Share Posted February 11, 2017 Hello Pete, Thanks for your reply. See my answers/comments below. 6 hours ago, Pete Dowson said: If you can see them and calibrate, then they are sent on to P3D. There's no way the cannot be. I assure you, I can see and calibrate them properly in FSUIPC. I have been using your addon for a long time and very familiar with it. The only thing I changed was moving to the updated P3D client and your update. 6 hours ago, Pete Dowson said: You must disable controllers there. Assignments are not really relevant, it is whether they are enabled or not. I might have mis-stated. The controllers are not enabled in P3D. 6 hours ago, Pete Dowson said: Your assignments are very odd. You have these devices: 0=Saitek Pro Flight Yoke1=BU0836A Interface2=Saitek Pro Flight Cessna Trim Wheel3=Pro Flight TPM System4=Saitek Pro Flight Rudder Pedals I understand why you would think this. I replaced the Roll and Pitch axes of my Saitek Pro Flight Yoke with the BU0836A interface because the stock firmware on the Saitek Yoke is rubbish. I did this many months ago. 6 hours ago, Pete Dowson said: but you assigned your aileron and elevator (for the "Piper Pa-28-180 Cherokee 4" only) thus: 0=1X,256,D,1,0,0,0 -{ DIRECT: Aileron }-1=1Y,256,D,2,0,0,0 -{ DIRECT: Elevator }- In other words, to the Bodnar board, not the yoke. Why is that? As explained above - new joystick board to read these axes. The reason you only see two axes in the ini file: When my problems started, I scrapped the original fsuiipc.ini file in case I was having conflicts. When I started everything over, there are blank assignments. As a test, I only assigned those two axes. In the case above, profile specific. In the case below, it was just a non-profile specific test with one axis. 6 hours ago, Pete Dowson said: The only other assignment is to the Aileron, for all other aircraft: 0=1X,256,D,1,0,0,0 -{ DIRECT: Aileron }- Pete For the life of me, I cannot see why this is not working. Your help is greatly appreciated. Thanks Dan Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 11, 2017 Report Share Posted February 11, 2017 15 minutes ago, dekodan said: For the life of me, I cannot see why this is not working Nor me. although if you've only tested it with an add-on aircraft, the A2A, it may just be because that aircraft has bend coded to only accept the regular axis controls at the normal SimConnect priority level. So, make sure you load a default aircraft. Then in FSUIPC's logging tab, enable the axis logging. OK out and use the aileron -- perhaps just one movement from centre to full left, then full right, then back again. See if it works in the default aircraft, and if not then the resulting log should show what is going on. Pete Link to comment Share on other sites More sharing options...
dekodan Posted February 11, 2017 Author Report Share Posted February 11, 2017 47 minutes ago, Pete Dowson said: Nor me. although if you've only tested it with an add-on aircraft, the A2A, it may just be because that aircraft has bend coded to only accept the regular axis controls at the normal SimConnect priority level. So, make sure you load a default aircraft. Then in FSUIPC's logging tab, enable the axis logging. OK out and use the aileron -- perhaps just one movement from centre to full left, then full right, then back again. See if it works in the default aircraft, and if not then the resulting log should show what is going on. Pete Hi Pete, Always worked ok with A2A... So just gave a default aircraft a try (Beech Baron 58). I assigned the axes in FSUIPC, works fine inside there. Back to the cockpit and nothing. I turned on the axis logging. I am assuming the output of the log is in fsuipc4.log? Here it is: ********* FSUIPC4, Version 4.962 (8th February 2017) by Pete Dowson ********* Windows 10 Pro 64 Bit reported as Build 14393, Release ID: 1607 (OS 10.0) Prepar3D.exe version = 3.4.22.19868 Reading options from "C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\Modules\FSUIPC4.ini" Running inside Prepar3D v3 on Windows 10 Module base=58CB0000 User Name= User Addr= FSUIPC4 Key is provided WIDEFS7 not user registered, or expired 0 System time = 11/02/2017 11:00:29 0 FLT path = "C:\Users\Danny-SIM\Documents\Prepar3D v3 Files\" 0 ------ Module Version Check ------ 0 acontain.dll: 3.4.22.19868 0 api.dll: 3.4.22.19868 0 controls.dll: 3.4.22.19868 0 fs-traffic.dll: 3.4.22.19868 0 G3D.dll: 3.4.22.19868 0 language.dll: 3.4.22.19868 0 sim1.dll: 3.4.22.19868 0 visualfx.dll: 3.4.22.19868 0 weather.dll: 3.4.22.19868 0 window.dll: 3.4.22.19868 0 ---------------------------------- 0 Trying C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\Modules\SimConnectP3D3.dll 0 Found it: trying to connect 0 FS path = "C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\" 266 ---------------------- Joystick Device Scan ----------------------- 266 Product= Pro Flight Cessna Trim Wheel 266 Manufacturer= Saitek 266 Vendor=06A3, Product=0BD4 (Version 1.7) 266 Serial Number= RD012324 266 Product= BU0836A Interface 266 Manufacturer= Leo Bodnar 266 Vendor=16C0, Product=05BA (Version 1.34) 266 Serial Number= B56542 266 Product= Saitek Pro Flight Rudder Pedals 266 Manufacturer= Saitek 266 Vendor=06A3, Product=0763 (Version 1.1) 266 Serial Number= 266 Product= Saitek Pro Flight Yoke 266 Manufacturer= Saitek 266 Vendor=06A3, Product=0BAC (Version 3.0) 266 Serial Number= 266 Product= Pro Flight TPM System 266 Manufacturer= Mad Catz 266 Vendor=06A3, Product=0B4D (Version 1.100) 266 Serial Number= G0000398 266 ------------------------------------------------------------------- 360 LogOptions=00000000 00000001 360 ------------------------------------------------------------------- 360 ------ Setting the hooks and direct calls into the simulator ------ 360 --- CONTROLS timer memory location obtained ok 360 --- SIM1 Frictions access gained 375 --- FS Controls Table located ok 375 --- Installed Mouse Macro hooks ok. 375 --- Wind smoothing fix is installed 375 --- SimConnect intercept for texts and menus option is off 375 --- All links okay (except older global weather setting method) 375 ------------------------------------------------------------------- 375 SimConnect_Open succeeded: waiting to check version okay 375 Trying to use SimConnect Prepar3D 375 Opened separate AI Traffic client okay 45360 Running in "Lockheed Martin® Prepar3D® v3", Version: 3.4.22.19868 (SimConnect: 3.4.0.0) 45360 Initialising SimConnect data requests now 45360 FSUIPC Menu entry added 45360 LUA.0: beginning "C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\Modules\ipcInit.lua" 45422 C:\Users\Danny-SIM\Documents\Prepar3D v3 Files\FBPH Parked CYRO.fxml 45422 C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\SimObjects\Airplanes\A2A_Piper_PA28_180_Cherokee\PA28_180.air 99625 User Aircraft ID 2 supplied, now being used 100032 System time = 11/02/2017 11:02:09, Simulator time = 11:01:20 (16:01Z) 100172 Aircraft="Piper Pa-28-180 Cherokee 4" 170563 Sim stopped: average frame rate for last 71 secs = 37.4 fps 170563 Max AI traffic was 0 aircraft 272657 Sim stopped: average frame rate for last 95 secs = 45.1 fps 272657 Max AI traffic was 0 aircraft 343297 Sim stopped: average frame rate for last 35 secs = 47.3 fps 343297 Max AI traffic was 0 aircraft 4500828 Sim stopped: average frame rate for last 4153 secs = 53.0 fps 4500828 Max AI traffic was 0 aircraft 4511203 C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\SimObjects\Airplanes\beech_baron_58\Beech_Baron_58.air 4511407 Aircraft="Beech Baron 58" 4512032 *** LUA Error: ipcinit_SOURCE.lua:36: attempt to perform arithmetic on global 'HOBHR4' (a nil value) 4543297 Sim stopped: average frame rate for last 31 secs = 44.2 fps 4543297 Max AI traffic was 0 aircraft 4596422 Sim stopped: average frame rate for last 36 secs = 47.0 fps 4596422 Max AI traffic was 0 aircraft 4616157 LogOptions changed, now 10000000 00000001 Link to comment Share on other sites More sharing options...
dekodan Posted February 11, 2017 Author Report Share Posted February 11, 2017 Hi Pete, HOLD on this for now... I completely deleted all traces of FSUIPC and have done a complete reinstall. I have had success with 2 axes... Trying everything and might be back on track. I have no idea why this fixes the problem but it does... I'll come back with further news.. Dan Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 11, 2017 Report Share Posted February 11, 2017 Your log is cut off at the very point you enabled the axis logging! Why? What's the point of showing that to me? The only odd thing there is this: 4511407 Aircraft="Beech Baron 58" 4512032 *** LUA Error: ipcinit_SOURCE.lua:36: attempt to perform arithmetic on global 'HOBHR4' (a nil value) What is that bad Lua plug-in? I suspect the problem is that the A2A aircraft does not heed the controls sent by FSUIPC. Pete Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 11, 2017 Report Share Posted February 11, 2017 41 minutes ago, dekodan said: Hi Pete, HOLD on this for now... I completely deleted all traces of FSUIPC and have done a complete reinstall. I have had success with 2 axes... The only thing that would do is restore the INI file to default. You did that before, you said. What does your new one look like? Pete Link to comment Share on other sites More sharing options...
dekodan Posted February 11, 2017 Author Report Share Posted February 11, 2017 3 minutes ago, Pete Dowson said: The only thing that would do is restore the INI file to default. You did that before, you said. What does your new one look like? Pete Hi Pete, You sound like me so I appreciate the annoyance on the cut off log entry earlier. I should have looked at it more carefully. Everything is working fine now. The difference between what I did before and after is the following. I deleted the ini file the first time and rebooted all. The results are the ones we have been discussing; i.e. nothing working. My latest attempt was to delete all contents from the modules folder and reinstall fsuipc and reassign all my controls. All works now. My only conclusion is something corrupted between the P3D client update and the installation of your latest fsuipc. I don't see any significant differences in the ini file from what I posted initially and this now new one after reinstall. The device IDs seem the same, the basic axes assignments seem the same too... maybe I am missing something if you feel like investigating. Here is my ini file: [General] UpdatedByVersion=4962 History=4XLTR7L3ITAZ0IORAUN8J InitDelayDevicesToo=No Annotate=Yes NewInterceptTextMenu=No UseSystemTime=No UseMidMouseBtn=Yes MouseWheelMove=No MouseWheelTrim=No MouseWheelTrimSpeed=1 JoystickTimeout=20 PollGFTQ6=Yes BlankDisplays=No FixControlAccel=No FixMachSpeedBug=No NewDeleteVehiclesForAES=No AutoScanDevices=Yes AssignJoystickIDs=Yes VisibilityOptions=No OneCloudLayer=No CloudTurbulence=No CloudIcing=No GenerateCirrus=No SuppressCloudTurbulence=No MaxIce=-4 MinIce=-4 UpperWindGusts=No SuppressWindTurbulence=No SuppressWindVariance=No WindTurbulence=No TurbulenceRate=1.0,5.0 TurbulenceDivisor=20,20,40,40 SuppressAllGusts=No MaxSurfaceWind=0 WindLimitLevel=200 WindDiscardLevel=400 WindAjustAltitude=No WindAjustAltitudeBy=2000 SmoothBySimTime=No WindSmoothing=No WindSmoothness=2 WindSmoothAirborneOnly=Yes PressureSmoothness=0 TemperatureSmoothness=0 DisconnTrimForAP=No ZeroElevForAPAlt=No ThrottleSyncAll=No WhiteMessages=No ShowPMcontrols=No SpoilerIncrement=512 MagicBattery=No RudderSpikeRemoval=No ElevatorSpikeRemoval=No AileronSpikeRemoval=No ReversedElevatorTrim=No ClockSync=No ClockSyncMins=5 ClearWeatherDynamics=No OwnWeatherChanges=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 AxisCalibration=No DirectAxesToCalibs=No ShowMultilineWindow=Yes SuppressSingleline=No SuppressMultilineFS=No AxisIntercepts=No DontResetAxes=No ThreadAffinityMask=x0 LuaAffinityMask=x0 InitDelay=0 GetNearestAirports=Yes LogOptionProtect=Yes OOMcheck=Yes OOMcheckInterval=10 TimeForLuaClosing=2 WeatherReadFactor=2 WeatherRewriteSeconds=1 CustomWeatherModify=No SimConnectStallTime=4 InitialStallTime=10 NormalStallTime=1 LuaRerunDelay=66 Console=No FSVersionUsed="Lockheed Martin® Prepar3D® v3",3.4.22.19868 SimConnectUsed=3.4.0.0 [JoyNames] AutoAssignLetters=No 0=Saitek Pro Flight Yoke 0.GUID={65F47080-6E34-11E3-8001-444553540000} 1=BU0836A Interface 1.GUID={7B14B960-A2A8-11E6-8001-444553540000} 2=Saitek Pro Flight Cessna Trim Wheel 2.GUID={2188EAB0-6E35-11E3-8001-444553540000} 3=Pro Flight TPM System 3.GUID={4F372CE0-7E35-11E4-8001-444553540000} 4=Saitek Pro Flight Rudder Pedals 4.GUID={066A5200-6E35-11E3-8001-444553540000} [Axes] PollInterval=10 RangeRepeatRate=10 0=1X,256,D,1,0,0,0 -{ DIRECT: Aileron }- 1=1Y,256,D,2,0,0,0 -{ DIRECT: Elevator }- 2=2X,256,D,21,0,0,0 -{ DIRECT: ElevatorTrim }- 3=3X,256,D,4,0,0,0 -{ DIRECT: Throttle }- 4=3R,256,D,6,0,0,0 -{ DIRECT: Mixture }- 5=4X,256,D,7,0,0,0 -{ DIRECT: LeftBrake }- 6=4Y,256,D,8,0,0,0 -{ DIRECT: RightBrake }- 7=4R,256,D,3,0,0,0 -{ DIRECT: Rudder }- [Buttons] PollInterval=25 ButtonRepeat=20,10 [AutoSave] Next=1 Interval=60 Files=10 SaveOnGround=No AutoSaveEnabled=No [GPSout] GPSoutEnabled=No [GPSout2] GPSoutEnabled=No [Traffic Limiter] TrafficLimit=0 AirportPreference=50 GroundPreference=50 NearerPreference=50 [WideServer] WideFSenabled=Yes [Sounds] Path=C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\Sound\ Device1=Primary Sound Driver Device2=Headset Earphone (Razer Kraken 7.1) Device3=Realtek Digital Output (Realtek High Definition Audio) Device4=Speakers (Realtek High Definition Audio) Device5=Realtek Digital Output(Optical) (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=-16380,16380/16 RightBrake=-16380,16380/16 Throttle=-16380,16380 Mixture=-16380,16380 Aileron=-16380,-512,512,16380 Elevator=-16380,-512,512,16380 [MacroFiles] 1=A2A_C172 2=A2A_Cherokee_180 [Profile.A2A_Cherokee_180] 1=Piper Pa-28-180 Cherokee 4 [Axes.A2A_Cherokee_180] RangeRepeatRate=10 0=0Z,256 1=0Z,B,0,16383,65752,0 -{ Entering=PARKING_BRAKES }- 2=0Z,B,-16384,0,65752,1 -{ Entering=PARKING_BRAKES }- 3=0U,256 4=0U,B,6272,16383,M2:2,1 -{ Entering=Macro A2A_Cherokee_180: L:FSelCherokeeState set }- 5=0U,B,-4031,6272,M2:2,0 -{ Entering=Macro A2A_Cherokee_180: L:FSelCherokeeState set }- 6=0U,B,-16384,-4031,M2:2,2 -{ Entering=Macro A2A_Cherokee_180: L:FSelCherokeeState set }- 7=0V,256 8=0V,B,2580,16383,M2:1,0 -{ Entering=Macro A2A_Cherokee_180: L:PrimerState set }- 9=0V,B,-5676,2580,M2:1,1 -{ Entering=Macro A2A_Cherokee_180: L:PrimerState set }- 10=0V,B,-16384,-5676,M2:1,2 -{ Entering=Macro A2A_Cherokee_180: L:PrimerState set }- 11=1X,256,D,1,0,0,0 -{ DIRECT: Aileron }- 12=1Y,256,D,2,0,0,0 -{ DIRECT: Elevator }- 13=2X,256,D,21,0,0,0 -{ DIRECT: ElevatorTrim }- 14=3X,256,D,4,0,0,0 -{ DIRECT: Throttle }- 15=3R,256,D,6,0,0,0 -{ DIRECT: Mixture }- 16=4X,256,D,7,0,0,0 -{ DIRECT: LeftBrake }- 17=4Y,256,D,8,0,0,0 -{ DIRECT: RightBrake }- 18=4R,256,D,3,0,0,0 -{ DIRECT: Rudder }- Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 11, 2017 Report Share Posted February 11, 2017 1 hour ago, dekodan said: My latest attempt was to delete all contents from the modules folder and reinstall fsuipc and reassign all my controls. I wonder if that's something to do with that Lua plug-in, which failed when you ran a different aircraft (see earlier post). Deleting everything in the Modules folder would have deleted that. It wasn't one I recognised. Where did it come from? 1 hour ago, dekodan said: My only conclusion is something corrupted between the P3D client update and the installation of your latest fsuipc. No, there won't be. 1 hour ago, dekodan said: I don't see any significant differences in the ini file from what I posted initially and this now new one after reinstall. The device IDs seem the same, the basic axes assignments seem the same too... maybe I am missing something if you feel like investigating. Show me that "rogue" plug-in if you can find it (file name ipcinit_SOURCE.lua), and see if you can find why you installed it, or what did install which also installed it. Pete Link to comment Share on other sites More sharing options...
dekodan Posted February 11, 2017 Author Report Share Posted February 11, 2017 1 hour ago, Pete Dowson said: I wonder if that's something to do with that Lua plug-in, which failed when you ran a different aircraft (see earlier post). Deleting everything in the Modules folder would have deleted that. It wasn't one I recognised. Where did it come from? No, there won't be. Show me that "rogue" plug-in if you can find it (file name ipcinit_SOURCE.lua), and see if you can find why you installed it, or what did install which also installed it. Pete Hi Pete, OK, so the rogue Lua plug-in is for Simpanels A2A instruments to drive my second PC that has my instruments gauges. It is actually required or my gauges don't function properly. Now that I put the ipcinit.lua file back in the modules folder, my gauges works great again. But now my axes don't work anymore. Grrrr! If I remove the ipcinit.lua, all controls work fine again but I lose some of my gauges in simpanel.... I'm going bonkers trying to sort this out. Any ideas? Dan attached is my ipcinit.lua file if that helps. ipcinit.lua Link to comment Share on other sites More sharing options...
Thomas Richter Posted February 11, 2017 Report Share Posted February 11, 2017 Hi, also make sure you use latest FSUIPC4.962a. Thomas Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 12, 2017 Report Share Posted February 12, 2017 2 hours ago, dekodan said: OK, so the rogue Lua plug-in is for Simpanels A2A instruments to drive my second PC that has my instruments gauges. It is actually required or my gauges don't function properly. Now that I put the ipcinit.lua file back in the modules folder, my gauges works great again. But now my axes don't work anymore. Grrrr! Then there's some thing badly wrong with that plug-in. I can't check it because whoever wrote and supplied it has compiled it. Usually such plug-ins are readable source.. Is it actually from A2A or did you get it from someplace else? This "SimPanel" company? The fact that it crashes when you load a different aircraft shows it is in error in the first place. I think your only recourse is to ask the folks who made it. Pete Link to comment Share on other sites More sharing options...
dekodan Posted February 12, 2017 Author Report Share Posted February 12, 2017 3 minutes ago, Pete Dowson said: Then there's some thing badly wrong with that plug-in. I can't check it because whoever wrote and supplied it has compiled it. Usually such plug-ins are readable source.. Is it actually from A2A or did you get it from someplace else? This "SimPanel" company? The fact that it crashes when you load a different aircraft shows it is in error in the first place. I think your only recourse is to ask the folks who made it. Pete That's quite possibly true. The program comes from simplugins panel builder. I have been using it a long time and never had an issue until this updated fsuipc. So which side is conflicting with which is hard for me to determine. I have another workaround which unfortunately means I skip Fsuipc for my axes. I have remapped everything in SPAD.Next including my custom bandings. SPAD.next, like Fsuipc supports LVARS so I was able to replicate all the functions I need. It's all working for me again. Axes, special bandings and my gauges through Simpanel. Thank you for all your help Daniel Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 12, 2017 Report Share Posted February 12, 2017 16 minutes ago, dekodan said: The program comes from simplugins panel builder. I have been using it a long time and never had an issue until this updated fsuipc. So which side is conflicting with which is hard for me to determine. I have another workaround which unfortunately means I skip Fsuipc for my axes. Have you ever try assigning to the more usual FS contorls in FSUIPC instead of "direct to calibration". Then try both with, and without, calibration. There are also other options which you can try, but one step at a time. If you are in the habit of deleting everything every time you update FSUIPC I am not surprised things change. You probably made other changes now lost. And I have STILL never seen any log with the data I requested. I think it is a bit pointless me trying to help if you don't do such a simple thing, now requested at least two or three times. If you don't want me to help any more, so be it. Pete Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 12, 2017 Report Share Posted February 12, 2017 As a matter of interest, and curiosity, I installed that "ipcInit.lua" plug-in into my P3D modules folder. Being named "ipcInit" it gets loaded automatically when the system is started -- it doesn't even wait till the sim is "ready to fly" (as the ipcReady.lua would have to), so I had to enable Lua debug/trace mode beforehand ("DebugLua=Yes"). This isn't very informative, because, being compiled there's no logging of the actual commands which are being executed. The log you get, in the case of any aircraft I may be using at least, is: 30811 Running in "Lockheed Martin® Prepar3D® v3", Version: 3.4.22.19868 (SimConnect: 3.4.0.0) 30811 Initialising SimConnect data requests now 30811 FSUIPC Menu entry added 30811 LUA.0: beginning "E:\Prepar3D v3\Modules\ipcInit.lua" 30811 LUA.0: ipcinit_SOURCE.lua:10 30811 LUA.0: Global: ipcPARAM = 0 30811 LUA.0: ipcinit_SOURCE.lua:11 30811 LUA.0: ipcinit_SOURCE.lua:12 30811 LUA.0: ipcinit_SOURCE.lua:13 30811 LUA.0: ipcinit_SOURCE.lua:14 30811 LUA.0: ipcinit_SOURCE.lua:15 30826 LUA.0: ipcinit_SOURCE.lua:16 30826 LUA.0: ipcinit_SOURCE.lua:17 30826 LUA.0: ipcinit_SOURCE.lua:18 30826 LUA.0: ipcinit_SOURCE.lua:19 30826 LUA.0: ipcinit_SOURCE.lua:20 30826 LUA.0: ipcinit_SOURCE.lua:21 30826 LUA.0: ipcinit_SOURCE.lua:22 30826 LUA.0: ipcinit_SOURCE.lua:23 30826 LUA.0: ipcinit_SOURCE.lua:24 30826 LUA.0: ipcinit_SOURCE.lua:25 30826 LUA.0: ipcinit_SOURCE.lua:26 30826 LUA.0: ipcinit_SOURCE.lua:27 30826 LUA.0: ipcinit_SOURCE.lua:28 30826 LUA.0: ipcinit_SOURCE.lua:29 30842 LUA.0: ipcinit_SOURCE.lua:30 30842 LUA.0: ipcinit_SOURCE.lua:31 30842 LUA.0: ipcinit_SOURCE.lua:32 30842 LUA.0: ipcinit_SOURCE.lua:33 30842 LUA.0: ipcinit_SOURCE.lua:34 30842 LUA.0: ipcinit_SOURCE.lua:35 30842 LUA.0: ipcinit_SOURCE.lua:36 30842 *** LUA Error: ipcinit_SOURCE.lua:36: attempt to perform arithmetic on global 'HOBHR4' (a nil value) It seems it never actually sets Global variable HOBHR4, at least it doesn't on its own. Are you sure there isn't another Lua file in your Modules folder which is also being run? Presumably one of those lines above (10-35) checks the name of the aircraft you load, or perhaps the existence of a specific L:Val, the if it matches what it wants, sets a value to that Global -- but if so, it must do that all in one line because there's no "jumps" (no discontinuity in the lines numbers showing the execution order). At present I just cannot imagine what this plug-in could do to nullify the action of your assigned axes, which you say work fine when this plug-in is removed. I might try creating the global HOBHR4 in another Lua to try to stop yuor plug-in crashing. Pete Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 12, 2017 Report Share Posted February 12, 2017 27 minutes ago, Pete Dowson said: At present I just cannot imagine what this plug-in could do to nullify the action of your assigned axes, which you say work fine when this plug-in is removed. I might try creating the global HOBHR4 in another Lua to try to stop yuor plug-in crashing. Even more intriguing, not to mention 'strange'. If I set a value to a Global "HOBHR4", the ipcInit plug in still crashes with a nil value for it. So it must actually set it to nil deliberately, before trying to do impossible arithmetic with it! ... No. I just put traps in FSUIPC where the Lua "ipc.set" and "ipc.get" functions ar processed, and ipcInit calls neither. So it isn't actually trying to get that value before using it. Curiouser and curiouser. I can't really do anything else. I think you are in the hands of your panel builder support. But do try the alternative methods of assigning I mentioned, just in case. Pete Link to comment Share on other sites More sharing options...
dekodan Posted February 12, 2017 Author Report Share Posted February 12, 2017 11 hours ago, Pete Dowson said: Even more intriguing, not to mention 'strange'. If I set a value to a Global "HOBHR4", the ipcInit plug in still crashes with a nil value for it. So it must actually set it to nil deliberately, before trying to do impossible arithmetic with it! ... No. I just put traps in FSUIPC where the Lua "ipc.set" and "ipc.get" functions ar processed, and ipcInit calls neither. So it isn't actually trying to get that value before using it. Curiouser and curiouser. I can't really do anything else. I think you are in the hands of your panel builder support. But do try the alternative methods of assigning I mentioned, just in case. Pete Hello Pete, Thanks for being curious and pushing the investigation. Firstly, I double checked, there are no other lua files in the modules folder. Next, I tried assigning axes by using the direct to FS method. I assigned to the "axis aileron set" and "axis elevator set". Nothing works while the lua file is present. Pull it out and everything is fine. Attached are the most recent logs. In both cases, axes logging is on, I try some moves with the yoke. I also try to change aircraft. In the log with LUA present, there doesn't seem to be any axes movements and then the LUA error appears after trying to change aircraft. In the log without the LUA file, everything works just fine it seems. Dan FSUIPC4_NO LUA.log FSUIPC4_WITH LUA.log Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 12, 2017 Report Share Posted February 12, 2017 41 minutes ago, dekodan said: Attached are the most recent logs. In both cases, axes logging is on, I try some moves with the yoke. I also try to change aircraft. In the log with LUA present, there doesn't seem to be any axes movements and then the LUA error appears after trying to change aircraft. In the log without the LUA file, everything works just fine it seems. Unfortunately the Log with Lua is not really that useful at all, because you don't have the axis logging enabled for that one! See this: 219 LogOptions=10000000 00000001 for the "no lua" one, with this: 234 LogOptions=00000000 00000001 for the "with lua" one. That first "1" digit is the axis log option! Later you did enable that logging: 306328 LogOptions changed, now 10000000 00000001 306437 *** AXIS: Cntrl= 65786 (0x000100fa), Param= 50 (0x00000032) SPOILERS_SET 306453 *** AXIS: Cntrl= 65786 (0x000100fa), Param= 53 (0x00000035) SPOILERS_SET 331203 C:\Program Files (x86)\Lockheed Martin\Prepar3D v3\SimObjects\Airplanes\beech_baron_58\Beech_Baron_58.air 331406 Aircraft="Beech Baron 58" 331937 *** LUA Error: ipcinit_SOURCE.lua:36: attempt to perform arithmetic on global 'HOBHR4' (a nil value) 348718 LogOptions changed, now 00000000 00000001 but then changed aircraft soon after. Why? And why are you disabling that option afterwards? Better whilst investigating this if it was on from the start, as it was in the case of the "no lua" one. BTW do the axes start working immediately after the Lua plug-in crashes? Because it won't be running then. Or has it managed to do some permanent damage? Have you contacted the authors of that plug-in, to see what they say about this? Pete P.S. Again, you posted a log without the final close messages included (the With Lua one). Please don't cut it short. Link to comment Share on other sites More sharing options...
Genew Posted February 18, 2017 Report Share Posted February 18, 2017 Hi Dan, I had the same problem with 'HOBHR4' nil value. I posted today & Pete replied. Please check my post "Upgrade from 4.949f to 4.962 & simconnect". The fault is in the A2A simplugins add-on. I am going to pursue this with Simplugins. Let me know if you have any question that I might help with. Pete remembered the 'HOBHR4' connection, I did a search & came up with this thread. I saw your thread initially but did not read far enough! Gene Link to comment Share on other sites More sharing options...
dekodan Posted March 6, 2017 Author Report Share Posted March 6, 2017 On 2/18/2017 at 5:01 PM, Genew said: Hi Dan, I had the same problem with 'HOBHR4' nil value. I posted today & Pete replied. Please check my post "Upgrade from 4.949f to 4.962 & simconnect". The fault is in the A2A simplugins add-on. I am going to pursue this with Simplugins. Let me know if you have any question that I might help with. Pete remembered the 'HOBHR4' connection, I did a search & came up with this thread. I saw your thread initially but did not read far enough! Gene Hello Gene, Sorry for the late reply. I have been out of the country and was not in the sim world. I will look into your post, thank you. Did you hear anything from Simplugins? Thanks Dan Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now