[REL] Proracing Dashboards and In-game widgets

Discussion in 'Other' started by B1K3R, Aug 9, 2015.

  1. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Thanks mate. I take work work seriously :)
     
  2. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    So here it is:

    1. Download http://dash.proracing.club/downloads/ProracingInstaller_v1.6.2.9_x64Beta.exe and install and start app

    2. Make sure that plugins are installed
    upload_2017-1-29_10-23-11.png


    3a. Choose Local IP in "Streaming to web" and Default in "Web application". Enable Logs, make sure rF2 is chosen in Games and click on "Start Listener" and click on "Open Dashboard". Make sure that the IP and Port on the web are as shown in "Streaming to web" IP Address and Port!

    3b. Start rF2, choose a car and track and click RACE to join your offline session

    3c. You will then have to see Web Stream in Green, Plugin Stream in Green and both successful as seen below. The status at the bottom will also show that you are connected.

    upload_2017-1-29_10-22-51.png


    4. You should be seeing data on screen...

    upload_2017-1-29_10-32-54.png


    5. Open the log file by clicking on button near the "Enable Logs", find the last file and check the content. It should have the following:


    2017-01-29 10:15:22,271 [6] INFO ProRacing.MainForm.cs - Application Started
    2017-01-29 10:15:32,537 [1] INFO ProRacing.MainForm.cs - Web Listener started successfully!
    2017-01-29 10:15:32,577 [11] INFO ProRacing.Tools.IsiEngine.cs - Plugin UDP Connectioned Successfully
    2017-01-29 10:15:32,585 [12] INFO ProRacing.Tools.IsiEngine.cs - Plugin starting to send data successfully...
    2017-01-29 10:15:32,588 [12] INFO ProRacing.Tools.IsiEngine.cs - Plugin processed data successfully...
    2017-01-29 10:15:32,762 [8] INFO ProRacing.Tools.IsiEngine.cs - Web streaming starting successfully...
    2017-01-29 10:15:32,887 [8] INFO ProRacing.Tools.IsiEngine.cs - Web streaming sent successfully...

    6. Let me know how it goes :p

    Thanks!
     
    adamfarmer likes this.
  3. Wiggin

    Wiggin Registered

    Joined:
    Mar 15, 2016
    Messages:
    132
    Likes Received:
    4
    This is what I get B1K3R in the log file with the 1.6.2.9_x64Beta.
    Code:
    2017-01-29 11:00:47,177 [6] INFO  ProRacing.MainForm.cs - Application Started
    2017-01-29 11:04:48,354 [1] INFO  ProRacing.MainForm.cs - Web Listener started successfully!
    2017-01-29 11:05:25,258 [9] INFO  ProRacing.Tools.IsiEngine.cs - Plugin UDP Connectioned Successfully
    2017-01-29 11:05:25,276 [9] INFO  ProRacing.Tools.IsiEngine.cs - Plugin starting to send data successfully...
    2017-01-29 11:05:25,292 [9] INFO  ProRacing.Tools.IsiEngine.cs - Plugin processed data successfully...
    2017-01-29 11:05:25,890 [12] INFO  ProRacing.Tools.IsiEngine.cs - Web streaming starting successfully...
    2017-01-29 11:05:26,014 [12] INFO  ProRacing.Tools.IsiEngine.cs - Error on preparing data for streaming: Index and length must refer to a location within the string.
    Parameter name: length;    at System.String.Substring(Int32 startIndex, Int32 length)
       at ProRacingDash.Tools.Utilities.GetDriverRelativeTimeList(List`1 deltaTimesList, Int32 driverSlotId, Int32 driverPlace, Int32 totalDrivers) in D:\Development\Google Drive\Development\Proracing\ProracingDash\Tools\Utilities.cs:line 258
       at ProRacingDash.ISI.ProcessData.PrepareData() in D:\Development\Google Drive\Development\Proracing\ProracingDash\ISI\ProcessData.cs:line 762
    
    Let me know what other information you require to get this sorted out.

    Before when I said I could not replicate this issue with 2.8 it was because I was looking at the wrong log file, not because it was working properly.
     
    Last edited: Jan 29, 2017
  4. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    So, from the error it seems that there are drivers with empty name! The error is happening when I am trying to make a driver name look "nicer" but I never imagined that it could be empty...

    Could it be possible that your driver name is empty? I'll still fix this of course, but I need to replicate it :)
     
  5. Wiggin

    Wiggin Registered

    Joined:
    Mar 15, 2016
    Messages:
    132
    Likes Received:
    4
    Hahaha I told you it was something easy I was missing. Yes my name field is empty as the league's I'm in just use the nickname field. Oh boy do I feel silly.

    It's 00:37 so I'm off to bed will attempt to remedy by using a name in the morning. Feel free to try removing your name to replicate.
     
    B1K3R likes this.
  6. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    I'll remove my name, test and make a fix (of course tonight after work as its 9am here), thanks! ;)


    @Eddy Could this maybe be your case too?
     
  7. Wiggin

    Wiggin Registered

    Joined:
    Mar 15, 2016
    Messages:
    132
    Likes Received:
    4
    Okay just wanted to update.

    I had only a last name. I then gave myself a first name via the launcher and like magic it works!!

    So perhaps allow either first OR last name to be supported. Not sure how the nickname is displayed.

    Thank you @B1K3R for your continued help and support.
     
  8. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    You're welcome :)

    This should fix it, whatever your name or no name/surname at all.

    http://dash.proracing.club/downloads/ProracingInstaller_v1.6.2.9b_x64Beta.exe
     
    Last edited: Jan 30, 2017
  9. Wiggin

    Wiggin Registered

    Joined:
    Mar 15, 2016
    Messages:
    132
    Likes Received:
    4
    Thank you very much! Installing it now. Is there a possibility for a widget that shows "Number of laps since you took tires" ?

    On a side note, I noticed after installing it asked me to restart my computer. Then I realized I was updating it while it was still running. I saw on some other form someone was having that same issue, might of been because they were updating it while it was running. Just an FYI.

    Edit2: link to 1.6.2.9b is now correct.

    Update #2 @B1K3R It would now seem after installing 1.6.2.9b the problem persists. I uninstalled the old version and installed the new version and it still won't work without me putting in a First Name.
     
    Last edited: Jan 31, 2017
  10. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    The one I circled in red shows the number of laps since you entered/exited the pits. True, not exactly what you need as if you wont change tires that will not count. If this is not good enough, then I can see if I can add a similar one but depending if you changed tires.

    upload_2017-1-31_7-51-14.png

    Yeah, I noticed that myself too, a bit confusing. Will see what the installer is doing...

    Right! I tested it with no name and surname and worked so I'm a bit surprised! Same error in the log file??
     
  11. Wiggin

    Wiggin Registered

    Joined:
    Mar 15, 2016
    Messages:
    132
    Likes Received:
    4
    If it's possible to get one for tires specifically that would be ideal. I primarily do oval racing and knowing how many laps you have on your tires would be great information to have.

    Okay, I tested it again and it's working now. No first name just Surname. :)

    Thank you very much for your help! :D:D

    - Wiggin
     
  12. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    I'll see what I can do :)
     
    Wiggin likes this.
  13. Eddy

    Eddy Registered

    Joined:
    Jun 27, 2013
    Messages:
    1,649
    Likes Received:
    394

    Sorry I missed the discussion. Gonna look into it tonight. Thanks
     
    Wiggin and B1K3R like this.
  14. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    So I checked rF2 plugin and on wetness there are only these 2 properties which I had added for you a few months ago....

    upload_2017-2-3_13-12-58.png
     
  15. Igormaiden

    Igormaiden Registered

    Joined:
    Sep 19, 2016
    Messages:
    33
    Likes Received:
    0
    Whereas it works on trackmap I thought you could do it here too :(
    thanks anyway
     
  16. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Where is it on track map?
     
  17. Igormaiden

    Igormaiden Registered

    Joined:
    Sep 19, 2016
    Messages:
    33
    Likes Received:
    0
    rF2.jpg
    but it doesn't work on all tracks
     
  18. Wishmaster

    Wishmaster Registered

    Joined:
    Nov 30, 2012
    Messages:
    315
    Likes Received:
    32
    It works on all tracks. But sometimes there is a brigde over the road. So its always showing 0% because there is on dry spot on the race surface. It doesnt show the values from the part of the track where you are at the moment.
     
  19. Igormaiden

    Igormaiden Registered

    Joined:
    Sep 19, 2016
    Messages:
    33
    Likes Received:
    0
    Ah OK, interesting...
     
  20. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Hmm, maybe I missed it. Will check out the plugins again. ..
     

Share This Page