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

Hi Nibo !
How can I set a max width and height for the custom images ?
The pictures I use are too large, and right now I have to resize them one by one. I thought it might be possible to add something in the app.css file ?
Thanks !
 
Use browser developer tools to inspect your image element(s) and look for its css classes. Then add css for that classes in app.css file.
For example, all user images added to tables have "table_img" css class. To set width for all of them add this line to app.css:
.table_img {width: 20px;}
 
Hi, I wanted to ask if there's a way to view only my records on the various tracks. At least in an older version I installed, I only saw my records, but now I've installed the latest version and maybe I've done something wrong, but I can see all the drivers who have raced on that circuit.
 
Most probably, when you first started r2la, you selected "DEDI mode" checkbox and setup r2la for league use. You need to unzip new instance of r2la and not select "DEDI mode" in first form when you start it.
 
Most probably, when you first started r2la, you selected "DEDI mode" checkbox and setup r2la for league use. You need to unzip new instance of r2la and not select "DEDI mode" in first form when you start it.
Ho provato a una nuova istanza ma mi da questo errore
1778798867061.png
 
Most probably you are entering not correct path for rF2/LMU root directory. r2la checks in real time after you enter that path in first form and shows you if it found logs.
 
Most probably you are entering not correct path for rF2/LMU root directory. r2la checks in real time after you enter that path in first form and shows you if it found logs.
1778975862955.png
La directory sembrerebbe corretta anche perche mi dice di aver trovato 1584 logs
 
Sorry, I thought about Results Viewer page first. If Records page shows that message, it means that r2la can not find records in xml files for your player name that it found in LMU config files on first start. You can see that name in first form when you enter your LMU path. Here that area is on a screenshot with green arrow. Start new instance of r2la, enter your LMU path and check that name, you should have xml logs with your driver with exactly that name (check for trailing spaces if you changed or re-entered you in-game name).
r2la_start.jpg
 
Sorry, I thought about Results Viewer page first. If Records page shows that message, it means that r2la can not find records in xml files for your player name that it found in LMU config files on first start. You can see that name in first form when you enter your LMU path. Here that area is on a screenshot with green arrow. Start new instance of r2la, enter your LMU path and check that name, you should have xml logs with your driver with exactly that name (check for trailing spaces if you changed or re-entered you in-game name).
View attachment 57307
ok grazie per il consiglio, adesso risolto e funziona perfettamente.
 
Hi Nibo,

Is it possible to include applied race penalties in the r2la JSONP report output?

At the moment /report/get_report_jsonp?file_name=<xml> exposes most of the useful race-result data, such as positions, gaps, lap counts, fastest laps, qualifying times, and DNF/DNS via time/ret.

However, penalties that are visible in the normal r2la report table do not appear to be included in the JSONP payload. For example, the rendered report can show a driver with a +10s penalty badge, but the corresponding table_raceResults row in JSONP does not seem to include a penalty field.

Would it be possible to add something like this to each affected table_raceResults row?

Code:
{
  "penalty": "+10s",
  "penalty_seconds": 10
}

Or, if multiple penalties can apply:

Code:
"penalties": [
  {
    "label": "+10s",
    "seconds": 10,
    "reason": ""
  }
]

The reason I’m asking is that the JSONP endpoint is much easier and safer to consume externally than parsing the rendered HTML report. If there’s already another JSON/JSONP endpoint that exposes penalty data, please let me know.

Thanks.
 
Hi Nibo, is it possible to use the same RL2A installation for championships on both RF2 and LMU? Do I copy the LMU *.Xml files into the RF2 directory (D:\SteamLibrary\steamapps\common\rFactor 2\UserData\Log\Results) or do I need to create a second directory in the "Log Directories" options (the LMU game is not installed on our RF2 server)?
 
If both rF2 and LMU are on the same machine, then both variants should work. But I'm not sure about adding second dir in options if it is not on the same machine. Then maybe copy xml files into rF2 dir.
 
@Nibo - is there a way to stop ai from recording laps in the Records section?
We have them running to lay rubber on the track but they always keep appearing in our Records section.

Thanks

1781554972854.png
 
AI cars should have <isPlayer>0</isPlayer> in thier <Driver> block in xml result. Human drivers should have <isPlayer>1</isPlayer> in thier <Driver> block. That's how rF/LMU marks them.
r2la will not (should not) show Records for drivers with <isPlayer>0</isPlayer> in DEDI mode. Maybe in your xml AI drivers are marked with <isPlayer>1</isPlayer> for some reason. You can set it to 0 manually in text editor and refresh r2la.
 
Back
Top