rFactor2 - LiveMonitor and Hotlaps Released

Discussion in 'Plugins' started by vyrush, Feb 18, 2012.

  1. vyrush

    vyrush Registered

    Joined:
    Jan 9, 2012
    Messages:
    210
    Likes Received:
    3
    @darthgus - currently its not supported by rFactor1. Although i am going to release a compatible version for rF1 by next week, since we will going back to rF1 until future updates.
    As for the error, i believe your using mysql community edition. I had posted a solution here for the error you are receiving. Let me check back the thread and re post it here again.
     
  2. vyrush

    vyrush Registered

    Joined:
    Jan 9, 2012
    Messages:
    210
    Likes Received:
    3
    in your mysql, try running this command with root:

    Code:
    SET GLOBAL SQL_MODE = ''
     
  3. darthgus

    darthgus Registered

    Joined:
    Nov 12, 2011
    Messages:
    9
    Likes Received:
    0
    Cheers - works perfectly.
     
  4. vyrush

    vyrush Registered

    Joined:
    Jan 9, 2012
    Messages:
    210
    Likes Received:
    3
    ah glad to know that..
     
  5. DerKutscher

    DerKutscher Registered

    Joined:
    Sep 13, 2011
    Messages:
    139
    Likes Received:
    1
    Hello,

    great tool, but I have a problem. I have 3 servers online. 've Done everything as described in the instructions. Is displayed beautifully on the HP. I start to start everything as instructions for Server2 and server3 and problems. On the HP appears on all three viewers server 1. Log files are written but 3 different ones. I do not understand. Do I need maybe 3 databases? But can not really be right? I need help.

    Hallo,

    tolles Tool, Aber ich habe ein problem. Ich habe 3 online Server. Habe alles gemacht wie in der Anleitung beschrieben. Wird auf der HP schön angezeigt. Ich starte alles wie nach Anleitung für Server2 und Server3 und die Probleme beginnen. Auf der HP wird auf allen 3 Viewern Server 1 angezeigt. Logdateien werden aber 3 verschiedene geschrieben. Ich verstehe es nicht. Brauche ich vielleicht 3 Datenbanken? Kann aber eigentlich nicht sein oder? Ich brauche Hilfe.

    Gruß

    DerKutscher
     
  6. Hoschi

    Hoschi Registered

    Joined:
    Nov 18, 2011
    Messages:
    94
    Likes Received:
    0
    Hey Grosser !


    Jop du brauchst drei Datenbanken ! Für jeden Server eine.
     
  7. DerKutscher

    DerKutscher Registered

    Joined:
    Sep 13, 2011
    Messages:
    139
    Likes Received:
    1
    So groß bin ich gar nicht. Danke für die Antwort. Dann habe ich das Problem das ihm Tabellen fehlen, die werden ja nur in die erste Datenbank geschrieben. so jeden Fall wenn jeder eine bekommt bei mir. Wenn ich den 2. starte kommt jedenfalls die Meldung das ihm Tabellen fehlen in der Bank. Nächstes Problem, wenn der Server von Training auf qually springt, verliert sich der kontakt vom Viewer zum Server und sagt no saison.

    Gruß

    DerKutscher
     
  8. DerCarsten

    DerCarsten Registered

    Joined:
    May 22, 2012
    Messages:
    4
    Likes Received:
    0
    If i have 3 databases for 3 servers, is there anything else to change? In the live.php? Copy the code from the first server 2 times for the other servers?
    For one server :
    Code:
    <?php
    $hostname_live = "localhost";
    $database_live = "rfactor2livemonitor";
    $username_live = "rfactor2live";
    $password_live = "blablablabla";
    $live = mysql_pconnect($hostname_live, $username_live, $password_live); 
    ?>
     
    Last edited by a moderator: May 22, 2012
  9. racepat

    racepat Registered

    Joined:
    Apr 25, 2012
    Messages:
    16
    Likes Received:
    0
    yes the line is there...

    We look at the weekend?
     
  10. DerCarsten

    DerCarsten Registered

    Joined:
    May 22, 2012
    Messages:
    4
    Likes Received:
    0
    Is it possible that there are problems to show the LiveMonitor on GoogleChrome? When we refresh with F5 it shows 2-3 seconds the driver, than it says "No driver connected". With IE and FF it works.
     
  11. racepat

    racepat Registered

    Joined:
    Apr 25, 2012
    Messages:
    16
    Likes Received:
    0
    I have a .xml-File at .....rFactor_2\Core\UserData\Log\Results but no LogFile anywhere.

    Is that correct?
     
  12. vyrush

    vyrush Registered

    Joined:
    Jan 9, 2012
    Messages:
    210
    Likes Received:
    3
    Hi guys, sorry wasn't able to reply. Been busy with a few things.
    @DerKustcher - when you want to run, multiple server, did u make sure that while the first server is on, you went to the config file and edit the correct line to server_instance as 2, and then for the 3rd server, while the 2nd is running, you need to change server_instance to 3.

    You do not need, 3 databases at all. Only a single database can accommodate it.

    @DerCarsten - Really? I only use Chrome and it works fine for me without any issues. IE seems troublesome for me.

    @racepat - The log file will generate in c:\LiveMonitorLog, but you need to create C:\LiveMonitorLog folder first
     
  13. DerCarsten

    DerCarsten Registered

    Joined:
    May 22, 2012
    Messages:
    4
    Likes Received:
    0
    Ok, DerKutscher and myself tested it many times.
    1.Edit config.ini to 1 server
    2.Start the first LiveMonitor.exe
    3. Start the server
    4.LiveMonitor found the Logfile
    5.Edit the config.ini to 2 server
    ....
    The server writes in the diretcory C:\LiveMonitorLog 3 files:
    LiveMonitor-LM1.xml
    LiveMonitor-LM2.xml
    LiveMonitor-LM3.xml
    The 3 servers are running with different tracks and cars, the tracks are correct in the LiveMonitor-xxx.xml but on our website it shows an all servers the same, no different tracks/cars
     
  14. vyrush

    vyrush Registered

    Joined:
    Jan 9, 2012
    Messages:
    210
    Likes Received:
    3
  15. DerKutscher

    DerKutscher Registered

    Joined:
    Sep 13, 2011
    Messages:
    139
    Likes Received:
    1
    Yes we have do this!!!
     
  16. vyrush

    vyrush Registered

    Joined:
    Jan 9, 2012
    Messages:
    210
    Likes Received:
    3
    Ok I test it, and did find one bug. But it still works

    This is what I did

    Server 1

    1. LiveMonitor Config file = set server instance as 1
    2. Load LiveMonitor.exe and click Configure LiveMonitor and set the game session to 1 from the Option
    3. Start Dedicated Server
    4. And viewed in Browser, and it worked fine

    Server 2

    1. LiveMonitor config file = set server instance as 2
    2. Load LiveMonitor.exe and click on Configure LiveMonitor and select the session 2 from the Option
    3. Start the 2nd Dedicated Server
    4. It is viewable in the browser.

    Ok and just realized this bug now, the logfile works fine, until one server restarts the weekend. and the messes up the Game Session number.
    For instance, lets say 2 servers running (LM=1 AND LM=2)
    if while LM=2 is running and LM=1 server restarts its weekend, then LM=1 starts generating a logfile as same as LM=2.
    I going to fix this immediately.

    Thanks
     
  17. racepat

    racepat Registered

    Joined:
    Apr 25, 2012
    Messages:
    16
    Likes Received:
    0
    Yes, the LiveMonitorLog-Folder is there.
    Mysql Connect is OK / Autoload is True. > Waiting for Logfile.

    Yesterday, i drive any rounds on this dedicated server. But it is only a .xml-File created in .....rFactor_2\Core\UserData\Log\Results.

    Looks the LiveMonitor on this .....rFactor_2\Core\UserData\Log\Results or on this.....rFactor_2\UserData\Log\Results? :confused:
     
  18. vyrush

    vyrush Registered

    Joined:
    Jan 9, 2012
    Messages:
    210
    Likes Received:
    3
    @racepat - PM your teamviewer details and a suitable date and time to test wats wrong!
     
  19. racepat

    racepat Registered

    Joined:
    Apr 25, 2012
    Messages:
    16
    Likes Received:
    0
    ok, what a version of teamviewer have you?
     
  20. racepat

    racepat Registered

    Joined:
    Apr 25, 2012
    Messages:
    16
    Likes Received:
    0
    have you my pm?
     

Share This Page