Jump to content
The simFlight Network Forums

Pushback Offsets Don't React To Values Being Written


Recommended Posts

Posted

Hi,

I decided to monitor the pushback offsets and noticed the following:

0x31F0 = Current Pushback State
0x31F4 = Pushback (Set)

0 = Straight
1 = Left
2 = Right
3 = No Pushback

Edit: it looks like 0 is now 4 in MSFS, so it is no longer zero indexed.

(1 and 2 directions may be mixed up in this report but it is neither here no there as the result is the same)

If I write to the offset 0x31F4 directly, the value is stored and the value in 0x31F0 also changes to reflect the state.

However, nothing happens in the sim.

If, however, I use SHIFT+P, the offset monitor comes back with "SimRead: 31F4='PUSHBACK STATE' (also 31F0) INT32: 4(0x00000004)."

The aircraft starts to push back... however none of the directional values work, and you cannot cancel the pushback by setting "3" as the value ... you have to SHIFT+P again

Is there any way to make the simulator react to the offsets (0 (or 4) and 3 as the values) instead of needing SHIFT+P - and also to respond to a turn request by specifying either 1 or 2 as the value?

Here is a sample log (NOTE THAT I HAVE ALSO TRIED TO WRITE TO BOTH OFFSETS IN MSFS - IN OTHER SIMS, ONLY WRITING TO 31F4 IS REQUIRED - then 31F0 updates automatically)

  (Attempt to START by writing an integer of 4)
 733296 Monitor IPC:31F0 (S32) = 4
 733312 Monitor IPC:31F4 (S32) = 4

----- nothing happens ---

(SHIFT+P PRESSED)
   733359 SimRead: 31F4="PUSHBACK STATE" [also 31F0]
            INT32: 4 (0x00000004)

---- aircraft pushes back ----

(Attempt to STOP by writing an integer of 3)
   734281 Monitor IPC:31F0 (S32) = 3
   734296 Monitor IPC:31F4 (S32) = 3

---- nothing happens ----

(SHIFT+P PRESSED)
   734343 SimRead: 31F4="PUSHBACK STATE" [also 31F0]
            INT32: 3 (0x00000003)


---- aircraft stops pushing back ----

Posted
On 9/20/2020 at 1:57 AM, FPVSteve said:

1 and 2 directions may be mixed up in this report but it is neither here no there as the result is the same

Pushback left/right are behaving in the opposite way of how theywere previously working - this has been reported to Asobo. For the time being, I will swap the controls sent so that previous functionality is maintained.

Could you try the attached build please:  FSUIPC7.exe

  • Thanks 1
Posted

Great news - it worked perfectly.

I tried multiple combinations:

Straight / Stop

Straight,  Left, Stop,

Straight, Right, Stop,

Straight, Right, Left, Stop,

Left, Stop

etc.

 

All fine.

Thank you very much for that.

Posted

Steve how did you do that?

I used the .exe that john attached, then in the button & switch assignement I selected:

toggle pushback & param 0 for straight  

toggle pushback & param 3 for stop

toggle pushback & param 1 for left  but doesn't turn

toggle pushback & param 2 for right but doesn't turn

in each case when toggle it start but if i toggle again it stops.

 

last question: how can i write an offset?

I look in the manual but it's not clear to me (I'm definitely not an expert by now!)

 

 

see the log:

 1866797 Button changed: bRef=0, Joy=1 (B), Btn=30, Pressed
  1866797 [Buttons] 46=PB,30,C66483,0
  1866797 FS Control Sent: Ctrl=66483, Param=0 TOGGLE_PUSHBACK
  1866797 *** EVENT: Cntrl= 66483 (0x000103b3), Param= 0 (0x00000000) TOGGLE_PUSHBACK
  1866813 Monitor IPC:31F0 (S8) = 0x0
  1866813 Monitor IPC:31F4 (S8) = 0x0
  1866813 SimRead: 31F4="PUSHBACK STATE" [also 31F0]
            INT32: 0 (0x00000000)
  1867032 Button changed: bRef=0, Joy=1 (B), Btn=30, Released
  1871938 Button changed: bRef=0, Joy=1 (B), Btn=30, Pressed
  1871938 [Buttons] 46=PB,30,C66483,0
  1871938 FS Control Sent: Ctrl=66483, Param=0 TOGGLE_PUSHBACK
  1871954 *** EVENT: Cntrl= 66483 (0x000103b3), Param= 0 (0x00000000) TOGGLE_PUSHBACK
  1871969 Monitor IPC:31F0 (S8) = 0x3
  1871969 Monitor IPC:31F4 (S8) = 0x3
  1871969 SimRead: 31F4="PUSHBACK STATE" [also 31F0]
            INT32: 3 (0x00000003)
  1872094 Button changed: bRef=0, Joy=1 (B), Btn=30, Released
  1874657 Button changed: bRef=0, Joy=1 (B), Btn=30, Pressed
  1874657 [Buttons] 46=PB,30,C66483,0
  1874657 FS Control Sent: Ctrl=66483, Param=0 TOGGLE_PUSHBACK
  1874688 *** EVENT: Cntrl= 66483 (0x000103b3), Param= 0 (0x00000000) TOGGLE_PUSHBACK
  1874704 Monitor IPC:31F0 (S8) = 0x0
  1874704 Monitor IPC:31F4 (S8) = 0x0
  1874704 SimRead: 31F4="PUSHBACK STATE" [also 31F0]
            INT32: 0 (0x00000000)
  1874813 Button changed: bRef=0, Joy=1 (B), Btn=30, Released
  1876844 Button changed: bRef=0, Joy=1 (B), Btn=24, Pressed
  1876844 [Buttons] 47=PB,24,C66483,3
  1876844 FS Control Sent: Ctrl=66483, Param=3 TOGGLE_PUSHBACK
  1876844 *** EVENT: Cntrl= 66483 (0x000103b3), Param= 3 (0x00000003) TOGGLE_PUSHBACK
  1876860 Monitor IPC:31F0 (S8) = 0x3
  1876860 Monitor IPC:31F4 (S8) = 0x3
  1876860 SimRead: 31F4="PUSHBACK STATE" [also 31F0]
            INT32: 3 (0x00000003)
  1877079 Button changed: bRef=0, Joy=1 (B), Btn=24, Released
  1879407 Button changed: bRef=0, Joy=1 (B), Btn=31, Pressed
  1879407 [Buttons] 466=PB,31,C66483,2
  1879407 FS Control Sent: Ctrl=66483, Param=2 TOGGLE_PUSHBACK
  1879422 *** EVENT: Cntrl= 66483 (0x000103b3), Param= 2 (0x00000002) TOGGLE_PUSHBACK
  1879438 Monitor IPC:31F0 (S8) = 0x0
  1879438 Monitor IPC:31F4 (S8) = 0x0
  1879438 SimRead: 31F4="PUSHBACK STATE" [also 31F0]
            INT32: 0 (0x00000000)
  1879563 Button changed: bRef=0, Joy=1 (B), Btn=31, Released
  1882672 Button changed: bRef=0, Joy=1 (B), Btn=27, Pressed
  1882672 [Buttons] 465=PB,27,C66483,1
  1882672 FS Control Sent: Ctrl=66483, Param=1 TOGGLE_PUSHBACK
  1882688 *** EVENT: Cntrl= 66483 (0x000103b3), Param= 1 (0x00000001) TOGGLE_PUSHBACK
  1882704 Monitor IPC:31F0 (S8) = 0x3
  1882704 Monitor IPC:31F4 (S8) = 0x3
  1882704 SimRead: 31F4="PUSHBACK STATE" [also 31F0]
            INT32: 3 (0x00000003)
  1882829 Button changed: bRef=0, Joy=1 (B), Btn=27, Released

 

 

 

 

Posted

Hi,

Toggle Pushback control will only toggle Pushback ON or OFF, the value has no effect. To send Left(1), Right (2), Straight(0) or OFF(3) you need to send the value to the Offset 31F4. Instead of selecting Toggle Pushback you choose Offset Dword Set, see pic. This would need 4 buttons or you use instead for Straight and Off the Toggle Pushback control but that would then switch from Left or Right to OFF and needs another press.

image.png.44b7354b2f5c77ad8cbdfada36539f70.png

Thomas

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.