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

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.
Yeah, I was surprised too. Might have missed the right target when I clicked. It's all been sorted out and functioning as it should now, so I have to assume user error. Thanks for looking, my apologies for the false alarm
 
Hi! We have a hotlaps now in Nordschleife,
and we ha’ve noticed that if you set a time and then left the server before the session changes, the time you set isn't reflected in the results. Is there a way to fix this?
Thank you very much!
 
That's rFactor problem. Nothing I can do. That how it's xml logging works (not works). Maybe use other tools that record lap times in real time through plugins.

I don't remember exactly, but there are different ways for session to end: by itself or by admin/vote forcing next session or admin closing session. I remember somebody saying that in one of this cases times are saved (session ending by itself?). I have no way to check and not even sure if its true...
 
Log1.png
Log.png
Hi Nibo, hope you are fine, I can't interpret these lines in the analyzer log, do you have any idea?
 
Out of track limits on all 3 sectors maybe? When off-track I think rFactor does not record sector time, but I'm not sure. Maybe some other problem.
 
Yes it was out track limits, but I don't understand why the log analyzer still counts the best lap (image 1 = 2.12.821) and why it counts a time at 0.000 for the sectors (image 2).
 
I think in xml sector times are zeroes or absent. And lap time is present. That's why we see that numbers. You can look in log file if that's the case. If lap time is present, r2la counts it in.
 
HI. I'm using your program on 6 dedicated ones. Can you explain to me how to make only one live timing appear. Currently on any of the live shows it also cycles through the other servers. I haven't made any changes, each plugin points to a different log folder
 
Each r2la Live Timing page shows all rFactor processes data that were put in a shared system memory by each of your rFactor's data plugin in real time. This is separate (different) from reading xml files from log directories, which as you said correctly is pointing to different log folders.

I've made a simple filter for server name, you can try it, as I'm "blind" here, rF2 dedicated server refuses to work for me again and I can not check.
You need to do this for every r2la:
1. Stop/close your r2la.
2. Open your rF2 Log Analyzer ver. 2.2.002-x64\web2py\applications\r2la\live_timing_settings.json with text/code editor and add a line "server_name_filter": "your_server_name"
Where your_server_name is the name of your server that you want to see (servers with other names will not be visible).
So that it look like this (note also added comma on line before: "iframe_style": "", ):
Code:
{
    "_comment": "values for img_column1_source and img_column2_source are one of: driver, class, vehicle, vehicle_with_num",
    "read_global_memory": 0,
    "show_ai_fuel_data": 0,
    "show_ai_tire_wear": 0,
    "show_avg_lap_speed": 0,
    "show_class_column": 1,
    "show_mph": 0,
    "show_tire_data": 1,
    "show_vehicle_column": 1,
    "show_ai_column": 1,
    "show_img_column1": 0,
    "img_column1_source": "class",
    "show_img_column2": 0,
    "img_column2_source": "vehicle",
    "show_iframe": 0,
    "iframe_src": "",
    "iframe_style": "",
    "server_name_filter": "your_server_name"
}
3. Download this file - https://www.mediafire.com/file/qrkqofdccddssy9/live_timing_filter.zip/file
Unzip it into rF2 Log Analyzer ver. 2.2.002-x64\web2py\applications\r2la\private folder. Replace the old live_timing.py file with the file in zip archive.
4. Start your r2la with live timing.
If everything is correct, in cmd window of Live Timing at the bottom you should see the line with the server name that you entered in live_timing_settings.json:
server_name_filter your_server_name

Live Timing page now should show only server with that name. Tell me if its working.
 
Hi @Nibo!

Could you please help me to understand why my livetime is not working anymore?

1. I got my rFactor2SharedMemoryMapPlugin64.dll file in Bin64/Plugins folder.
2. I got the entry in CustomPluginVariables.json file:
Code:
  "rFactor2SharedMemoryMapPlugin64.dll":{
    " Enabled":1,
    "DebugISIInternals":0,
    "DebugOutputLevel":0,
    "DebugOutputSource":1,
    "DedicatedServerMapGlobally":1,
    "EnableDirectMemoryAccess":0,
    "EnableHWControlInput":1,
    "EnableRulesControlInput":0,
    "EnableWeatherControlInput":0,
    "UnsubscribedBuffersMask":160
  },
3. I'm launching the app by running r2la_live_timing.bat file in the root folder.

When I'm on the Live page it's just keeps polling the sessions.

Did I forget something?

Cheers
 
Hi @Nibo!

Could you please help me to understand why my livetime is not working anymore?

1. I got my rFactor2SharedMemoryMapPlugin64.dll file in Bin64/Plugins folder.
2. I got the entry in CustomPluginVariables.json file:
Code:
  "rFactor2SharedMemoryMapPlugin64.dll":{
    " Enabled":1,
    "DebugISIInternals":0,
    "DebugOutputLevel":0,
    "DebugOutputSource":1,
    "DedicatedServerMapGlobally":1,
    "EnableDirectMemoryAccess":0,
    "EnableHWControlInput":1,
    "EnableRulesControlInput":0,
    "EnableWeatherControlInput":0,
    "UnsubscribedBuffersMask":160
  },
3. I'm launching the app by running r2la_live_timing.bat file in the root folder.

When I'm on the Live page it's just keeps polling the sessions.

Did I forget something?

Cheers
Oh nevermind. I used DedicatedServerMapGlobally but I didn't have read_global_memory value set to 1. Now it works fine.

Appreciate the hard work! This thing makes other non-GMotor sims looks silly and unuseful.
 
Looks right. Except if you are using "DedicatedServerMapGlobally":1 in CustomPluginVariables.json, then in rF2 Log Analyzer ver. 2.2.002-x64\web2py\applications\r2la\live_timing_settings.json there is also must be read_global_memory set to 1.

Or else try setting both this values in both flies to 0 (zero), that is default setting.

Edit. Yes, seen your reply a bit late.
 
Each r2la Live Timing page shows all rFactor processes data that were put in a shared system memory by each of your rFactor's data plugin in real time. This is separate (different) from reading xml files from log directories, which as you said correctly is pointing to different log folders.

I've made a simple filter for server name, you can try it, as I'm "blind" here, rF2 dedicated server refuses to work for me again and I can not check.
You need to do this for every r2la:
1. Stop/close your r2la.
2. Open your rF2 Log Analyzer ver. 2.2.002-x64\web2py\applications\r2la\live_timing_settings.json with text/code editor and add a line "server_name_filter": "your_server_name"
Where your_server_name is the name of your server that you want to see (servers with other names will not be visible).
So that it look like this (note also added comma on line before: "iframe_style": "", ):
Code:
{
    "_comment": "values for img_column1_source and img_column2_source are one of: driver, class, vehicle, vehicle_with_num",
    "read_global_memory": 0,
    "show_ai_fuel_data": 0,
    "show_ai_tire_wear": 0,
    "show_avg_lap_speed": 0,
    "show_class_column": 1,
    "show_mph": 0,
    "show_tire_data": 1,
    "show_vehicle_column": 1,
    "show_ai_column": 1,
    "show_img_column1": 0,
    "img_column1_source": "class",
    "show_img_column2": 0,
    "img_column2_source": "vehicle",
    "show_iframe": 0,
    "iframe_src": "",
    "iframe_style": "",
    "server_name_filter": "your_server_name"
}
3. Download this file - https://www.mediafire.com/file/qrkqofdccddssy9/live_timing_filter.zip/file
Unzip it into rF2 Log Analyzer ver. 2.2.002-x64\web2py\applications\r2la\private folder. Replace the old live_timing.py file with the file in zip archive.
4. Start your r2la with live timing.
If everything is correct, in cmd window of Live Timing at the bottom you should see the line with the server name that you entered in live_timing_settings.json:
server_name_filter your_server_name

Live Timing page now should show only server with that name. Tell me if its working.

I try with 1 dedicated and work fine.
Now I apply it to the rest of the dedicated ones. Thank you.
 
Its possible to turn off AI driver records if you turned them on (default option is off). On Options page click -> "Track Records" tab -> "Show AI record times (non-DEDI mode only)" option. Or on Track Records page in top right corner press menu button, then toggle "Show AI records".
 
Yes, its only for non-DEDI version. DEDI version should not show AI records. Where are you seeing them and how do they look like?
 
Back
Top