Achilles Philippopoulos Posted August 12, 2012 Report Posted August 12, 2012 Hi Pete, While offset 0658 4 bytes (icao) works ok in fsx, in prepar3d returns empty. It is prepar3d problem or fsuipc? Using fsuipc version 4.844 Regards, Achilles
Pete Dowson Posted August 12, 2012 Report Posted August 12, 2012 While offset 0658 4 bytes (icao) works ok in fsx, in prepar3d returns empty. The facility relies on a SimConnect function which doesn't work very well, so it is defaulted off. Add (or change) "GetNearestAirports=Yes" to the [General] section of the FSUIPC4.INI file. However, it rarely provides the actual airport you are sitting on, and sometimes not others nearby. It is SmConnect which is buggy in this area. After the facility was implemented I did get some hacked information from Daniel van Os which led me to a table inside FSX which contains the correct information, so I use this for FSX SP2/Acc. But I didn't find this in P3D -- and in fact did not look very hard, because P3D is still being developed and they should make the published facilities work. I don't really want the job of detailed hacking into each update of their code in order to correct their bugs. If you check it after setting that parameter, and it doesn't give reliable information, please do report it to P3D support so that they might one day fix it. For reference the SimConnect facility concerned is: HRESULT SimConnect_RequestFacilitesList( HANDLE hSimConnect, SIMCONNECT_FACILITY_LIST_TYPE type, SIMCONNECT_DATA_REQUEST_ID RequestID ); with type = SIMCONNECT_FACILITY_LIST_TYPE_AIRPORT Currently I can't even test it on P3D as my license has expired again. I'm really waiting for Versio 2 when I might actually buy it if it looks as good as folks are hoping. Regards Pete
Achilles Philippopoulos Posted August 12, 2012 Author Report Posted August 12, 2012 Hi Pete, It is to already inside fsuipc.ini to GetNearestAirports=Yes and returns empty. So, I will try to implement inside my program in other way. Thanks, Achilles
Pete Dowson Posted August 12, 2012 Report Posted August 12, 2012 It is to already inside fsuipc.ini to GetNearestAirports=Yes and returns empty. Ah, in that case Prepar3D isn't even returning bad information like fSX. i will re-check when version 2 of P3D is available. Regards Pete
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