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

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

  1. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    Session report pages are cached for 5 minutes, so some changes will not be visible immediately. Close and restart r2la (server) to clear cache. I will check more tomorrow.
     
    Paolo Pennimpede likes this.
  2. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    There was a mix-up with fuel/tire visibility filter values between Race and Practice sessions. Fixed and re-uploaded to the same link, no version change. Please, download latest version again.
    For changes in tire/fuel visibility to work for all client browsers you will need to remove rF2 Log Analyzer ver. 2.058.14\web2py\applications\r2la\sessions folder every time after you change this settings at options page. I didn't find any other way to force client browser to create new session.
     
    Paolo Pennimpede likes this.
  3. Paolo Pennimpede

    Paolo Pennimpede Registered

    Joined:
    Nov 8, 2016
    Messages:
    83
    Likes Received:
    13
    So we need to download and reinstall again ver. 2.058.14?
     
  4. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    Yes.
     
    Paolo Pennimpede likes this.
  5. DoomBoom29

    DoomBoom29 Registered

    Joined:
    Nov 27, 2018
    Messages:
    1
    Likes Received:
    0
    First time trying to run this.
    When I open address http://127.0.0.1:8000/
    in both Chrome and Firefox it says "Internal Error" Ticket Issued: Unknown
    I've allowed access to the folder and all apps in the web2py folder.

    This is the error I get in the CMD

    C:\Program Files\rF2 Log Analyzer ver. 2.058.14>cd web2py

    C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py>web2py_on_gevent.exe
    starting on 127.0.0.1:8000...
    ERROR:web2py:Traceback (most recent call last):
    File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\restricted.py", line 227, in restricted
    exec ccode in environment
    File "D:/web2py_2.14.6/applications/r2la\compiled\models.db.py", line 19, in <module>
    File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\base.py", line 174, in __call__
    obj = super(MetaDAL, cls).__call__(*args, **kwargs)
    File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\base.py", line 473, in __init__
    "Failure to connect, tried %d times:\n%s" % (attempts, tb)
    RuntimeError: Failure to connect, tried 5 times:
    Traceback (most recent call last):
    File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\base.py", line 446, in __init__
    self._adapter = ADAPTERS[self._dbname](**kwargs)
    File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\adapters\base.py", line 60, in __call__
    obj = super(AdapterMeta, cls).__call__(*args, **kwargs)
    File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\adapters\sqlite.py", line 79, in __init__
    if do_connect: self.reconnect()
    File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\connection.py", line 104, in reconnect
    self.connection = f()
    File "C:\Program Files\rF2 Log Analyzer ver. 2.058.14\web2py\gluon\packages\dal\pydal\adapters\sqlite.py", line 77, in connector
    return self.driver.Connection(dbpath, **driver_args)
    OperationalError: unable to open database file
     
  6. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    Looks like something is blocking its access to disk. Make sure your antivirus (or some other system security) is not blocking or not running r2la and web2py in "sandbox" mode.
     
  7. RoWo

    RoWo Member

    Joined:
    Jul 16, 2014
    Messages:
    570
    Likes Received:
    626
    @Nibo Is it possible to integrate Servername into the live timing view?
     
  8. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    No, it is not available to plugins.
     
  9. RoWo

    RoWo Member

    Joined:
    Jul 16, 2014
    Messages:
    570
    Likes Received:
    626
    Just wondering, because the result page shows.
    IMG_20181130_114451.png
     
  10. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    Yes, that's different. r2la reports show data that is taken from xml files and rF2 indeed saves server name in xml along other data after session finished. But LiveTiming is not showing data from xml, it shows live data stream from rF2 plugin API through SharedMemoryPlugin and server name is not exposed to rF2 plugin API.
     
  11. RoWo

    RoWo Member

    Joined:
    Jul 16, 2014
    Messages:
    570
    Likes Received:
    626
    Ah, ok. Thanks.
     
  12. Josh.H

    Josh.H Registered

    Joined:
    Dec 19, 2013
    Messages:
    45
    Likes Received:
    9
  13. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    Then I need this exposed in Shared Memory Plugin also. I'll ask Iron Wolf.
     
    knackko likes this.
  14. knackko

    knackko Registered

    Joined:
    Oct 6, 2010
    Messages:
    142
    Likes Received:
    65
    Hi Nibo,
    Regarding some enhancement on R2LA, there are drivers stats in championship part which give a good overview, but do you think it is possible to have a more driver oriented part (so with a new tab Drivers for example) with some more stats, ratings and links to the results? it can give a carrier mode for the leagues using R2LA.
    One thing about the existing drivers stats is to maybe to have sortable columns
     
  15. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    I will look at adding sorting in Driver Stats table.

    About rating, I think it can be very complex and at the same time not feel right for everyone (also I did not have plans to do anything complex in near future). I think that stats already provide some picture about drivers. You can tell me more precisely what other stats you want to see and I will see if I can add something.
    Also, I think S397 mentioned that their competition system will feature some sort of rating, so I don't want to add doubling functionality.
     
    Emery likes this.
  16. osiris32

    osiris32 Registered

    Joined:
    Feb 6, 2015
    Messages:
    76
    Likes Received:
    4
    Can we get total laps in addition to the completed laps on the Records page?

    chrome_2018-12-02_09-48-47.png
     
  17. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    Yes. But I think I'll leave Laps/Distance/Time on the top of this page as it is. It would be confusing to have also two values for Distance and Time there.
     
  18. softslider

    softslider Registered

    Joined:
    Jan 6, 2016
    Messages:
    79
    Likes Received:
    18
    In the race result file (.xml), is there car's speed information? I mean if it's possible to extract each corner's entrance speed, lowest (apex) speed and exit speed like AC's Corners Performance Analysis.
     
  19. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,263
    Likes Received:
    977
    No car speed in xml. I think for such deep analysis you can use rF2 telemetry plugin and Motec. r2la also has telemetry but it might be too simple for that.
     
  20. Alejandro López Arjona

    Alejandro López Arjona Registered

    Joined:
    Jul 18, 2018
    Messages:
    39
    Likes Received:
    14
    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.
     

Share This Page