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

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

  1. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,004
    Likes Received:
    1,058
    [​IMG]
    How the race results appear. Flag icon is already there and country is set already. Unless I am missing something.

    [​IMG]
    How they appear on driver standings.
     
  2. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,251
    Likes Received:
    965
    Yeah, that's different flags:

    - flags in session results report header are a track property. They are assigned to track names from internal database on first start of r2la for most of official and popular tracks. For tracks that are not in my database and have no flags (like the Buenos Aires in your screenshot), you can assign a flag to that track on "Records" page, select "Buenos Aires" then click on a flag with question icon on the right part of the screen (to the left of track name in header), select country from drop down list.

    - flags in driver standings table are a championship race property, you can set/change them selecting championship race and pressing "Edit race" button. They are inherited from track flags by default.
     
  3. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,004
    Likes Received:
    1,058
    I don't have any other tracks appearing in "records" apart from Interlagos but I have many results including Silverstone and others.
     
  4. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,251
    Likes Received:
    965
    If you use non-DEDI version, you have to set at least one lap time on track to have a record. Maybe you set times with some other name? Then r2la will not pick them up. Your in-game name is picked up from player.json by r2la on first start, if you provided correct path to rFactor2 directory. If you have Interlagos in records with some record laptime visible, then the name that you used in Interlagos should be used on every track for r2la to pick up track records.
     
  5. Woodee

    Woodee Registered

    Joined:
    Oct 4, 2010
    Messages:
    4,004
    Likes Received:
    1,058
    Thanks.
     
  6. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,251
    Likes Received:
    965
    Updated to 2.058.43:
    Code:
    $.ajax({
        url: 'http://your-r2la-address:port/dedi_comps/get_comp_jsonp',
        type: 'GET',
        dataType: 'jsonp',
        crossDomain: true,
        data: {'cid': '1'},
        success: function (data, textStatus, xhr) {
            console.log(data);
        },
        error: function (xhr, textStatus, errorThrown) {
            console.log(errorThrown);
        }
    });
     
    buzz hornet, Mauro, Badboy and 2 others like this.
  7. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,251
    Likes Received:
    965
    Added missing 'driver_name' field to json data in latest call. Everybody who is using it should re-download latest archive from the same link.
     
  8. Felipe Granado

    Felipe Granado Registered

    Joined:
    Aug 29, 2013
    Messages:
    48
    Likes Received:
    8
    Hi @Nibo , it's me again! haha

    I have a question but not found searching in this thread: Can I use R2LA on 2 different PCs, one of them in DEDI mode?

    Thanks in advance!
     
    Last edited: Oct 19, 2021
  9. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,251
    Likes Received:
    965
    Probably I don't understand a question as you phrased it... Of course two r2la's can run on two different PCs.
     
    Last edited: Oct 19, 2021
  10. Alek

    Alek Registered

    Joined:
    Oct 6, 2010
    Messages:
    156
    Likes Received:
    8
    Hi Nibo, is it possible to start LA without user presence, with previous settings, for example after a blackout restart? Thanks!
     
  11. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,251
    Likes Received:
    965
    You can create bat file in r2la directory and make it to start with windows after reboot.
    bat file should look like this:
    Code:
    cd web2py
    start web2py.exe -a 'your password' -i 127.0.0.1 -p 8000
    If you host publicly, IP should be your public IP (or 0.0.0.0 if public IP will not work for some reason).

    I don't remember right now how to make bat file to start with windows, you can google it.
     
  12. Alek

    Alek Registered

    Joined:
    Oct 6, 2010
    Messages:
    156
    Likes Received:
    8
    Thanks a lot Nibo. But if I would launch the live_timing bat type?
     
    Last edited: Nov 5, 2021
  13. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,251
    Likes Received:
    965
    Make same changes to last line in r2la_live_timing.bat
    Code:
    cd web2py
    start web2py.exe -S r2la -M -R applications/r2la/private/live_timing.pyc
    start web2py.exe -a 'your password' -i 127.0.0.1 -p 8000
     
  14. Alek

    Alek Registered

    Joined:
    Oct 6, 2010
    Messages:
    156
    Likes Received:
    8
    Thanks, I'll try it.
    A questions: is it too difficoult to expand a driver name line in live time window, to see the all current session laps?
     
  15. Alek

    Alek Registered

    Joined:
    Oct 6, 2010
    Messages:
    156
    Likes Received:
    8
    So the result is this... I copied the lines above in bat file.
     

    Attached Files:

  16. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,251
    Likes Received:
    965
    Pretty difficult. Not possible right now.

    Something else is already running on that port. Maybe another instance of r2la? Turn off other program or change port number from 8000 to something else (8080, 5000...)
     
  17. Alek

    Alek Registered

    Joined:
    Oct 6, 2010
    Messages:
    156
    Likes Received:
    8
    there's no other app on the port, indeed the original bat file launch LA regulary
     
  18. Andy Bonar

    Andy Bonar Registered

    Joined:
    Mar 17, 2011
    Messages:
    639
    Likes Received:
    93
    Been using this for a while in rfactor 2, is it compatible with AMS 2?
     
  19. Nibo

    Nibo Registered

    Joined:
    Oct 12, 2010
    Messages:
    2,251
    Likes Received:
    965
    AMS1 logs were basically just rF1 logs. But I don't know about AMS2, I don't have it.
     
  20. GertjanD

    GertjanD Registered

    Joined:
    Aug 19, 2020
    Messages:
    178
    Likes Received:
    78
    These video's are not longer available, how do i get the same AI drivers each race and have them consistent?
     

Share This Page