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

Hi Nibo, color background in livetiming for different classes everytime is red then blue etc.

I found a way in app.css to have the same different color, for different classes in Championship Manager and Result Viewer, ex:
Green Hypercar
Magenta LMP2
Orange GT3

But livetiming just throw some arbitrary colors for each classes, and no color when there is just one class.
Like this:
<div style="background-color: rgb(228, 24, 24);" class="uk-badge">GT3</div>
<div style="background-color: rgb(1, 43, 96);" class="uk-badge">LMP2</div>

Is there a way to have fixed colors for each class in the LiveTiming page maybe changing something in app.css?
 
I added css class like this ".uk-badge-class-YOUR_CAR_CLASS_NAME" to class badges in Live table.

- Re-download latest archive rF2 Log Analyzer ver. 2.2.001-x64.
- If you already have latest r2la setup, take one file from archive - rF2 Log Analyzer ver. 2.2.001-x64\web2py\applications\r2la\compiled\views.live.index.html.pyc and overwrite old file in your r2la folder, no need to install r2la from scratch.
- Then open app.css and add lines with your class colors like this to overwrite default LiveTiming class badge colors:
.uk-badge-class-ES_P2 {background-color:#9d9d9d !important};

You might need to press CTLR+F5 on r2la page in browser after changing app.css.
 
@Nibo
Sorry something as gone bad after latest LMU update, this is the error

Traceback (most recent call last):
File "F:\LMU rF2 Log Analyzer\web2py\applications\r2la\modules\la_core.py", line 104, in import_logs
info = la_rfparser2.importXML(
^^^^^^^^^^^^^^^^^^^^^^^
File "F:\LMU rF2 Log Analyzer\web2py\applications\r2la\modules\la_rfparser2.py", line 155, in importXML
info['Mod'] = RaceResults.find('Mod').text
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'text'

Log is attached
 

Attachments

yeah, current LMU xml's are missing the [MOD] line, so workaround until Nibo can fix things;
Open the broken xml files in your favourite text editor;
Insert a line after Line 10 (my line 10 is <TimeString>2024/12/10 20:50:36</TimeString>) and add the following text
Code:
<Mod>All Tracks &amp; Cars</Mod>
Save and refresh r2la
 
Thanks for reporting, I did not notice that yet.

Updated to rF2 Log Analyzer ver. 2.2.002-x64
  • Fixed error when LMU log files have no "Mod" tag after LMU update #3.
  • Added pop-up that prompts you for a race number when you press "copy" driver-team assignments when using manual championship teams and classes assignment.
  • Added css class ".uk-badge-class-YOUR_CAR_CLASS_NAME" to class badges in Live Timing table.
 
Is there a delimiter that can be used to allow multiple car classes in "Hosted Competitions".
e.g. Here I have tested|
View attachment upload_2024-12-15_15-48-54.png
I have 2 sets of cars that have a CarClass or either '1970s Group4' or 'HGT' and I would like to merge them together.
I have other classes running on the same server, so I was hoping to group similar car classes together under different competitions.
 
Hello Nibbo
First of all, happy new year to all.
, I have a little problem with the results of my championship: I have a championship with 7 rounds and we have a race commission a few days after each round to analyze the race and put penalties if necessary.
To put the penalties I click on the race, I go to the top right of the results page and I click on "more..." to access "Add Comments and penalty points". then I put penalty and comment and "save changes".all is ok.
But sometimes, like yesterday evening, after assigning the result of the race, penalty points appear by themselves in the result, without any action on my part. Any idea where the problem could come from?
 

Attachments

I guess one possible reason for this can be, that this race already had penalties assigned to that driver names before, maybe champ was cloned from another or this race results were re-assigned? I can not see obvious bugs for this in code (yet?).

I think you can just remove this penalty points - set them to 0 and save.
 
Hi all, it is possible to remove AI time on the "Records" page?
EDIT: in the settings file i have false at the row "show_ai_records": false"
 
Last edited:
There should not be AI records visible if this option is Off. Make sure that on options page (http://127.0.0.1:8000/options/track_records) "Show AI record times" option is Off. This option is also accessible on Track Records page in top right drop-down menu button.

Are you sure that is an AI record you have? Is it marked with yellow "AI" badge?
 
Hello, I have a small question please.

Is it possible to manage driver swaps in a championship?

We are organizing a multiclass championship (LMP2/GT3) with teams of 1 or 2 drivers. According to our tests, if in race 1 driver A starts and driver B finishes, but in race 2 driver B starts and driver A finishes, the points of the two drivers do not accumulate and we have not found an option to make this work.
Any ideas?
 
There is no option for this. But maybe you can use manual points correction and add points for drivers that were driving before finishing race stint. But it will work only for drivers that finished some race in championship (for their name to be in results). If driver is not in results, then look for this solution I wrote for same question some months before - https://forum.studio-397.com/index....mpionship-manager.48117/page-140#post-1145092

Team standings table should work correctly for championships with swaps.
 
Hey @Nibo , went to clean the xml records using the automated process to move the files not associated with championships and it still moved them. Putting them back solves the problem, but is there a fix?
 
You pressed "Remove logs not assigned to championships" and it removed log files assigned to championships (marked with "cup" icon in Results Viewer)? I can not reproduce this, my assigned logs stay. And looking at the code there is no obvious errors visible. ATM, I don't know why that might happen.
 
Back
Top