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

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

  1. ennimann

    ennimann Registered

    Joined:
    Dec 28, 2011
    Messages:
    66
    Likes Received:
    2
    Thanks for answering.
    There are 2 DOS Boxes:
    Code:
    web2py Web Framework
    Created by Massimo Di Pierro, Copyright 2007-2018
    Version 2.14.6-stable+timestamp.2016.05.10.00.21.47
    Database drivers available: psycopg2, pymysql, imaplib, MySQLdb, sqlite3, pyodbc
    
    please visit:
            http://127.0.0.1:10508/
    use "taskkill /f /pid 8784" to shutdown the web2py server
    
    and
    Code:
    web2py Web Framework
    Created by Massimo Di Pierro, Copyright 2007-2018
    Version 2.14.6-stable+timestamp.2016.05.10.00.21.47
    Database drivers available: psycopg2, pymysql, imaplib, MySQLdb, sqlite3, pyodbc
    
    LiveTiming process started...
    Reading local memory...
    
    No files in LOG folder.
    On ore Server are running a lot of rF2 dedicated Servers.
    Maybe is that the Problem?
    Thanks
     
  2. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,515
    Likes Received:
    462
    This looks ok, no errors, processes are running. There should be web2py/r2la_live_timing.log file, its not in log folder. But I see that there should not be any errors.
    Tell me, if you start Live Timing by default shortcut (r2la_live_timing.bat), is it working? Did it ever work before?

    Make sure you put rFactor2SharedMemoryMapPlugin64.dll in correct folder and tuned it on in rF2: check that your rFactor 2\UserData\player\CustomPluginVariables.JSON file has this lines:
    Code:
     "rFactor2SharedMemoryMapPlugin64.dll":{
        " Enabled":1,
        "DebugISIInternals":0,
        "DebugOutputLevel":2,
        "DedicatedServerMapGlobally":0,
        "EnableStockCarRulesPlugin":0
      }
    You could try starting bat files from windows admin account.

    As last resort, you also can try to run Live Timing in global Memory:
    1. Turn off r2la and rF2 server.
    2. Set "DedicatedServerMapGlobally" value to 1 in rFactor 2\UserData\player\CustomPluginVariables.JSON file.
    3. Set "read_global_memory" value to 1 in rF2 Log Analyzer ver. 2.058.15\web2py\applications\r2la\live_timing_settings.json file.
    4. Restart r2la and rF2
    Set both back to 0 if it will not work.
     
  3. ennimann

    ennimann Registered

    Joined:
    Dec 28, 2011
    Messages:
    66
    Likes Received:
    2
    WOW, it works, thank you so much.
    The problem was, if i edited the CustomPluginVariables.JSON file, if the dedi is running, after restart the dedi, the plugin was
    " Enabled":0, automatically.

    ok and now the next one please.
    We've running multiple rF2 dedicated servers.
    Can we use more than one web2py installations with using live timing?
    Thanks again
     
  4. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,515
    Likes Received:
    462
    I don't think I tried that, you can try running multiple r2la instances (unzip then to different folders) on different ports.

    But one r2la LiveTimiing already should show you all servers that are running. If you need to show log files from other servers in one r2la, then go to r2la Options page and add paths to that server Results directories with log files.

    Both variants can have performance problems in Results Viewer if there will be several servers and >800 log files for each one.
     
  5. ennimann

    ennimann Registered

    Joined:
    Dec 28, 2011
    Messages:
    66
    Likes Received:
    2
    Thanks a lot.
    Last one please.
    With the live_timing.bat, i can see the page local, but not public, the firewall is ok. If i start the web2py.exe with public option then it's ok.
    Is there a switch false in the bat file?
    Sorry, i can't find more informations.
    Thanks
     
  6. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,515
    Likes Received:
    462
    Put you public IP in bat file instead of 127.0.0.1. You can see public IP when you start web2py.exe in selection list near word "Public (........)"
     
    ennimann likes this.
  7. _KrustY_

    _KrustY_ Registered

    Joined:
    Mar 27, 2012
    Messages:
    34
    Likes Received:
    3
    Hi
    When you close the dedicated, the CustomPluginVariables.JSON file is rewritten with the settings when the dedicated has been opened.
    If you want to make changes to the CustomPluginVariables.JSON file, always make it with the dedicated closed.

    Ciaoo
     
    ennimann likes this.
  8. Anto870

    Anto870 Registered

    Joined:
    Sep 8, 2014
    Messages:
    62
    Likes Received:
    3
    Hi everyone, I have a problem with this AMS log, with simresults working fine but with the Nibo program showing me busted, what could be the problem? I had recently made another race with AMS but the log was displaying it correctly so I do not know what to think ... Thanks to anyone who will help me.
    P.S .: the Nibo and AMS program versions were the same both times.
    https://drive.google.com/open?id=1oGScau0puRtGKEaBvReLR484q_PifvL0
     
  9. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,515
    Likes Received:
    462
    There are multiple session reports in this one file: Practice, Qual, Race. r2la only supports 1 session report per file. But it shows race result for me fine from your log. What it shows for you? Any errors? You can force AMS to make 1 session per file reports, set this value in your .plr (Automobilista\UserData\YourName\YourName.plr) file to 0:
    Code:
    Multi-session Results="0" // whether to store all sessions at a track in a single results file, new default is one session per file
     
  10. Anto870

    Anto870 Registered

    Joined:
    Sep 8, 2014
    Messages:
    62
    Likes Received:
    3
    Ok, thanks. But i don't know why with the same log in simresults i view all fine and in your program not, mistery ... :)
     
  11. TIG_green

    TIG_green Registered

    Joined:
    Jul 21, 2012
    Messages:
    3,037
    Likes Received:
    41
    Hi Nibo, Happy new year!

    Our new series has kicked of with a great success with a big field. Your tool is a really great help to me :)

    My fellow admin asked me to forward a suggestion to you, if you don't mind. As this is a championship management tool, would it be possible to add a way to insert penalty points, or even time penalties, that would then show in the standings table? (as manual corrections show now)

    Also, what do you think, if there would also be a short comment field to why the manual points correction was made, so it would be more informative?
     
    Badboy likes this.
  12. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,515
    Likes Received:
    462
    Time penalties are already implemented for editable (cloned) reports. Press "Clone to edit" then "Edit" cloned file and press "Penalty" for some driver, then enter time in seconds. Time penalty badges are only visible in race report standings tables, not championship standings tables.

    Maybe I will add comments for manual points and penalty points (like F1 driver penalty points) form to expand race result manual override. I see its possible, but can take some time.
     
    Badboy likes this.
  13. TIG_green

    TIG_green Registered

    Joined:
    Jul 21, 2012
    Messages:
    3,037
    Likes Received:
    41
    Thanks Nibo, your efforts to improve even further are appriciated :)
     
  14. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,515
    Likes Received:
    462
    Updated to v2.058.16
    • Added ability to assign penalty points to drivers per race (like F1 driver penalty points for causing incidents) and add comments for manual override reason. Press "More..." button in race report table "Manual" column header to add/remove penalty points and comments.
      Penalty points are visible in driver standings table (lower right corner in a cell). Comments are visible in pop-up when you click on driver points cell.
    MaxthonSnap20190112145411.jpg
     
  15. knackko

    knackko Registered

    Joined:
    Oct 6, 2010
    Messages:
    91
    Likes Received:
    25
    Thank you for the last updates.
    R2LA Live timing is now the main livetiming at ODS league. Juste one thing about it, how to create a direct url link to the livetiming of one server?
     
  16. ledel

    ledel Registered

    Joined:
    Jan 14, 2019
    Messages:
    1
    Likes Received:
    0
    I want to translate all content to Chinese.
    But I found many words on the web pages can't be translated. eg. Live, Pos, fasted lap...

    Any suggestion?
    Thanks.
     
  17. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,515
    Likes Received:
    462
    knackko, its not possible because of the way all this memory reading thing is setup, plus my choices when making LiveTiming UI. There is no stable position for server, because launching and closing other servers can change whole order. IF I will make a link for one, it can become obsolete.

    ledel, I can not provide internationalization wrapper for every table header and other words, because there is so many of them (I will literally need to put wrapper on every one and I'm afraid that will affect speed of page rendering). I see that I didn't include some words from top menu, I'll add them to default.py ("Live", "Options", "About", "Help).
     
  18. DaVeX

    DaVeX Registered

    Joined:
    Feb 7, 2015
    Messages:
    489
    Likes Received:
    463
    Hi Nibo,
    We have just started running our AMSUnofficial Championship Seasons (now in Season 5) in two time zones. It would be very helpful if we could create a championship and then clone it as we just mirror the two time zones. One race in EU and one race in US. Separate championships but identical other than the championship name.

    You can see them here:
    http://results.amsunofficial.net/championships

    The most recent "S5" championships are the ones that mirror.

    Thank you for your help!
     
  19. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,515
    Likes Received:
    462
    I think its possible to do for next update.
     
    DaVeX likes this.
  20. Nibo

    Nibo Member

    Joined:
    Oct 12, 2010
    Messages:
    1,515
    Likes Received:
    462
    Updated to 2.058.17
    • Added all new words from top menu to internationalization. Read "Help" -> "Internationalization" for details.
    • Added possibility to clone championships. Press "Clone" button for some championship in the list on "Championships" page. You will have 2 options: "Clone with race results assignments preserved" and "Clone without results assignment". Cloned championship will have "cloned" added to its name, you can change name later with "Edit championship".
     
    Badboy, tagada83, Mauro and 1 other person like this.

Share This Page