Skip to content

Commit 4e2a94a

Browse files
committed
Workaround/OpenSky: Removed from network time synch
1 parent 3baca08 commit 4e2a94a

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

Src/LTOpenSky.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,12 @@ bool OpenSkyConnection::ProcessFetchedData ()
240240
if (!pObj) { LOG_MSG(logERR,ERR_JSON_MAIN_OBJECT); IncErrCnt(); return false; }
241241

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

248250
// Cut-off time: We ignore tracking data, which is "in the past" compared to simTime
249251
const double tsCutOff = dataRefs.GetSimTime();

docs/readme.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,30 +147,32 @@ <h3>v3.5.1</h3>
147147
<P>Change log:</P>
148148

149149
<ul>
150+
<li>Hotfix to remove OpenSky Network from network time synchronization, to prevent
151+
<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.
152+
OpenSky Network also causes other network errors and will likely disable itself after some attempts
153+
anyway.
154+
<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.
155+
</li>
150156
<li>Not designated a Beta version as v3.5.0 accidently was. No usage time limit.<br>
151157
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>
152158
back to "Warning" to reduce output to <code>Log.txt</code>.
153159
That setting got set to "Debug" while running a Beta version.
154160
</li>
155-
<li>
156-
RealTraffic with historic data:
161+
<li>RealTraffic with historic data:
157162
<ul>
158163
<li>Fixed fetching historic weather, more robust now.</li>
159164
<li>Fixed glitch in Settings UI that could offer outdated
160165
historic timestamp when modifying timestamp again.</li>
161166
</ul>
162167
</li>
163-
<li>
164-
Added command to toggle visibility of aircraft ahead,
168+
<li>Added command to toggle visibility of aircraft ahead,
165169
available as <a href="https://twinfan.gitbook.io/livetraffic/using-lt/menu-items/configuring-commands">joystick button or keyboard assignment</a>
166170
"LiveTraffic/Aircrafts/Toggle_Ahead"
167171
and as new <a href="https://twinfan.gitbook.io/livetraffic/using-lt/menu-items#hide-aicraft-ahead">menu item "Hide aircraft ahead"</a>.
168172
</li>
169-
<li>
170-
OpenSky Master File: Removal of no longer used database files.
173+
<li>OpenSky Master File: Removal of no longer used database files.
171174
</li>
172-
<li>
173-
Additional Help menu entries for
175+
<li>Additional Help menu entries for
174176
<a href="https://forums.x-plane.org/index.php?/forums/forum/457-livetraffic-support/">Support Forum</a> and
175177
<a href="https://forums.x-plane.org/index.php?/forums/topic/174691-support">Support HowTo</a>.
176178
</li>

0 commit comments

Comments
 (0)