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

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

  1. Alejandro López Arjona

    Alejandro López Arjona Registered

    Joined:
    Jul 18, 2018
    Messages:
    32
    Likes Received:
    10
    This program doesn't read these type of characters: ñ, ç
    They are correctly showed in-game and also in the logs files, but they are ignored in Log Analyzer.
     
  2. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,892
    Likes Received:
    645
    If you are using r2la in DEDI mode there will be no stints. Or, if you not using DEDI mode, then r2la did not find your name and that why you have no stints. With what sim are you using r2la?
    1. For rF2, r2la finds your user name automatically when you enter path in first field ("Path to your rFactor2 directory or to directory with rF1 logs") when you first start r2la.
    2. If you use r2la with rF1 or Automobilista you have to enter you name in first start form, in field called "If you use r2la with rFactor1 or Automobilista enter your ingame name here".
    Make sure you not checking "DEDI mode" button in start form for stints to work.

    They can not be completely wrong. Just in a case when r2la does not know your name or you didn't set lap time in session, then r2la shows car Category for 1st driver in session.

    Game server is responsible for creating log files. Not sure why this specific problem might happen (server hangs?)

    I don't think you have to exit before server restarts. This is some server bug or specifics, I don't think I can help with that.

    Yes, non standard symbols in xml are not supported by r2la and will be ignored. That's a technical issue with encodings. I recommend for users and moders to not use non Latin symbols in their names or mod names.
     
    Audere est facere likes this.
  3. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,892
    Likes Received:
    645
    Update 2.058.15
    • Live Timing now shows server name in server selection buttons (for rF2 only).
    • Added started laps number to "Laps" column on Records page.
    • Sortable column headers are now marked with blue color on mouse hoover instead of arrow symbols.
    • Added sorting to "Driver stats", "All time stats" and "Car stats" tables.
     
    Dumedo, Badboy, RoWo and 2 others like this.
  4. RoWo

    RoWo Registered

    Joined:
    Jul 16, 2014
    Messages:
    312
    Likes Received:
    364
    Thanks, awesome job! :)
     
  5. Audere est facere

    Audere est facere Registered

    Joined:
    Mar 26, 2018
    Messages:
    56
    Likes Received:
    93
    Thx ! I Mixed up rf1 and rf2 with the path.
     
  6. Petr Kolář

    Petr Kolář Registered

    Joined:
    Dec 11, 2018
    Messages:
    2
    Likes Received:
    0
    It's great.
    I have a question, How to set the log analyzer in live timing mode for autostart after reboot windows server? If I run r2la_live_timing.bat, I have to choose Server IP , Port, Password and press Start server. How to run it without manual intervention?
    Thank you.
     
  7. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,892
    Likes Received:
    645
    Create a bat file in rF2 Log Analyzer ver. 2.058.15 directory with following lines:
    Code:
    start web2py.exe -S r2la -M -R applications/r2la/private/live_timing.py
    start web2py.exe -a 'your password' -i 127.0.0.1 -p 8000
    Substitute "your password" with your password, 127.0.0.1 with your server IP, 8000 with your port value (if you want to change port).
     
    Petr Kolář likes this.
  8. Petr Kolář

    Petr Kolář Registered

    Joined:
    Dec 11, 2018
    Messages:
    2
    Likes Received:
    0
    Thank you very much, Nibo
     
  9. Marc Christopher Harris

    Marc Christopher Harris Registered

    Joined:
    Feb 24, 2015
    Messages:
    68
    Likes Received:
    29
    Hi Nibo.

    Love the tool so much.

    Quick question. I have a driver who in round one had a dot in their name

    Driver.Name but then for the other rounds has no dot. Driver Name

    I have changed his name in the race result and qualifying log, but now I have two rows in the standings, but with the same name.

    How do I combine the two?

    Thanks!
     
  10. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,892
    Likes Received:
    645
    There should not be two rows if names are identical. Make sure there is no hidden trailing "white space" in one of the names or any other differences in names.
     
  11. TIG_green

    TIG_green Registered

    Joined:
    Jul 21, 2012
    Messages:
    3,037
    Likes Received:
    42
    Hi Nibo, my fellow admin in our league pointed out that the standings table never uses the dnf-color (purple) for some reason. Drivers that retire are assigned either green or grey color depending on the points system. Would be more informative if purple for dnfs would be used. Sure you could go and check the results but I like that you can get such info by one glance. Thank you for you consideration.
     
  12. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,892
    Likes Received:
    645
    Its a matter of choice I made. If driver received points and DNF at the same time, then color will be green, since I prioritize points indication over DNF indication. If driver has DNF and no points, it is shown with purple background, this is working. I see no possibility for grey background and DNF in code, can you provide more info (possibly log files) on that?

    I will think on changing green to purple for drivers that received points and DNF at the same time.
     
  13. TIG_green

    TIG_green Registered

    Joined:
    Jul 21, 2012
    Messages:
    3,037
    Likes Received:
    42
    I sent you email ;)
     
  14. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,892
    Likes Received:
    645
    Added small fix without changing version number (same download link):
    • Cell background for DNF in championship tables now is always purple, no matter if driver received points or not.
    If you already using v2.058.15 and need this fix you can just substitute 1 file without setting up new r2la instance:
    1. Re-download rF2 Log Analyzer ver. 2.058.15.zip
    2. Take file rF2 Log Analyzer ver. 2.058.15\web2py\applications\r2la\modules\la_championship.pyc from archive and substitute same file in your r2la with it.
    3. Restart r2la.
     
    Dumedo and Mauro like this.
  15. ennimann

    ennimann Registered

    Joined:
    Dec 28, 2011
    Messages:
    71
    Likes Received:
    2
    Hi,
    sorry, it don't work for me. The analyser himself is running without problems, but the card "live" shows
    "No live sessions found"
    Polling......

    Here ist mei BAT:
    Code:
    cd web2py
    start web2py.exe -S r2la -M -R applications/r2la/private/live_timing.pyc
    start web2py.exe -a 'mypassword' -i 127.0.0.1 -p 10508
    
    Thanks for help.
     
  16. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,892
    Likes Received:
    645
    And if you run r2la_live_timing.bat it works? Is there an error message written in your web2py/r2la_live_timing.log file after you start Live Timing with your new bat (that does not work)? Does Live Timing bat window stay open (what does it say if its open) or closes by itself?
     
  17. M Lynn

    M Lynn Registered

    Joined:
    Aug 2, 2017
    Messages:
    45
    Likes Received:
    11
    Hi, and sorry if this question has already been asked before. I have quite a large database of logs going back about 18 months, and in that time I've changed my driver name a few times. Is there any way to combine those different names so that all my stints, lap records and PBs etc show as one driver? I totally understand if it isn't possible, I was just wondering if there was a way to do it or if it could be easily implemented.

    Thanks.
     
  18. ADSTA

    ADSTA Registered

    Joined:
    Nov 19, 2011
    Messages:
    1,995
    Likes Received:
    1,340
    start web2py.exe -S r2la -M -R applications/r2la/private/live_timing.pyc
    Would that c, at the end of line above, be the problem? The example Nibo used had no c.
    Just an observation.
     
  19. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,892
    Likes Received:
    645
    M Lynn, no way to do this in r2la. You can manually (with text editors) replace your old name with new one in old xmls. Or you can use automatic replace tool for multiple files, like this - https://www.thewindowsclub.com/find-replace-text-multiple-files-bulk-windows-pc Maybe make a backup copy of all logs before doing this.

    ADSTA, that's actually my mistake when I was answering. I copied lines from my file and it is working with non-compiled version, so I use .py. But for distributed (compiled) version of r2la it should be .pyc. So ennimann lines are correct.
     
  20. M Lynn

    M Lynn Registered

    Joined:
    Aug 2, 2017
    Messages:
    45
    Likes Received:
    11
    Ah, yeah I was thinking of doing a batch edit like that as a last resort, I do keep a backup of my logs too. Thanks for that link as well, it's helpful. Cheers. :cool:
     

Share This Page