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

Discussion in 'Other' started by Nibo, Apr 15, 2015.

  1. JEmilio

    JEmilio Registered

    Joined:
    Dec 13, 2023
    Messages:
    111
    Likes Received:
    56
    When I run the analyzer with Firefox after clicking in like 10 different logs or so the loading becomes very very slow but in another browser (Vivaldi) it works flawlessly.
     
  2. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,322
    Likes Received:
    1,058
    Probably Chrome-based browsers are better for r2la. I use Vivaldi.
     
  3. Proud Tiger

    Proud Tiger Registered

    Joined:
    Jun 28, 2016
    Messages:
    40
    Likes Received:
    2
  4. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,456
    Likes Received:
    1,000
    mate, when you've finished trolling here why don't you, your hat and your bat just piss off....seriously.....sheesh
     
  5. Paolo Pennimpede

    Paolo Pennimpede Registered

    Joined:
    Nov 8, 2016
    Messages:
    86
    Likes Received:
    14
    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?
     
    Matt21 likes this.
  6. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,322
    Likes Received:
    1,058
    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:
    You might need to press CTLR+F5 on r2la page in browser after changing app.css.
     
    Corti and Paolo Pennimpede like this.
  7. Paolo Pennimpede

    Paolo Pennimpede Registered

    Joined:
    Nov 8, 2016
    Messages:
    86
    Likes Received:
    14
    Done, I already had .uk-badge-class-myclass in app.css. Now I've also added !important to each class and I've overwrited views.live.index.html.pyc.
    I'll check later whene there are some ppl on the server if it works.

    Tnx
     
  8. Paolo Pennimpede

    Paolo Pennimpede Registered

    Joined:
    Nov 8, 2016
    Messages:
    86
    Likes Received:
    14
    @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
     

    Attached Files:

  9. Adolfo Bisi

    Adolfo Bisi Registered

    Joined:
    Dec 29, 2022
    Messages:
    58
    Likes Received:
    68
    I'm having that error too, they changed something in the log formatting
     
  10. Goanna

    Goanna Registered

    Joined:
    Jan 19, 2012
    Messages:
    1,456
    Likes Received:
    1,000
    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
     
  11. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,322
    Likes Received:
    1,058
    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.
     
  12. ChalkyWIS

    ChalkyWIS Registered

    Joined:
    Sep 14, 2016
    Messages:
    33
    Likes Received:
    6
    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.
     
  13. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,322
    Likes Received:
    1,058
    No, this is not possible with delimiters. Maybe if your vehicles had at least the same Category you would be able to collect times for both using Category checkbox and value.
     
    buzz hornet and ChalkyWIS like this.
  14. [LSF] Pierre

    [LSF] Pierre Registered

    Joined:
    Mar 29, 2021
    Messages:
    13
    Likes Received:
    2
    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?
     

    Attached Files:

  15. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,322
    Likes Received:
    1,058
    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.
     
  16. [LSF] Pierre

    [LSF] Pierre Registered

    Joined:
    Mar 29, 2021
    Messages:
    13
    Likes Received:
    2
    Ok thanks a lot, i will do that
     
  17. Giacomo Lapadula

    Giacomo Lapadula Registered

    Joined:
    Jan 26, 2012
    Messages:
    10
    Likes Received:
    0
    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: Jan 29, 2025
  18. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,322
    Likes Received:
    1,058
    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?
     

Share This Page