Jump to content

TopSky plugin 2.3.1 beta 5


Juha Holopainen
 Share

Recommended Posts

Juha Holopainen

Beta 5:

Main changes from beta 4:

  • CPDLC data file syntax updated (available data fields for datalink clearances)
    • Changes are related to providing separate frequency items for the "next frequency", one defaulting to the controller owning the sector the aircraft is in and the other to the controller issuing the clearance. The code should be compatible with the old items as well (for example if "<nfreq>" is found in a definition, it is internally changed to "NEXT FREQ <freq_next>") so a data file created for an earlier plugin version should still work without changes.
  • General housekeeping in the code, possibly fixing a couple of reported issues in beta 4

 

Edited by Juha Holopainen
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
Michael Eyecold (1283788)

Hey Juha,

when we set "Menu_MaxListItems=15", we always get CFL A40 preselected instead of 400, which it should be (XFL). When deleting this setting, it preselects 400 correctly. When changing the value to "=12", it also works fine. Thank you!!

image.png.11bdc292a18d75cdc03aca76477987a9.png

 

Edited by Michael Eyecold
Link to comment
Share on other sites

Juha Holopainen

Turns out there's a bug in the code that selects the initially visible values. With 15 items, there should be 7 values on top of the centered value. When the centered value (400 in this case) is such that there are exactly 6 values in the level list above it, the code mistakenly sets a flag that specifies the desired centered value to be below all items in the list, hence the bottom 15 items in the list will be displayed (A40 then just happens to be at the center of the visible list). The bug will also occur with any other MaxListItems value, but with some other list value depending on the max list items and the values of the items in the list. This should fortunately be an easy fix.

  • Like 1
Link to comment
Share on other sites

  • Juha Holopainen locked and unpinned this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...