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

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

  1. FuNK!

    FuNK! Registered

    Joined:
    May 26, 2013
    Messages:
    493
    Likes Received:
    299
    Thank you, that worked ;)
    No, what I was thinking of is a simple filter button on the records page. So you could click that and AI's are just hidden from the list. Click again and they are back in. Or a more advanced filter, similar to the category filter:
    • Show human driver(s) only
    • Show AI driver only
    • Show all drivers
    That's a pitty :p I was just thinking to edit a couple of items, like moving them around and add some features (e.g. a floating "back to top" button).
    Was expecting that. However, really appreciate that detailed answer! Thank you very much! ;)
     
  2. Mauro

    Mauro Registered

    Joined:
    Oct 14, 2011
    Messages:
    1,641
    Likes Received:
    2,369
    just for curiosity

    is it possible with rf2la to know what car upgrades each driver had selected in a race event?
     
  3. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,906
    Likes Received:
    651
    I can do that for next update.

    No, there is no data about upgrades in xml logs.
     
    Last edited: Jan 15, 2020
    FuNK! likes this.
  4. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,906
    Likes Received:
    651
    Until next update you can just download and unzip this one file for AI times toggle button on Track Records page. Unzip into rF2 Log Analyzer ver. 2.058.27\web2py\applications\r2la\compiled folder, as before.
     
    FuNK! likes this.
  5. FuNK!

    FuNK! Registered

    Joined:
    May 26, 2013
    Messages:
    493
    Likes Received:
    299
    Works like a charm! Thank you!
     
  6. FORMULAEFAN71

    FORMULAEFAN71 Registered

    Joined:
    Dec 3, 2019
    Messages:
    34
    Likes Received:
    3
    Didn’t read any above posts to see if they might have the answer because to many of them lol. My log analyzer is not detecting any new sessions. I recently had to uninstall and reinstall rf2 if that matters. the window still opens and i can still acces the championship manager, but my new races that i did, did not show up when i hit "check for new logs"
     
  7. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,906
    Likes Received:
    651
    Maybe new rF2 install is on different path? Check where is your new rF2 folder. Then you can either:
    1. Copy your old log files from old rF2 /Results folder new rF2 /Results folder. Start completely new r2la, enter your current rF2 path in first form.
    - or -
    2. Continue to use old r2la and old logs from old location. But add new D:\Steam\steamapps\common\rFactor 2\UserData\Log\Results path to your Results folder as secondary path on r2la options page.

    1st way is better.
     
    FORMULAEFAN71 likes this.
  8. KristianS80

    KristianS80 Registered

    Joined:
    Feb 5, 2019
    Messages:
    1
    Likes Received:
    0
    How can I delete incorrect "Points System" that I have created?
     
  9. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,906
    Likes Received:
    651
    There is no delete function for user points system. But you can save "over" the same preset entering the same preset name, correcting values what you need to correct. Or just ignore incorrect preset.
     
  10. M700N

    M700N Registered

    Joined:
    Dec 6, 2019
    Messages:
    9
    Likes Received:
    10
  11. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,906
    Likes Received:
    651
    M700N, something changed in your r2la that produces an error. Maybe new bugged log file or some undiscovered bug in r2la. What page exactly you trying to access? Results Viewer? I can not see error tickets remotely (and address http://51.89.155.18:8000 is not answering at all for me). Zip your rF2 Log Analyzer ver. 2.058.27\web2py\applications\r2la\errors folder and send it to me.
     
  12. M700N

    M700N Registered

    Joined:
    Dec 6, 2019
    Messages:
    9
    Likes Received:
    10
    I had it stopped so that would be why you didn't get a reply. I have started it now if you want to try and also see attached for the logs.

    Thanks for your help.
     

    Attached Files:

  13. M700N

    M700N Registered

    Joined:
    Dec 6, 2019
    Messages:
    9
    Likes Received:
    10
    I have just realised that it is the Results and Records pages that don't work.
     
  14. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,906
    Likes Received:
    651
    All latest errors are "database is locked". Some days before that there are "out of memory" and "Not enough space" errors... I don't know exactly why database could be locked. It usually shows this error when there are a lot of requests (>100) to the page at the same time. But it does not look like its the case here. Also you say you restarted r2la, and that should have released DB if some process was locking it... Hard to say. Maybe there is not enough space on your hard drive? Maybe there are some irregular very long log files in your log folder (open that folder sort by size and tell me if there are some very big files, more than 20Mb). You can try unzipping new version of r2la somewhere, start it from scratch and see if it will work.
     
  15. M700N

    M700N Registered

    Joined:
    Dec 6, 2019
    Messages:
    9
    Likes Received:
    10
    I have resolved it. I think it was because I have too many result files in the Results folder (over 10,000). I removed 9,500 and it now seems to be working again. Thanks for your help
     
  16. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,906
    Likes Received:
    651
    Oh, yes that can be the case. Even listing so much logs in Results Viewer could have locked DB and even browser could run out of memory or lock-up. I recommend keeping logs number no more than 800-1000.
     
  17. Jimmy

    Jimmy Registered

    Joined:
    Jan 13, 2012
    Messages:
    79
    Likes Received:
    56
    Can you add some little special function?

    Can we create/change Class Colors in future in Multiclass racing? Because, now we have Blue / Red / Green like IMSA - if i use LMP1 and GTE i want Red for LMP1 and Green for GTE...
     
  18. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,906
    Likes Received:
    651
    That is already possible for some time (I think I forgot to add it to changelog then). Change colors for these classes in rF2 Log Analyzer ver. 2.058.27\web2py\applications\r2la\static\css\app.css
    Code:
    .uk-badge-class0 {background-color:#9d9d9d}
    .uk-badge-class1 {background-color: #e41818}
    .uk-badge-class2 {background-color: #012b60}
    .uk-badge-class3 {background-color: #009635}
    .uk-badge-class4 {background-color: #f28f00}
    You may need to press CTRL+F5 in browser to see changes.
     
    buzz hornet likes this.
  19. Jimmy

    Jimmy Registered

    Joined:
    Jan 13, 2012
    Messages:
    79
    Likes Received:
    56
    Thanks, but this is for all seasons... So, if i use red colors for all CLASS 0, i have all first class red... i want set green for GT3, red for LMP1, Blue for LMP2.... i dont know if you can this add..
     
  20. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,906
    Likes Received:
    651
    Jimmy, try this:

    Updated to 2.058.28
    • Fixed Track Records refresh on car identifier change.
    • Added "Hide/Show AI times" button to "Track Records" pages (works when "Show AI record times" option is On).
    • Added unique (per championship) css classes for car class badges on championship race results page. You can change class badge color by adding values at the end of app.css file. It should look like this: .uk-badge-class0-championship_name {background-color: #your_color}. Where "championship_name" is the name of the championship for which you need to change class badge color, replace "spaces" in championship name with "_" (underscore) symbols. You can change class badge colors for all championships by changing values for classes .uk-badge-class0 (0 to 4) in app.css file.
     
    yashiman and buzz hornet like this.

Share This Page