Difference in flight hours between X-Plane and Prepar3D

Please report Bugs and Problems here
Post Reply
User avatar
280782
Ticket Agent
Posts: 16
Joined: Fri Dec 09, 2016 10:33 pm
Location: Spain
Contact:

Difference in flight hours between X-Plane and Prepar3D

Post by 280782 » Sat Feb 02, 2019 8:53 pm

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?
Image

User avatar
joefremont
FSAirlines Developer
Posts: 3694
Joined: Tue May 16, 2006 5:46 am
Location: KSFO

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

Post by joefremont » Sun Feb 03, 2019 12:49 am

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.
Image
I've sworn an oath of solitude until the pestilence is purged from the lands.

User avatar
280782
Ticket Agent
Posts: 16
Joined: Fri Dec 09, 2016 10:33 pm
Location: Spain
Contact:

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

Post by 280782 » Sun Feb 03, 2019 8:55 am

Ok, thanks Joe.
Image

Post Reply