Official GranTracker Thread

GranTracker v1.5.3 has just been released.

Get it here: https://www.grantracker.com/downloads.html

Major Bug Fix​

  • Fixed a bug that could cause the Add/Edit Races dialog to reset some of the fields if you changed the timestamp field.

Minor Bug Fix​

  • Fixed a bug where some of the columns in the Races table might not show the colored values properly.

I would still like the ability to add races without a screenshot. There are times when I forget to grab the capture and I then have to fake it, so entering results with no DR change would be useful.
Coming, I promise. Unless, of course, it turns out to open a can of worms, which happens sometimes. But I don't anticipate any trouble (famous last words).
 
Coming, I promise. Unless, of course, it turns out to open a can of worms, which happens sometimes. But I don't anticipate any trouble (famous last words).
I started this giving an apple business model example, and you finish with the microsoft one.
I'm confused now

😉
 
zjn
never mind. I was just trying a joke about microsoft release updates full of worms. Apologize about the misunderstading, just disregard my post
Ah, that makes sense! And yes, I suppose that does fit for me. :cool:

I know you said you were joking, and I don't doubt you, but just so you know, I hate releasing buggy code like this. It's not in my nature at all. But sometimes **** happens, no matter how much we wish it didn't.

But I can take a joke, so no worries! :cheers:
 
I hate releasing buggy code like this. It's not in my nature at all.
Oh, I know for sure, the care and attention you have put and are putting into this application testifies to that. This is one of the aspects that makes me appreciate the result even more.
:cheers:
 
zjn
Oh, I know for sure, the care and attention you have put and are putting into this application testifies to that. This is one of the aspects that makes me appreciate the result even more.
:cheers:
Ah, now you're gonna make me blush! But I'll still hold it against you that you compared me to Microsoft! :lol::lol::lol:
 
You can now view races by “Race Number” instead of by Date/Time. This is useful if you don’t race all that often, or you miss some weeks. Here’s an example:

I didn’t race the week of 2023-23. The chart normally looks like this, with a big gap the week I didn’t race:

v1.5.0-02.png

If you select the option “Show Race Numbers” in the Options dialog, the chart looks like this:

v1.5.0-03.png

Each race is assigned a sequential number, and they are evenly spaced in the chart.
Love this feature. I tend to only race in sport 1-2 days a week but I'll do a bunch of races that night so this is perfect to un-bunch things. I was manually putting in fake time stamps to just space things out before heh.
 
Love this feature. I tend to only race in sport 1-2 days a week but I'll do a bunch of races that night so this is perfect to un-bunch things. I was manually putting in fake time stamps to just space things out before heh.
Awesome - thanks for the feedback!
 
I tried the app for the first time and when importing a screenshot I get this error: DR Letter "CE" is out of range. I'm DR:C SR:S. So I went to one of the time trials and captured some random ones and all the DR's work fine except for DR:C they get the same error. I tested 2 random C ones

I can see in the log folder it does capture the images correctly, I see the files drletter.png, pctbar.png,srletter.png and they look correct.
Here is a snippet of the debug log
2023-08-24 11:52:06.886 rend info parseResult:
{
"timestamp": "2023/08/24 11:52",
"newRaceInfo": {
"drLetter": "CE",
"drPct": "35.00",
"srLetter": "S"
}

Let me know if you need more info
 
I tried the app for the first time and when importing a screenshot I get this error: DR Letter "CE" is out of range. I'm DR:C SR:S. So I went to one of the time trials and captured some random ones and all the DR's work fine except for DR:C they get the same error. I tested 2 random C ones

I can see in the log folder it does capture the images correctly, I see the files drletter.png, pctbar.png,srletter.png and they look correct.
Here is a snippet of the debug log
2023-08-24 11:52:06.886 rend info parseResult:
{
"timestamp": "2023/08/24 11:52",
"newRaceInfo": {
"drLetter": "CE",
"drPct": "35.00",
"srLetter": "S"
}

Let me know if you need more info
Wow, you did a lot of good detective work! I appreciate that very much.

The first thing to try is to go to the Options dialog, and in the "Other Options" section on the right, turn off "OCR: Invert Letter Colors", and see if that makes a difference.

If that doesn't help, zip a screenshot file and attach it to a post here (or send me a private message with the zip file), and I'll take a look at it. You could also email it to me if you want to - if so, send me a private message and I'll give you my email address, or you can go to the website and click on "Contact Me" in the upper right.
 
I got the same error, attached is the screenshot zip file, this is just one of the random ones I tested with.

I did encounter a scenario with invert letter colors off where I didn't get an error the dialog returned but the DR was blank, If I selected OK I get the error "DR Letter "" is out of range, so It didn't like it blank obviously so I tried that again and manually selected the DR in the drop down and it worked and allowed the entry to be saved. However I could not reproduce this, every other test I did I got the original error: DR Letter "CE" is out of range.

The way I was testing the same file was deleting the data folder and starting fresh again.
 

Attachments

  • screenshot.zip
    212 KB · Views: 12
I got the same error, attached is the screenshot zip file, this is just one of the random ones I tested with.

I did encounter a scenario with invert letter colors off where I didn't get an error the dialog returned but the DR was blank, If I selected OK I get the error "DR Letter "" is out of range, so It didn't like it blank obviously so I tried that again and manually selected the DR in the drop down and it worked and allowed the entry to be saved. However I could not reproduce this, every other test I did I got the original error: DR Letter "CE" is out of range.

The way I was testing the same file was deleting the data folder and starting fresh again.
Perfect - I can reproduce the error, and I already have some code that fixes it. However I'll need to get someone with an A+ rating to give me a screenshot, so I can make sure that still works.

I could compile up a patched version for you if you want, which you can use until I push out a public fix. It's not much work on my part. If you want it, just let me know what platform you're on (Mac or Windows). I'll be in and out this morning, so it'll probably be after noon before I get around to it. Let me know.
 
Perfect - I can reproduce the error, and I already have some code that fixes it. However I'll need to get someone with an A+ rating to give me a screenshot, so I can make sure that still works.

I could compile up a patched version for you if you want, which you can use until I push out a public fix. It's not much work on my part. If you want it, just let me know what platform you're on (Mac or Windows). I'll be in and out this morning, so it'll probably be after noon before I get around to it. Let me know.
Nice that was quick. I've attached my test screenshots that includes all the DR letters including A+

I don't mind waiting for public release.
 

Attachments

  • test_screenshots.zip
    1.3 MB · Views: 13
Thanks! How do you have screenshots with all the letters?
You can select any random player from any leaderboard and view their profile. Then select their user page and you get the page that you capture. Then you just need to search out a random list to get one player in each DR.
 
You can select any random player from any leaderboard and view their profile. Then select their user page and you get the page that you capture. Then you just need to search out a random list to get one player in each DR.
Thanks - I just learned that earlier today, on the other thread. Amazing that I didn't know that.
 

GranTracker v1.5.4 has just been released.

Get it here: https://www.grantracker.com/downloads.html

Major Bug Fix​

  • I’m not sure why nobody reported this before, but importing a profile screenshot for DR C caused an error. This is now fixed, and there’s a couple of new options in the Options screen to support the fix, although it’s unlikely you’ll ever need to change them.

Quality of Life Improvement​

  • GranTracker should save and restore its position better than before. Including remembering Maximized and Full Screen.

@GTRedman - This should fix your problem.
 

GranTracker v1.5.4 has just been released.

Get it here: https://www.grantracker.com/downloads.html

Major Bug Fix​

  • I’m not sure why nobody reported this before, but importing a profile screenshot for DR C caused an error. This is now fixed, and there’s a couple of new options in the Options screen to support the fix, although it’s unlikely you’ll ever need to change them.

Quality of Life Improvement​

  • GranTracker should save and restore its position better than before. Including remembering Maximized and Full Screen.

@GTRedman - This should fix your problem.
Thank you good sir for the quick fix and I can verify it works for me now, and thanks for the great app it really is amazing and much appreciated.
 
Thank you good sir for the quick fix and I can verify it works for me now, and thanks for the great app it really is amazing and much appreciated.
Thanks, and you're quite welcome. And thanks for helping me find out about getting other people's profile screenshots. That would have been really helpful a long time ago, but it's still quite useful now.

Just curious: You did such a great job debugging the problem, do you have a background in programming or IT?
 
Thanks, and you're quite welcome. And thanks for helping me find out about getting other people's profile screenshots. That would have been really helpful a long time ago, but it's still quite useful now.

Just curious: You did such a great job debugging the problem, do you have a background in programming or IT?
Yeah no problem regarding the screenshots, if you ever need a hand with testing just give us a shout, and yeah DBA for 20 years now semi-retired, haven't done any IT work for years though.
 
eah no problem regarding the screenshots, if you ever need a hand with testing just give us a shout, and yeah DBA for 20 years now semi-retired, haven't done any IT work for years though.
Thanks! And you having been a DBA makes total sense. You gotta know how to track down the cause of problems in that job, for sure. I was never a DBA, but "some of my best friends were". :cheers:
 
GrumpyOldMan got a first row view of what happens when someone starts a race with their wheel disconnected 😤

I was P1 and you were P2, right when the race lined up for the rolling start my wheel disconnected (turned out my hub was coming loose) and I got kicked out of the race. Thanks to GranTracker I know that was a whopping 7% drop in DR, ouch! A race win only gave me 4%...
 
GrumpyOldMan got a first row view of what happens when someone starts a race with their wheel disconnected 😤

I was P1 and you were P2, right when the race lined up for the rolling start my wheel disconnected (turned out my hub was coming loose) and I got kicked out of the race. Thanks to GranTracker I know that was a whopping 7% drop in DR, ouch! A race win only gave me 4%...
That was you? I wondered what happened. Thanks for that by the way, because you caused a massive traffic jam which gave me a 4 second lead through most of the race. First win at Spa this week, and it's all thanks to you! 😂
 
I only did a single race on my GB account and I loaded that up this evening. I started 3rd and finished 3rd and it shows a 3% DR drop.
Screenshot 2023-08-27 at 9.37.42 PM.png


I know I saw this on my US account as well and you saw it but if PD did not do anything, might your OCR reading of the screen capture have changed anything from the release yesterday?

All else considered, this seems like a possible reason for the sudden change in rating? I actually believe there is a bug here. Above it calculates my DR at 6%. Below I zoomed to the pixel level my rating that was imported for that race.
Screenshot 2023-08-27 at 9.45.02 PM.png

In this you can see there are 15 pixels lit and 85 pixels dark. A 100 pixels in total so that is a rating of 15%.

Based on that, my last race was a 6% improvement which makes more sense for a 3rd pace as a low DR B against higher rated players. Please take a look at the OCR on the import process. I think there is an issue here and we will need to reimport our images.

For now I will manually correct mine my counting pixels...

EDIT. I am now 100% convinced it's a bug. All changes occurred after installing the 1.5.4 release on my US tracking as well.

EDIT2. I recalculated all my DR since the update using Pixelmater Pro on the image to zoom in and then have the tool count the pixels. In each case, GranTracker is currently under reporting DR by 9 pixels (or 9%). This is my corrected DR and you can see that there are no weird drops now for the week.


Screenshot 2023-08-27 at 10.55.44 PM.png

EDIT 3. I also discovered that history has been under counting pixels by 1 so historical DR is 1% higher as well in actuality. The graph above was updated to reflect that.
 
Last edited:
Yes, you are correct. This bug was introduced in the last version. Dammit. I'll put out a fix today.

However, you should be able to bypass the bug by going to the Options screen, and turning off "Auto-Crop DR/SR Letters".

Here's the bug, to help you decide what to do with your current data. Unfortunately, if your DR is very low, or very high (not sure of the amount yet), you may not be able to fix it.

EDIT: I think the following may be more confusing than helpful. So feel free to ignore it.

I think you know this, but if you go to the Logs folder (which you can get to from the Help menu), it contains (among other things) "pctbar.png", which is the last progress bar I extracted.

Assuming an screen image size of 3840x2160 (values are scaled automatically for different resolutions), pctbar.png is supposed to have an 8 pixel margin on the left and right. In other words, the actual progress bar should start at position 9, and end at 109. I added the margin so when I opened the image manually to double-check things, I could make sure I wasn't cropping it too small.

In the last release, I added the auto-crop letters option. Unfortunately, I auto-cropped the progress bar also, which basically means I removed the margins.

So when I scan the image, I start 9 pixels too far into the image, and the right side is truncated by, um, 9 or 18 pixels, depending on how you look at it.

Honestly, my brain can't wrap around figuring out how much things are off.
 
Back