Skip to content

Commit

Permalink
Workaround/OpenSky: Removed from network time synch
Browse files Browse the repository at this point in the history
  • Loading branch information
TwinFan committed Feb 17, 2024
1 parent 3baca08 commit 4e2a94a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
2 changes: 2 additions & 0 deletions Src/LTOpenSky.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,12 @@ bool OpenSkyConnection::ProcessFetchedData ()
if (!pObj) { LOG_MSG(logERR,ERR_JSON_MAIN_OBJECT); IncErrCnt(); return false; }

// for determining an offset as compared to network time we need to know network time
/* Temporarily disabled, see https://forums.x-plane.org/index.php?/forums/topic/301833-aircraft-fail-to-display-buffer-times-going-up/
double opSkyTime = jog_n(pObj, OPSKY_TIME);
if (opSkyTime > JAN_FIRST_2019)
// if reasonable add this to our time offset calculation
dataRefs.ChTsOffsetAdd(opSkyTime);
*/

// Cut-off time: We ignore tracking data, which is "in the past" compared to simTime
const double tsCutOff = dataRefs.GetSimTime();
Expand Down
18 changes: 10 additions & 8 deletions docs/readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,30 +147,32 @@ <h3>v3.5.1</h3>
<P>Change log:</P>

<ul>
<li>Hotfix to remove OpenSky Network from network time synchronization, to prevent
<a href="https://forums.x-plane.org/index.php?/forums/topic/301833-aircraft-fail-to-display-buffer-times-going-up/">unreasonable buffering time</a> from happening.
OpenSky Network also causes other network errors and will likely disable itself after some attempts
anyway.
<a href="https://forums.x-plane.org/index.php?/forums/topic/295468-opensky-unavailable/&do=findComment&comment=2633820">See here</a> for discussion and options.
</li>
<li>Not designated a Beta version as v3.5.0 accidently was. No usage time limit.<br>
You want to set <i><a href="https://twinfan.gitbook.io/livetraffic/setup/configuration/settings-advanced#logging">Settings &gt; Advanced &gt; Logging</a> &gt; Log.txt logging level</i>
back to "Warning" to reduce output to <code>Log.txt</code>.
That setting got set to "Debug" while running a Beta version.
</li>
<li>
RealTraffic with historic data:
<li>RealTraffic with historic data:
<ul>
<li>Fixed fetching historic weather, more robust now.</li>
<li>Fixed glitch in Settings UI that could offer outdated
historic timestamp when modifying timestamp again.</li>
</ul>
</li>
<li>
Added command to toggle visibility of aircraft ahead,
<li>Added command to toggle visibility of aircraft ahead,
available as <a href="https://twinfan.gitbook.io/livetraffic/using-lt/menu-items/configuring-commands">joystick button or keyboard assignment</a>
"LiveTraffic/Aircrafts/Toggle_Ahead"
and as new <a href="https://twinfan.gitbook.io/livetraffic/using-lt/menu-items#hide-aicraft-ahead">menu item "Hide aircraft ahead"</a>.
</li>
<li>
OpenSky Master File: Removal of no longer used database files.
<li>OpenSky Master File: Removal of no longer used database files.
</li>
<li>
Additional Help menu entries for
<li>Additional Help menu entries for
<a href="https://forums.x-plane.org/index.php?/forums/forum/457-livetraffic-support/">Support Forum</a> and
<a href="https://forums.x-plane.org/index.php?/forums/topic/174691-support">Support HowTo</a>.
</li>
Expand Down

0 comments on commit 4e2a94a

Please sign in to comment.