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

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

  1. Matthew Overton

    Matthew Overton Registered

    Joined:
    May 6, 2017
    Messages:
    50
    Likes Received:
    18
    Hey @Nibo , went to clean the xml records using the automated process to move the files not associated with championships and it still moved them. Putting them back solves the problem, but is there a fix?
     
  2. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,341
    Likes Received:
    1,069
    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.
     
  3. Matthew Overton

    Matthew Overton Registered

    Joined:
    May 6, 2017
    Messages:
    50
    Likes Received:
    18
    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
     
  4. Enric Miro Barba

    Enric Miro Barba Registered

    Joined:
    Mar 12, 2021
    Messages:
    29
    Likes Received:
    9
    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!
     
  5. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,341
    Likes Received:
    1,069
    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...
     
  6. Enric Miro Barba

    Enric Miro Barba Registered

    Joined:
    Mar 12, 2021
    Messages:
    29
    Likes Received:
    9
    Okkk, thanks Nibo
     
  7. [LSF] Pierre

    [LSF] Pierre Registered

    Joined:
    Mar 29, 2021
    Messages:
    16
    Likes Received:
    2
    [​IMG] [​IMG] Hi Nibo, hope you are fine, I can't interpret these lines in the analyzer log, do you have any idea?
     
  8. Nibo

    Nibo Registered

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

    [LSF] Pierre Registered

    Joined:
    Mar 29, 2021
    Messages:
    16
    Likes Received:
    2
    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).
     
  10. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,341
    Likes Received:
    1,069
    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.
     
    [LSF] Pierre likes this.
  11. [LSF] Pierre

    [LSF] Pierre Registered

    Joined:
    Mar 29, 2021
    Messages:
    16
    Likes Received:
    2
    Thanx.
     
  12. Hidron

    Hidron Registered

    Joined:
    Oct 5, 2010
    Messages:
    81
    Likes Received:
    8
    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
     
  13. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,341
    Likes Received:
    1,069
    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.
     
    Hidron likes this.
  14. Nick9320

    Nick9320 Registered

    Joined:
    Feb 8, 2012
    Messages:
    540
    Likes Received:
    3,234
    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
     
  15. Nick9320

    Nick9320 Registered

    Joined:
    Feb 8, 2012
    Messages:
    540
    Likes Received:
    3,234
    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.
     
  16. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,341
    Likes Received:
    1,069
    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.
     
    Nick9320 likes this.
  17. Hidron

    Hidron Registered

    Joined:
    Oct 5, 2010
    Messages:
    81
    Likes Received:
    8
    I try with 1 dedicated and work fine.
    Now I apply it to the rest of the dedicated ones. Thank you.
     
  18. Soundless

    Soundless Registered

    Joined:
    Sep 18, 2024
    Messages:
    28
    Likes Received:
    3
    Is it possible to excluded AI drivers from being listed on the Records page?
     
  19. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,341
    Likes Received:
    1,069
    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".
     
  20. Soundless

    Soundless Registered

    Joined:
    Sep 18, 2024
    Messages:
    28
    Likes Received:
    3
    View attachment upload_2025-4-9_13-45-24.png

    It looks like I don't have those options. I'm on version 2.2.001, but I'm in dedi mode as I run this on a dedi server for a league. Are both of the options only available in non-dedi?
     

Share This Page