Attempt to fix Lap Compare lag. Lap Compare now only grabs data when necessary (e.g. one of the drivers changed or completed a new lap). This should not change the behavior of the Lap Compare control at all.
Hotfix 1.11.7.1
Bugfixes:
Added a new 'Consolation' translation for the sessionname binding which translates any session called "CONSOLATION", in case the consolation race is not called "B-MAIN".
Attempt to improve Lap Compare performance, please test.
Fixed a bug where sessions without a Qualification session would incorrectly parse grid/qualification standings.
Fixed a bug where custom classes were disabled.
Release notes version 1.11.7 beta:
New features:
The 'sessionname' data binding can now be configured to translate session names as desired.
Updated results structure for heat racing:
Each (sub)session should now only receive results for drivers that participate in that session.
Data sets such as standings should only show those drivers now.
The results of each (sub)session will be filled as soon as they become available.
For example, in a heat race, the standings for every heat will become available as soon as the qualification ends. The standings for the consolation heat(s) and feature heat will become available when the last heat race ends.
This should allow you to show a grid of each heat as soon as the info is available.
Initial positions (and class positions) are now set (to the starting positions) as soon as possible so that standings for a grid widget should be more accurate.
Added several data bindings related to heat racing and joker laps:
session dataset:
isheatracing returns true/false whether the session has heat racing enabled.
sessionsubtype returns the sub-type of a heatracing session. Values include Heat, Consolation, Feature and Default in case it is a regular session (warmup, qualification, race).
sessionname returns the name of the session as given by iRacing. In a heat race this is typically HEAT 1, HEAT 2, C-MAIN, B-MAIN, FEATURE, etc.
numjokerlapsrequired returns the number of joker laps each driver must take.
followed and similar datasets (standings, pit, etc):
numjokerlapscompleted returns the number of joker laps already completed.
numjokerlapsrequired returns the number of joker laps that must still be done.
Bug fixes:
Fixed remaining bugs with standings/results missing drivers.
Fixed a bug where the lapcounter "laps to go" could show more laps than available in the session before the start of the race.
Fixed a bug where the lapcounter would show "Final lap" for a moment before the start of the race.
Initial positions (and class positions) are now set (to the starting positions) as soon as possible so that standings for a grid widget should be more accurate.