Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello,

I would like to ask if there is any way to check if the user is loaded into the sim. This means the user can move the camera around, control the aircraft etc.

Thanks

Posted
4 minutes ago, Thomas Richter said:

Hi,

FSUIPC deals with local FS but not with networked clients. If you are looking for networked client action you will have to use Simconnect direct.

Thomas

 

All I ask for is a way to check if the local flight simulator running on the user's machine is loaded in and ready to go, via an offset or something. I do not need to do anything related to networking.

Posted

Hi,

Some relevant offsets you might consider are:

  • 0x3364: Byte: "Ready to fly". A 0 value here means the sim is loaded and ready to fly.
  • 0x3365: Byte: "In Menu or Dialog": A 0 value here means the user is not in a menu or dialog.
  • 0x0264: Short: "Paused indicator". 0 here means not paused.
  • 0x05DC: Short: "Slew mode". 0 here means slew mode is not engaged.

Maybe a combination of these might work for you.

For more information on these offsets, check the documentation ( FSUIPC4 Offsets Status.pdf )

Paul

Posted
1 minute ago, Paul Henty said:

Hi,

Some relevant offsets you might consider are:

  • 0x3364: Byte: "Ready to fly". A 0 value here means the sim is loaded and ready to fly.
  • 0x3365: Byte: "In Menu or Dialog": A 0 value here means the user is not in a menu or dialog.
  • 0x0264: Short: "Paused indicator". 0 here means not paused.
  • 0x05DC: Short: "Slew mode". 0 here means slew mode is not engaged.

Maybe a combination of these might work for you.

For more information on these offsets, check the documentation ( FSUIPC4 Offsets Status.pdf )

Paul

Thank you, this is exactly what I needed. I'm just too lazy to look through all the hundreds of offsets :P

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.