R3E Web Dashboard Released

Discussion in 'Community Workshop' started by Stefan Mizzi, Jul 11, 2015.

  1. Chmul Khom

    Chmul Khom Well-Known Member

    Joined:
    Feb 24, 2015
    Ratings:
    +172 / 0 / -0
    Hi Stefan,
    is it possible to make a timetable-widget. So we can see after the race why and where we're so slow... ;)
    like this:
    [​IMG]
    And is it possible to export/save the timetable as simple HTML-Table... (for Example).
    HTML:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <style media="screen" type="text/css">
    body,html         {
                    background:#4d4d4d;
                    }
                   
    table             {
                    font-family: Verdana, Arial, Helvetica, sans-serif;
                    font-size: 10px;
                    color: #d5d5d5;
                    }
    
    td                 {
                    min-width: 70px;
                    }
                   
    th                {
                    border-bottom: 1px solid #d5d5d5;
                    }
    
    .td                {
                    border: 1px solid #d5d5d5;
                    }
    
    .overflow        {
                    overflow: scroll; /* set overflow to scroll for desktop browsers */
                    overflow-x: hidden; /* hide scrollbar on x-axis */
                    }
                   
    .grey             {
                    background: #000000;
                    }
    
    .right             {
                    text-align: right;
                    }
                   
    .bold            {
                    font-weight:bold;
                    }
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>timetable</title>
    </head>
    
    <body>
    <table class="td" id="alltimeTable"><tbody><tr><th>Lap</th><th>Sector 1</th><th>Sector 2</th><th>Sector 3</th><th>Laptime</th><th>Diff.</th></tr><tbody>
    <tbody><tr><td>19</td><td>00:32.977</td><td>00:30.150</td><td>00:31.092</td><td class="bold">01:34.219</td><td class="right">-01.074</td></tr></tbody>
    <tbody><tr class="grey"><td>18</td><td>00:32.400</td><td>00:29.541</td><td>00:33.353</td><td class="bold">01:35.293</td><td class="right">+01.651</td></tr></tbody>
    <tbody><tr><td>17</td><td>00:29.965</td><td>00:30.902</td><td>00:32.775</td><td class="bold">01:33.642</td><td class="right">-01.367</td></tr></tbody>
    <tbody><tr class="grey"><td>16</td><td>00:33.253</td><td>00:30.403</td><td>00:31.353</td><td class="bold">01:35.009</td><td class="right">+01.527</td></tr></tbody>
    <tbody><tr><td>15</td><td>00:29.914</td><td>00:30.849</td><td>00:32.719</td><td class="bold">01:33.482</td><td class="right">-02.264</td></tr></tbody>
    <tbody><tr class="grey"><td>14</td><td>00:33.511</td><td>00:30.639</td><td>00:31.596</td><td class="bold">01:35.746</td><td class="right">+00.399</td></tr></tbody>
    <tbody><tr><td>13</td><td>00:32.418</td><td>00:29.558</td><td>00:33.371</td><td class="bold">01:35.347</td><td class="right">+00.078</td></tr></tbody>
    <tbody><tr class="grey"><td>12</td><td>00:30.486</td><td>00:31.439</td><td>00:33.344</td><td class="bold">01:35.269</td><td class="right">-00.134</td></tr></tbody>
    <tbody><tr><td>11</td><td>00:33.391</td><td>00:30.529</td><td>00:31.483</td><td class="bold">01:35.403</td><td class="right">-00.338</td></tr></tbody>
    <tbody><tr class="grey"><td>10</td><td>00:30.637</td><td>00:31.595</td><td>00:33.509</td><td class="bold">01:35.741</td><td class="right">+01.619</td></tr></tbody>
    <tbody><tr><td>9</td><td>00:32.943</td><td>00:30.119</td><td>00:31.060</td><td class="bold">01:34.122</td><td class="right">+00.295</td></tr></tbody>
    <tbody><tr class="grey"><td>8</td><td>00:31.901</td><td>00:29.086</td><td>00:32.839</td><td class="bold">01:33.827</td><td class="right">+00.707</td></tr></tbody>
    <tbody><tr><td>7</td><td>00:29.798</td><td>00:30.730</td><td>00:32.592</td><td class="bold">01:33.120</td><td class="right">&nbsp;</td></tr></tbody>
    <tbody><tr class="grey"><td>6</td><td>00:32.930</td><td>00:30.107</td><td>00:31.048</td><td class="bold">01:34.085</td><td class="right">-00.633</td></tr></tbody>
    <tbody><tr><td>5</td><td>00:30.310</td><td>00:31.257</td><td>00:33.151</td><td class="bold">01:34.718</td><td class="right">-00.077</td></tr></tbody>
    <tbody><tr class="grey"><td>4</td><td>00:33.178</td><td>00:30.334</td><td>00:31.282</td><td class="bold">01:34.795</td><td class="right">+00.185</td></tr></tbody>
    <tbody><tr><td>3</td><td>00:32.167</td><td>00:29.329</td><td>00:33.113</td><td class="bold">01:34.610</td><td class="right">+00.746</td></tr></tbody>
    <tbody><tr class="grey"><td>2</td><td>00:30.036</td><td>00:30.975</td><td>00:32.852</td><td class="bold">01:33.864</td><td class="right">&nbsp;</td></tr></tbody>
    <tbody><tr><td>1</td><td>00:35.711</td><td>00:32.650</td><td>00:33.671</td><td class="bold">01:42.032</td><td class="right"></td></tr></tbody>
    </table>
    </body>
    </html>
    
    Thanks Mate
    Markus
     
  2. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
  3. Chmul Khom

    Chmul Khom Well-Known Member

    Joined:
    Feb 24, 2015
    Ratings:
    +172 / 0 / -0
  4. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    Yes, it will work in single player mode too. There is no export button but I can add export to raw text, csv, pdf or excel. Maybe you can then convert it to html table (or I can try to find an api that does that).

    I can also generate a link to it and you can just copy the link and embed it into your page as an iframe.
     
  5. Chmul Khom

    Chmul Khom Well-Known Member

    Joined:
    Feb 24, 2015
    Ratings:
    +172 / 0 / -0
    Nice offer... but unfortunately your Layout blows up my webpage (to big). I have not enough space for a iframe in this size.
    Have a look: http://www.mrw-simracing.de/euro_gt2_tt_s1.html
     
  6. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    • Like Like x 1
  7. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0

    Can you send me this file pls?

    [​IMG]
     
  8. GameOne

    GameOne Member

    Joined:
    Jun 9, 2015
    Ratings:
    +10 / 0 / -0
  9. Gareth Smith

    Gareth Smith Well-Known Member

    Joined:
    Oct 29, 2015
    Ratings:
    +53 / 0 / -0
    I definitely enjoy faffing with the rig as much as racing! Just wish I had more to faff with haha
     
    • Like Like x 1
    • Funny Funny x 1
  10. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    You should see my rig.....nothing to faff much with!!! :D
     
  11. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    Unfortunately I cannot replicate your error.

    "ich bekomme immer diese Fehlermeldung in der zeit wo das Dash läuft, es funktioniert auch weiter nur sobalt ich das spiel schliese beendet auch das tool."

    Also your translation is not good and not sure what you mean in the 2nd part of your sentence.
     
  12. Andre Rajkovic

    Andre Rajkovic Well-Known Member

    Joined:
    Aug 31, 2015
    Ratings:
    +49 / 0 / -0
    Hi Stefan, your current version is showing me an excpetion everytime I go on P1 in the leaderboard. As long as Iam P2 no problem but when going P1 ... bam :)
    Image1.jpg
     
  13. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    Thanks Andre for reporting it. I'll test it with me P1 against some slow AI :-D
     
  14. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    I could not replicate the issue but went through the code and fixed some possible scenarios. Please download/install and try this and let me know if you get the error.

    http://www.mediafire.com/download/25uhkgmj1aw6ugg
     
  15. Andre Rajkovic

    Andre Rajkovic Well-Known Member

    Joined:
    Aug 31, 2015
    Ratings:
    +49 / 0 / -0
    It only occured in the leaderboard, not while racing. Maby this helps. Ill give it a try just need to get P1 again :D
     
  16. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    Not sure to which leader board you are talking about. This method is linked to the latest widget where I get the data for this widget. Maybe it has to do with the stage in which the shared memory is

    [​IMG]
     
  17. Andre Rajkovic

    Andre Rajkovic Well-Known Member

    Joined:
    Aug 31, 2015
    Ratings:
    +49 / 0 / -0
    Raceroom Leaderboard Challenge, Single Player Online Timetrial I mean
     
    • Informative Informative x 1
  18. Tarik Userli

    Tarik Userli Well-Known Member

    Joined:
    Mar 7, 2015
    Ratings:
    +578 / 0 / -0
    I have tested the directx widget but my fps dropped to 16. Cant use it. Other works perfectly!

    Great Job Stefan!!
     
  19. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    Then they are useless :)
     
  20. Stefan Mizzi

    Stefan Mizzi Well-Known Member

    Joined:
    Feb 6, 2015
    Ratings:
    +625 / 0 / -0
    Note: Those who have issues running the Dash and cannot using it and/or want a refund of the donation, please send me a private message with your Paypal email and I will happily refund you.

    Cheers
    Stefan
     
    • Informative Informative x 1