Page 1 of 1

Difference in flight hours between X-Plane and Prepar3D

Posted: Sat Feb 02, 2019 8:53 pm
by 280782
We have detected that all our flights with X-Plane have a longer duration than flights with P3D:

Flight
LEMD / LEBL

Report 2399503 with P3Dv4
00:58 (1h)

Report 2532786 with X-Plane 11
01:02 (1.4h)

I have timed the flight and from the taxi to parking brakes, it's 01:02, on the web FSAirlines appears correctly even if I indicate 1.4, but with the XML Interface you only get the value of 1.4, so you have to calculate the duration with the following formula:

$row['hours'] = 1.4
$seconds = ($row['hours'] * 60) * 60;
$elapsed = $hours = date ('H', $seconds); $minutes = date ('i', $seconds);
Result: 01:24 (1.40 h)

With P3D it works correctly, but with P3D it doesn't.

Has anyone else review this problem?

Re: Difference in flight hours between X-Plane and Prepar3D

Posted: Sun Feb 03, 2019 12:49 am
by joefremont
280782 wrote:
Sat Feb 02, 2019 8:53 pm
With P3D it works correctly, but with P3D it doesn't.
I assume you ment to say with P3D it work correctly, but with X-Plane it doesn't.

There is a problem with the XPUIPC interface which is supposed to be compatible with FSUPIC, but there is a timer interface we use with FSUIPC but XPUIPC did not implement it. So I did the best I could using the other time interfaces but they are not as accurate. I have tried to contact the people at german-xflight.de who currently maintain it but I have not gotten a response. I will try again to see if I can find a more accurate way to tell time in X-Plane but its not high on the list right now.

Re: Difference in flight hours between X-Plane and Prepar3D

Posted: Sun Feb 03, 2019 8:55 am
by 280782
Ok, thanks Joe.