[REL] rFactor2 Log Analyzer ver. 2. With offline and league Championship Manager

If you talking about setting default browser in windows, open Chrome and find in its settings an option to set it as default browser.
 
If you talking about setting default browser in windows, open Chrome and find in its settings an option to set it as default browser.
No I am talking about the browser for rF2 Log Analyzer. When starting the program for the first time it asks which browser you want to use and I selected IE by mistake. I can't find any config or ini file which might allow me to change it and even deleting and installing Log Analyzer again, it still automatically opens IE when starting the server.
 
No. r2la does no such thing. When you press "Start server" in on r2la startup it opens default windows browser. Like any app with clickable links in it would do (book readers, chats, messengers). It was a windows or windows browser (IE, Edge) dialog that asked you what browser you want to use. All 3rd party browsers have an option to make them default windows browser and frequently ask themselves to make them default when you open them. In Vivaldi if I open settings, the first option I see "make Vivaldi default browser". Most probably Chrome has this option too. You need to try to open Chrome and make it default windows browser.
 
No. r2la does no such thing. When you press "Start server" in on r2la startup it opens default windows browser. Like any app with clickable links in it would do (book readers, chats, messengers). It was a windows or windows browser (IE, Edge) dialog that asked you what browser you want to use. All 3rd party browsers have an option to make them default windows browser and frequently ask themselves to make them default when you open them. In Vivaldi if I open settings, the first option I see "make Vivaldi default browser". Most probably Chrome has this option too. You need to try to open Chrome and make it default windows browser.
Ah my mistake in assuming the selection prompt was driven by rF2LA. Thanks very much Nibo :)
 
Updated to rF2 Log Analyzer ver. 2.1.030-x64
  • LMU log files after patch #3 include lap top speed and virtual energy values. Added top speed data to multiple tables in reports. Added virtual energy to Stints tables. Only Hypercars have virtual energy data.
  • Improved Championship Create/Edit page layout. Added image hints for some options.
  • Stints fuel sum value now always includes fuel used during out lap (by adding average fuel used per lap).
  • Multiple other minor fixes.
 
Nibo, new issue. When searching for records at a track, even when parsing for a given year, it seems that rf2la is not picking up 2024 results. We have a hypercar car type and car class, but neither of them will return results for drivers that drove that type of car in 2024 if they drove it in an earlier year - no matter what year is selected.

thanks for your help!
 
I started new r2la DEDI instance with your log files and I can not see anything wrong so far. I can see Track Records for Hypercars latest sessions in Spa, Imola and Long Beach which correspond to driver times in reports for that sessions. Can you try starting new r2la DEDI instance from scratch and see if it will work? Or provide more examples for what session files, drivers and lap times you do not have Track Records picked up. Maybe send me PM if you do not want driver names mentioned here.
 
The difficulty is that for a track, such as Spa, it will only show the 2024 record for a Hypercar driver, if there is one, but won't show the 2023 or 2022 record, even if it is faster. Neither will it show the 2023 or 2022 record for that driver if those particular years are selected. I'll DM you a name as an example
 
Last edited:
You can do this yourself. Just add that css code to your rF2 Log Analyzer ver. 2.1.030-x64\web2py\applications\r2la\static\css\app.css file. At the top there is already code for html tag, you can add filter: invert(100%) hue-rotate(180deg); there. But it inverts some colors on flags, etc. Not perfect, but usable. I can not do full functioning dark mode.
 
You can do this yourself. Just add that css code to your rF2 Log Analyzer ver. 2.1.030-x64\web2py\applications\r2la\static\css\app.css file. At the top there is already code for html tag, you can add filter: invert(100%) hue-rotate(180deg); there. But it inverts some colors on flags, etc. Not perfect, but usable. I can not do full functioning dark mode.

Ok, I found the solution, just need to invert for the images again...


html {
filter: invert(100%) hue-rotate(180deg);
font:400 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
-webkit-text-size-adjust:100%;
-ms-text-size-adjust:100%;
background:#fff;
color:#444
}
img{
filter: invert(1) hue-rotate(180deg);
}


Not perfect but good enough !!
 
I'm participating in a champ in CMS league, and we noticed what seems to be a bug with decimal digits. I offered myself to contact you @Nibo in the name of @Storm Gang Simulation .

Some race results driver points have decimal digits, like 0.65, none of them with more than 2 digits:

upload-2024-5-6-0-42-38.png


For some weird reason only one driver in the standings with decimal points is enough to cause problems, rf2la is carrying a weird "0.000000000000001" in the calculation, resulting in this situation where both PTS / GAP / NEXT columns have these long decimals:

upload-2024-5-6-0-53-31.png


I don't know exactly but I'm supposing the problem is starting when calculating GAP / NEXT values, probably you're using a numeric floating type with 16 digits to calculate and not doing a formatting to less digits at the end.

If you need more info, I believe @Storm Gang Simulation @Matthew Overton can send the address and password of the CMS rf2la in a private message for you.
 

Attachments

Last edited:
Yes, I did not notice that, because I did not use floats for points system.

Updated to rF2 Log Analyzer ver. 2.1.031-x64
  • Fixed formatting for points sum in championship tables if floating point numbers used in points system.

Only one file changed from v2.1.030 - rF2 Log Analyzer ver. 2.1.031-x64\web2py\applications\r2la\modules\la_championship.py
You can overwrite it without updating whole r2la.
 
Hi Nibo, thanks for the help with the floating decimal.

I'm now having issues with changing class colours in a multi-class championship. Adding lines with the new colours works for one championship, but it won't change for any others that I'm trying to change (and yes, I spell in 'color' in the app.css!)

VWSC 2024 works just fine, but nothing for the VWSC_1964 - the lines I am using within the .css file are below:


.uk-badge-class0 {background-color:#9d9d9d}
.uk-badge-class1 {background-color: #e21e19}
.uk-badge-class2 {background-color: #005096}
.uk-badge-class3 {background-color: #f08c00}
.uk-badge-class4 {background-color: #009635}

.uk-badge-class3-VWSC_2024 {background-color: #009635}
.uk-badge-class4-VWSC_2024 {background-color: #f08c00}

.uk-badge-class3-VWSC_1964 {background-color: #009635}
.uk-badge-class4-VWSC_1964 {background-color: #f08c00}
 
Yes, I did not notice that, because I did not use floats for points system.

Updated to rF2 Log Analyzer ver. 2.1.031-x64
  • Fixed formatting for points sum in championship tables if floating point numbers used in points system.

Only one file changed from v2.1.030 - rF2 Log Analyzer ver. 2.1.031-x64\web2py\applications\r2la\modules\la_championship.py
You can overwrite it without updating whole r2la.

Fixed for Driving Standings, but still happening for Team Standings. @Matthew Overton
 
Matthew Overton, on VWSC_1964 championship race results page in browser press "CTRL+SHIFT+I" to bring up developer tools panel. Then click "Select element to inspect" and click on a car class badge. It will show you which attributes it has and you will see if your css class name in app.css is the same as the badge css class on page. I think there is a mismatch there.

ebeninca, is it happening in event columns or in "sum" columns? A screenshot of this would help me.
 
Last edited:
Back
Top