TwinFan / LiveTraffic

LiveTraffic is an X-Plane multiplayer plugin, which fills your sky with live air traffic based on public flight tracking data.
https://twinfan.gitbook.io/livetraffic/
Other
99 stars 24 forks source link

LT fails on startup when XP commands are missing #137

Closed TwinFan closed 5 years ago

TwinFan commented 5 years ago

Describe the bug See this forum post

LT failed to startup on XP10.45, which isn‘t latest XP10 version. But the reason is that LT can‘t attach to command for hat_switch, which apparently had been introduced after 10.45 only as current 10.51 has them.

To Reproduce Start LT with XP10.45.

Expected behavior These commands aren‘t mission critical. They are used on control the external view only. Instead of fatally failing a warning would be more suitable.

Technical Info:

Log.txt

LiveTraffic: LiveTraffic 1.15.190428 starting up...
LiveTraffic 1556691733.0 FATAL src\DataRefs.cpp:602/Init: Could not find DataRef/CmdRef: sim/general/hat_switch_left
Failed: F:\X-Plane 10/Resources/plugins/LiveTraffic/64/win.xpl. (The plugin refused to start by returning 0 from XPluginStart.)