Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sector Times Broken #1631

Closed
FullPace opened this issue Jun 18, 2024 · 4 comments
Closed

Sector Times Broken #1631

FullPace opened this issue Jun 18, 2024 · 4 comments
Labels

Comments

@FullPace
Copy link

Hi,
I was trying to implement sector times overlay when I realized they are kinda broken.

Instead of being 0:00.000 they become null every lap which makes it hard to write the formulas.
(btw why can't null be always 0 so we can save all these extra isnull condittions?^^)

A bigger issue is "Last Sector Time" is only updating after sector 1.
It stays the same for the rest of the lap although the secor times change.

Here's a screenshot showing sector index = 3 but last sector time is still sector 1 time.
image

Thanks in advance
Have a good one

@SHWotever
Copy link
Owner

SHWotever commented Jun 18, 2024

Hello !

Can you specify the game ?

About null it was a design choice, isnull allows to set a replacement value instead of having to test for 0 in case of non fed value

@FullPace
Copy link
Author

i tested with replays of AMS 2 and i think it was ACC or Iracing.

@SHWotever
Copy link
Owner

Hi ! I've added a new property (since changing the actual one behaviour which has always been showing sectors times for the current lap would be too risky.

image

@FullPace
Copy link
Author

Sorry to reopen this but it's still broken.
LastSectorTimeAnyLap is not updating reliably when SectorIndex is changing.
I can't find a pattern. Sometimes it's updating, very often not.
Tested with ACC, AMS2 and iRacing (replay)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants