iRacing Extra Prope...
 
Notifications
Clear all

iRacing Extra Properties: Interval/GapToLeaderString Weird Data

2 Posts
2 Users
0 Reactions
1,160 Views
(@matthewlipski)
New Member
Joined: 10 months ago
Posts: 1
Topic starter  

Hi, I've been using Romainrob's iRacing Extra Properties plugin ( https://www.simhubdash.com/community-2/dashboard-templates/romainrobs-collection/), and it's been great. However, I noticed some weird behaviour when using these 2 properties:

IRacingExtraProperties.iRacing_ClassLeaderboard_Driver_XX_GapToLeaderString
IRacingExtraProperties.iRacing_ClassLeaderboard_Driver_XX_Interval

Basically, it seems the data is incorrect when the reference car (leading car for GapToLeaderString, car in front for Interval) crosses the start/finish line.  Let's say we have the following scenario:

- 3 cars in a race, same class
- The car in 3rd has been lapped by 1st place, but not 2nd place
- The cars in 1st and 2nd are on the same lap

When the car in 1st place crosses the finish line, I notice the following behaviour:

- GapToLeaderString for car in 2nd goes blank
- Interval for car in 2nd is calculated in reference to the car in 3rd, not the car in 1st

In this case, you can also assume the positions aren't changing, so replace XX with 02 to get the values for the car in 2nd place.

I'm not sure if there's a bug somewhere or if I'm misunderstanding what these 2 properties calculate, but any advice would be appreciated. Thanks!

If this is a bug I can also make a new GitHub issue for it:)

This topic was modified 10 months ago by matthewlipski

   
Quote
(@solar)
New Member
Joined: 10 months ago
Posts: 2
 

Thank you for sharing your expertise in this well-written article. <a href=" removed link " target="_blank" rel="noopener">Solar


   
ReplyQuote
Share: