Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello Pete,

I wanted to know if this offset is supported on MSFS as I am doing some test and I manage the data thet I read from that offset to identify current visibility.

Documentation says: 0E8A 2 Current visibility (Statue miles * 100) Ok Ok

But using console I have this data: 
7145282 Monitor IPC:0E8A (U8) = 179.

Based in the documentation and doing all converstion current visibility seems to be 1NM but Simulator gives me 6NM.


Thank you for your help

Posted
12 hours ago, chanchu81 said:

I wanted to know if this offset is supported on MSFS as I am doing some test and I manage the data thet I read from that offset to identify current visibility.

Documentation says: 0E8A 2 Current visibility (Statue miles * 100) Ok Ok

Why don't you just check the offset status document for FSUIPC7 / MSFS rather than quoting the documentation for other versions?
This offset is clearly marked in red, i.e. not available or working.

The old SimConnect weather interface has been deprecated in MSFS and is no longer available. 

You could try offset 0x2DF0, which holds the simvar AMBIENT VISIBILITY, documented as 
    Visibility at the aircraft, in metres, as a 64-bit double floating point – for reading.
(and in MSFS documentation: Ambient visibility (only measures ambient particle visibility - related to ambient density).

John

Posted

I am sorry,

I was not familiar with that documentation. I just downloaded the SDK and started to code from there.

My bad.

I will test 0x2DF0 then.

Thank you for your help

 

Santiago

Posted

The FSUIPC7 separate documentation package is quite out-of-date at the moment. I will update it in the coming days. For now, to get the latest documentation, download and install FSUIPC7 and just select the Documentation component to install. This will also install FSUIPC7, but you can remove or just not use that if not needed. If using the SDK, it is also better to install that using the FSUIPC7 installer as that will also be more up-to-date.

John

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.