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

I looked, and I see no specific code that is obviously wrong on my part. I take two values - best overall lap time and player best lap time and subtract to calculate the gap. Both of this values are coming from shared memory rF2 stream. To me it looks like rF2 or data plugin reporting wrong value(s) for some reason for this multiclass config (mod).
 
This works for me as you describe if I turn off "Show Overall Driver Standings" (and "Show Overall Team Standings") and set "Default page" to "Driver standings".
 
Sorry I have not been very clear.
Yes it does you're right, but I meant selecting one Class in particular out of several classes, so that the "prime" category pops up first, and not the lower one.
 
There is no way to set specific Class table as default. Selection dropdown options for default page are hardcoded and would require more work than I can handle to redo this.
 
Last edited:
I've just tried it for LMU and is very good how well the information is sorted.
A couple of questions:
- Do you have the source code in any repo?
- Do you know if there is a quick way to host it via docker, be it an image you know of or if someone else gave it a try?
 
I have just done the driver swap 6 hour in LMU and I get an error yet the qually is ok. Any ideas?

upload_2025-8-3_10-35-12.png
 
Latest LMU version has a bug with BestLapTime tag in xml logs. Maybe that's the reason, maybe not... Send that race and qual log files to me, I will look.
 
Actually that is someone present in Qual log, but not present in Race log and top speed calculations causing error.
I made a fix that I can not test:
Download this file https://www.mediafire.com/file/28ixdwodct30lnt/la_event.py/file
Put it in your rF2 Log Analyzer ver. 2.2.003-x64\web2py\applications\r2la\modules folder, overwrite old file, restart r2la. See if there is still error.

I had a similar problem, initially I thought the fact that I left the server one time, which broke the result file in 2 pieces was the problem, but not, your change fixed the problem, thx.
 
Updated to v.2.2.004
  • Added support for displaying different tire compounds for all 4 tires for LMU.
  • Added "Race Strategy" graph to "Pits" tab in Race Reports. Shows pit stops, tire compounds and swaps through the race.
  • Changed default color coding for GT3 and LMP3 classes to correspond with modern TV and LMU colors.
 
I have a problem, recently I started to run the rf2la.bat in local mode (IPV4) 127.0.0.1 to see my LMU results, and the Records page stopped updating in June/21, even newer results showing correctly in the Results screen.

I reset everything, started a new clean instance of rF2LA, didn't fix the problem.

My results folder zipped...

https://www.mediafire.com/file/udt82rb8wqvwajb/Results.zip/file
 

Attachments

  • Results.png
    Results.png
    82.1 KB · Views: 92
  • Records.png
    Records.png
    105.6 KB · Views: 95
Last edited:
Since LMU v1.0 it has a bug where <BestLapTime> tag in xml logs is always 0 for all drivers. So Records and maybe other stuff are not working for LMU logs in r2la until S397 will fix this. Problem is already reported and known by devs.
 
I notice some weird behavior recently, maybe my fault, I couldn't find an answer in this post...

ver. 2.2.003

I did some online and offline races in the same track (both in rF2 and LMU), all the results are showing correctly on "Results Viewer" screen, but in Records screen, it shows my best lap and best lap of AI drivers but not the best laps of the other online drivers.

Is there something I need to do to show the other RL/online drivers on Records screen?
 
Non-DEDI version of r2la only shows your records and optionally AI records. To see other players records you need to start new r2la instance in DEDI mode.
 
Hi Nibo,
This may end up being a bit of a long post, sorry....I've been playing around with trying to get images to display in the results screen and running into a few anomalies, most of which I think may be rF2 doing rF2 things.
Ok first up part of the xml file looks like this;
r2la-xml.jpg


r2la options page;
r2la-carid-options.jpg

This results in every car having the same pic;
r2la-carid-results.jpg


r2la-inspection-carid.jpg


Selecting either Category or CarClass in options returns a database error
r2la-categoryANDCarClassrtype.jpg


From my testing this is what's happening;
In Options select Car Type => selects Car type from xml.............. This looks OK
In Options select Car ID => selects Car type from xml...................This doesn't look correct (to me)
In Options select Driver Name => selects Driver Name from xml...This looks OK
In Options select Category or Car Class => database error.............Don't know what's happening here.

I've also tried a couple of other mods and the same behaviour applies there.
On the latest version rF2 Log Analyzer ver. 2.2.004
 
Goanna, thanks for reporting. There was an error on Session Report page when selecting CarClass or Category as key words for images. I don't really know how it was unnoticed by me or somebody else for a year... Please write if you spot any other errors with new version 2.2.005.

About CarId key word for images. It will be CarType for most of the cars, this is by design. It is most of the time not unique for every car. But there is "Add car number to image filename" check box just for this purpose. It will add a car number before key word, in your case "016a_Restricted" will become "6_016a_Restricted" for car #6 and so on.

You can also change how CarId is formed on options page http://127.0.0.1:8000/options/cars But I do not recommend it. There is no good other combination of identifiers for this car mod, as far as I can see.

Updated to v2.2.005
  • Fixed an error when selecting images for report tables with CarClass or Category as key words.
 
Back
Top