Skip to content

Commit

Permalink
Update/XPMP2: Multicast across interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
TwinFan committed Jan 20, 2024
1 parent 8f61296 commit e6e3554
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Lib/XPMP2
Submodule XPMP2 updated 139 files
2 changes: 1 addition & 1 deletion Src/LTOpenSky.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ bool OpenSkyAcMasterdata::ProcessRouteInfo (JSON_Object* pJRoute)

// Constructor
OpenSkyAcMasterFile::OpenSkyAcMasterFile () :
LTACMasterdataChannel(DR_CHANNEL_OPEN_SKY_AC_MASTERFILE, OPSKY_MD_NAME)
LTACMasterdataChannel(DR_CHANNEL_OPEN_SKY_AC_MASTERFILE, OPSKY_MD_DB_NAME)
{
// purely informational
urlName = OPSKY_MD_CHECK_NAME;
Expand Down
2 changes: 1 addition & 1 deletion Src/LTRealTraffic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ void RealTrafficConnection::SetRequType (const positionTy& _pos)
const time_t simNow = time_t(dataRefs.GetXPSimTime_ms() / 1000LL);
const time_t now = time(nullptr);
// offset between older 'simNow' and current 'now' in minutes, minus buffering period
curr.tOff = (now - simNow - dataRefs.GetFdBufPeriod()) / 60L;
curr.tOff = long(now - simNow - dataRefs.GetFdBufPeriod()) / 60L;
// must be positive
if (curr.tOff < 0) curr.tOff = 0;
}
Expand Down
15 changes: 14 additions & 1 deletion docs/readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ <h3>v3.5.0</h3>
<li><code>lin|mac|win_x64/LiveTraffic.xpl</code></li>
<li><code>Resources/Doc8643.txt</code></li>
<li><code>Resources/related.txt</code></li>
<li><code>Resources/relOp.txt</code> (new file, optional)</li>
</ul>

<P>Change log:</P>
Expand All @@ -164,7 +165,7 @@ <h3>v3.5.0</h3>
provide good plane type information already.
</li>
<li>
Added new OpenSky Master Data channel for lookup of plane type information,
Added new OpenSky Master Data File channel for lookup of plane type information,
which bases on monthly download of a "database" file rather than
individual network requests per plane.
Should work even if OpenSky API is down.
Expand All @@ -187,6 +188,17 @@ <h3>v3.5.0</h3>
</li>
</ul>
</li>
<li>
Added <a href="https://github.com/TwinFan/XPMP2/issues/64">XPMP2 issue #64</a>
airline mapping in new file <code>relOp.txt</code>,
which allows to use same liveries for subsidaries of mother airline companies,
like using EIN (Aer Lingus Ireland) liveries for EUK (Aer Lingus UK) flights.
</li>
<li>
Fixed <a href="https://github.com/TwinFan/XPMP2/issues/65">XPMP2 issue #65</a>
using all network interfaces for <a href="https://twinfan.gitbook.io/livetraffic/setup/installation/xpmp2-remote-client">remote functionality</a>.
If you use it, also update the <a href="https://forums.x-plane.org/index.php?/files/file/67797-xpmp2-remote-client/">Remote Client</a>.
</li>
<li>
Fixed too many channel switches, especially when ADSBHub was involved
in addition to other channels.
Expand All @@ -195,6 +207,7 @@ <h3>v3.5.0</h3>
Fixed <a href="https://github.com/TwinFan/LiveTraffic/issues/261">#261</a>
hiding of static objects.
</li>
<li>Reduced floating ground aircraft with ADS-B Exchange.</li>
</ul>

<h3>v3.4.3</h3>
Expand Down

0 comments on commit e6e3554

Please sign in to comment.