[WIP] Live Timing, Session Results, Track Rendering & League Management [Discontinued]

Discussion in 'Other' started by B1K3R, Apr 16, 2013.

  1. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    No problem mate :)

    It seems that the lead/prev gap is not working on that server as it's using German language and they use "," for decimal.

    Testing is never enough :)
     
  2. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Issue fixed :) I have also updated the Server List component to show more details and ordered by most drivers on server. Can be seen here http://broadcast.simracers4life.com/DashBoard.aspx

    View attachment 8139

    [​IMG]
     
  3. mauserrifle

    mauserrifle Registered

    Joined:
    Feb 26, 2013
    Messages:
    382
    Likes Received:
    3
    Wow love the realtime map :D Very cool project to follow live races. Keep up the good work!
     
  4. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Cheers mate, your tool is pretty cool too :)
     
  5. D34N0

    D34N0 Registered

    Joined:
    Oct 5, 2010
    Messages:
    22
    Likes Received:
    0
    Hi B1K3R,

    Thanks first off for all your hard work on this tool.

    I've just set it up here on my Rf2 Server but I'm getting an unhandled exception when starting the listener.

    [​IMG]

    I've removed all the log files from the Results folder except for one to make sure it wasn't old logs causing the issue.

    The only log I have in there now can be viewed here http://rf2.dean-and-lea.com/Results

    I've installed the 0.4 stand alone installers (and scripts) and then run the 0.5 update (and script).

    Any assistance would be much appreciated.

    Cheers,

    Dean
     
  6. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Hi mate,

    The loader had many fixes since last version. Try this version, issue should be fixed :)

    Just copy over the files to Bin>Release folder of the loader.

    If you'll still get errors, please send me the xml logs.

    PS: what type of file is that (ending TD???) I think the error will persist as I'm not handling it I think....

    Cheers
     
    Last edited by a moderator: Oct 28, 2014
  7. D34N0

    D34N0 Registered

    Joined:
    Oct 5, 2010
    Messages:
    22
    Likes Received:
    0
    Hey B1K3R,

    Thanks for the quick response.

    I've updated the Loader files to 0.6 and it's not erroring anymore (but it doesn't seem to be inserting the data into MySQL either. The driver_lap table only seems to have 3 rows in it. Which were inserted the first time I ran it before it crashed).

    The TD files are Test Day files. Created when the server is running in Test Day mode.

    multiplayer.ini
    Test Day="1" // 0 = normal sessions (practice, qualifying, warmup, race), 1 = 30-hour test "day"

    I've put ALL my logs back into the Results folder now just to see what happens. Still nothing in MySQL tables though unfortunately. (Maybe that's correct, but I thought it would upload all my stats from previous sessions).

    Cheers,

    Dean
     
  8. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Hi Dean,

    Ah ok, test day! I I'll need to add that to the loader. Are all your files TD? If yes, then yeah, I'll need to handle them.

    Yeah, the loader should upload ALL your files which have not been uploaded before. You can check the table session_files to see which files have been uploaded.

    If not TD files, can you pls send them to me zipped so I give it a test?

    Cheers
     
  9. D34N0

    D34N0 Registered

    Joined:
    Oct 5, 2010
    Messages:
    22
    Likes Received:
    0
    Thanks B1K3R, I sent you a zip of the DB and Results folders to your Gmail.

    There are P1 and TD files in there.

    Thanks again.

    Cheers,

    Dean
     
  10. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Thanks Dean. I'll make an updated to the loader, test your files and will send ye an update tonight (will be morning for you:)).

    Cheers
     
  11. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Version 0.6 has been released.

    Build 0.6 Notes:

    Web:
    1. Added Dashboard pages to web
    2. Added separate components of live timing, map pages etc so that they can be used separately
    3. Faster loading results and statistics components
    4. More informative Server List which is order by most drivers in server
    5. Bugs and fixes

    Loader:
    1. Loader now further handles corrupted XML log files by stripping out any illegal HEX values
    2. If XML file is corrupted beyond auto repair, (like missing tags etc), it will be skipped
    3. Bug fixes to certain program crashes
    4. It now supports TestDay sessions
    5. Added Driver Swaps

    Plugin:
    1. No changes
     
    Last edited by a moderator: Oct 28, 2014
  12. antoinel12

    antoinel12 Registered

    Joined:
    Jan 10, 2012
    Messages:
    32
    Likes Received:
    0
    Awesome!

    Is there an option to always open the "Choose server" panel other than a CSS tricks ?

    Many thanks
     
  13. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    I will try to do it in next version :)
     
  14. D34N0

    D34N0 Registered

    Joined:
    Oct 5, 2010
    Messages:
    22
    Likes Received:
    0
    Thanks B1K3R, I updated to version 0.6, truncated the db tables and turned the key. It's all working great now. It imported my files no problem at all.

    Great work.

    Thanks again,

    Dean
     
  15. DerKutscher

    DerKutscher Registered

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

    very nice tool, but I have problems! Sorry for my english.

    Have the plugin installed, the database and the loader / Lister. If everything goes well so far.

    Problem is the BroadcastWeb.

    I have on my root already have a website, but ds all running under xampp. If there BroadcastWeb install (C: \ xampp \ htdocs) it does not really want to go. The path is my localhost.

    What can I do?

    greeting

    Mike
     
  16. Adrianstealth

    Adrianstealth Registered

    Joined:
    May 28, 2012
    Messages:
    4,578
    Likes Received:
    1,071
    Does this have to run on a separate pc??? Or is it in background & viewed after exiting rf2 ?
     
  17. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Hi Mike,

    I have never tried ASP.NET on XAMPP, but apperently you need to install a separate mod.

    Look at these articles. Sorry, don't know much about XAMP.

    http://www.todayinwindows.com/2011/08/how-to-run-asp-net-on-xampp/

    http://sourceforge.net/projects/mod-aspdotnet/?source=dlp
     
  18. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Hi Adrian,

    The Loader/Listener has to be on the same game server as rFactor 2 Dedicated server unless you set up an FTP and transfer the files every 1 second or so. You can have as many rF2 instances running as much as you want. But for every server, 1 loader.

    mySQL and the web can be anywhere you want, but the closer to the rf2 server, the faster.

    The web will always be online and can be viewed all the time irrelevant to the rF2 dedicated server.

    Let me know if you need any help with the installation.

    Cheers
     
  19. D34N0

    D34N0 Registered

    Joined:
    Oct 5, 2010
    Messages:
    22
    Likes Received:
    0
    If you're running XAMP on a Windows machine to get access to MySQL you're probably better off just installing MySQL on the Windows machine itself (you can download it from http://dev.mysql.com/downloads/mysql/). Usually XAMP is used for hosting sites that prefer Apache and PHP. As this is all ASP.NET stuff it's better run on native Windows using IIS.

    I'm surprised B1K3R didin't opt for SQL Express actually ;)
     
  20. DerKutscher

    DerKutscher Registered

    Joined:
    Sep 13, 2011
    Messages:
    139
    Likes Received:
    1
    Hi, thanks for answer!

    Too bad, because I lack the knowledge. Localhost must remain where it is otherwise not do other things. Then I must, sadly without this great tool. Would have done well for us.

    greeting

    Mike
    www.simracingteam.de
     

Share This Page