Chrome Extension v3.0
Post by iconPost by mak08 | 2018-10-03 | 18:21:29

A new version of VR Dashboard is out and should be available in about one hour.

Additions:
- Display all gates (including hidden ones) of the selected race on a map
- Also display position of own boat, friends and opponents on the map.

This was contributed by Xeelee. Thanks for the amazing work!

Also Thanks to Cvetan for his support.

To everybody else - enjoy :-)

commenticon 54 Comments
Post by iconPost by GeGaX | 2018-10-03 | 18:45:14
Thanks mak08, Xeelee and Cvetan 😊
Post by iconPost by toxcct | 2018-10-03 | 21:54:38
I don't sail VR races anymore, but wow, that sounds like a great improvement, knowing how bad VR can be with gates ;)
Post by iconPost by tyghfg | 2018-10-03 | 21:58:59
Awesome work, thanks :)
Post by iconPost by HenrikBo | 2018-10-03 | 23:08:31
Wouw... That is cool... Thanks.. :)
Post by iconPost by Mataf35400 | 2018-10-04 | 04:02:05
Hi,
I'm new in this forum, and using Vr Dashboard since 6 months now.
Very very great job !

As I will be starting the "Route du Rhum" in a few weeks with a bunch of friends, I should animate that group every evening. In the real life, we're from St Malo.

To do so, these boats are noted in VR as "friends", and I can easely see them (in bold) in Vr Dashboard.

My question: Why can't I most of the time see their rank ? I only get a dash in the column.

Thank's for your answer,
Mataf35400
Post by iconPost by mak08 | 2018-10-04 | 09:18:52
Unfortunately VR does not send rank information for your friends automatically. You need to click on each boat in the VR game interface to get their rank.

Post by iconPost by Mataf35400 | 2018-10-04 | 10:25:16
It's a pity...
Thanks for the answer.
Again, great job of all of you.

Mataf35400
Post by iconPost by Flying Lili Monsterr | 2018-10-04 | 05:52:07
This doesn't work for me.

I get an exception here ("Cannot read property 'betaflag' of undefined at HTMLButtonElement.callRouter (dashboard.js:1464)"

beta = selRace.options[selRace.selectedIndex].betaflag

I see the dashboard, but there is no data in it. The drop down has all three races but they are greyed out (thus selectedIndex == -1).


Post by iconPost by mak08 | 2018-10-04 | 07:53:32
This usually happens if you start the Dashboard too late and it doesn't catch the race list message from the server.

Does going back to the VR home screen and re-entering the race solve the problem?

Post by iconPost by Flying Lili Monsterr | 2018-10-04 | 17:08:11
oh hey, that is cool! Too bad I figured this out after all the races are done. ;-)
Maybe next year.

Post by iconPost by Xeelee | 2018-10-04 | 09:34:42

I'd like to give you some additional informations about the VR internals of gates and the data displayed on the map:

- Gates are organised in groups. If several gates are in the same group, this means all gates of the same group
are marked 'passed' if one of the gates of the group is passed, i.e. you have only to pass one of them.

- A gate can be invisible, this is indicated by a darker color (and red instead of yellow line), the function is the same,
but it's just no visible on the VR map.

- A gate with the engine flag set to false ist a 'cosmetic' gate which is just used for a nicer display on the map. The passing
of such a gate is NOT CHECKED , it is usually in the same group with some invisible gates which are used to check
the correct passage.

- The order of passage of the gates is by group, not by gate-nr, this means you have first to pass group 1, the n group 2, etc.

- The correct passage (port / starboard) is indicated by a circle with arrows. Some gates are display as 'gates', which just
means that both buoys are displayed on the VR-map. This is mainly just cosmetics since all marks are ALWAYS gates in VR.


Post by iconPost by mcmgj | 2018-10-04 | 16:00:12
Very good job Xeelee ...
I need just now to merge your upgrade with my owner version (2.3.3 patched) to send the next one on Github

Post by iconPost by toxcct | 2018-10-04 | 18:18:21
can you tell us what your own version brings ?
Post by iconPost by mak08 | 2018-10-04 | 18:38:47
Xeelee's changes were already contained in the version you forked, except that the Map tab was disabled in the HTML page, and I've made a small (unrelated) bugfix. Should not be a big deal to merge the changes.

Post by iconPost by mcmgj | 2018-10-05 | 09:50:18
I Have take your bugfix and see the change, so merge is already ready on my home PC, but i have a small bug on one value, so when the fix is ready I tell you for check (and valid).
It's will be a 3.1.0
may be this week ...
Post by iconPost by mcmgj | 2018-10-18 | 19:51:01
3.1.0 is fine and tested !!! post this night !

Post by iconPost by mak08 | 2018-10-18 | 20:53:56
Sure, if you think your changes are ready for review, please send me pull request. Discussion by E-mail is much preferred until we've decided to publish. Thanks.
Post by iconPost by mak08 | 2018-10-19 | 20:52:25
Bugfix version 3.0.1
- Xeelee:
Handle new Game_GetFleet message

The Raw log tab now comes last again but unfortunately I messed up the map at first. Fixed with 3.0.2
Post by iconPost by mak08 | 2018-10-30 | 22:09:58
Version 3.0.3:

The Dashbaord tab now opens in the background (inactive).
This is an attempt to avoid triggering bugs related to tab deactivation in the VR UI.

Post by iconPost by MidnightFoiler | 2018-11-02 | 11:43:46
Awesome, nice to have local time working too. Thanks!
Post by iconPost by 35200 | 2018-11-04 | 22:53:35
hello

what does the backgroung color stand for, in the calculated speed column ? (race log tab)
pink, yellow, ...?

thks
Post by iconPost by mak08 | 2018-11-04 | 23:47:07
Red background in vC means boat speed is reduced because of a penalty or bad sail.

Yellow means the calculated speed doesn't match the reported speed but there's no penalty in progress. Basically this happens because the Dashboard sometimes fails to calculate the traveled distance properly.
Post by iconPost by GeGaX | 2018-11-05 | 18:32:38
Hi mak08,
I have a suggestion concerning the extension, could we have the fixed header and the scrollable body?
For tabs "Race Log" and "Friends/Opponents"


Post by iconPost by mak08 | 2018-11-05 | 21:02:28
That would be a useful improvement, but I don't have time currently to implement it myself. If someone wants to fiddle with HTML/CSS, patches are welcome :-)

Post by iconPost by 35200 | 2018-11-06 | 13:07:24
moving the "tbody" and put the first line of "th" section in a "thead" section, and add some style in the css : "thead th { position: sticky; top: 0; }" ... should do the trick

<table>
<thead>
<tr>
<th>Time</th>
<th>Rank</th>
...
</tr>
<thead>
<tbody>
<tr>
Post by iconPost by GeGaX | 2018-11-07 | 09:25:49
Hi @ 35200,
Can you fork GitHub and send a pull request? 😊
https://github.com/mak08/VRDashboard
Post by iconPost by mak08 | 2018-11-07 | 09:49:21
Yes that would be nice :-)
The changes need to go in function makeTableHTML.


Post by iconPost by 35200 | 2018-11-07 | 18:20:59
sorry I do not know the development of chrome extensions :-/
Post by iconPost by GeGaX | 2018-11-07 | 18:25:13
I can help you
I can send you the source and i can explain how to install it it's very easy ;)
Post by iconPost by toxcct | 2018-11-07 | 14:16:59
Not "Fork" actually. Only a feature branch would do.

Forking is when you want to gather the project for your own need, with no particular need to merge afterward ;)
Post by iconPost by HAVANA | 2018-11-07 | 16:30:22
Bonjour,

Il faut désinstaller l'ancienne version pour mettre la nouvelle?
Post by iconPost by mak08 | 2018-11-07 | 16:51:11
Non, cela se fait automatiquement lors du redémarrage du navigateur. La version actuelle est 3.0.3

No, extensions are updated automatically when you restart the browser. Current version is 3.0.3
Post by iconPost by HAVANA | 2018-11-07 | 17:10:29
Thank you!

Post by iconPost by toxcct | 2018-11-21 | 07:48:08
Hi mak08, would you mind if we added some space between tabs ?

I was thinking of something like that :


And this is done easily by adding this to the style.css file:



[Edit]I tried to create a Feature Branch in this regard, but received a "You may not have permission to access the repository" error...
Post by iconPost by mak08 | 2018-11-21 | 19:28:05
Hi toxcct,
anything related to borders, margins, colors, font etc. is usually a matter of personal taste, and you just can't please everyone.
And currently, I am more interested in bugfixes :-)

Post by iconPost by toxcct | 2018-11-21 | 21:56:42
I can understand that :)

Anyway, do you have known bug ?
I see no "Issues" logged onto the Repository right now...
Post by iconPost by mak08 | 2018-11-24 | 17:05:28
New Version 3.1.0

I've just published an update with the following contributions and fixes:

- Sticky table headers with colored background (Cyrille & GeGax)

- Bugfixes: DTF sort, message handling, boat vs. user name (mcmgj)

- Removed obsolete column aTWA

- Additional columns in the FRIENDS/OPPONENTS table:
- "Factor": Speed factor of opponent's boat over no-options boat
- "Foil" and "Hull": indicate if opponent's boat has these options.
Info depends on TWS/TWA and is not persisted or accumulated.
If you see strange numbers, don't assume your opponent is cheating.
A logical flaw or bug in the dashboard is much more likely.

Thanks to all.




Post by iconPost by mak08 | 2018-12-14 | 20:22:51
DonJuan21 asked on an older thread

|@mak08 and @Cvetan and/or others. The team members are obviously in the data
|stream since they show up on my VR map along with their info. Here's a feature
|request for VR Dashboard: would it be easy enough to set up another tab that
|shows |team members only? Or maybe make them all show up in the FRIENDS/OPPONENTS
| tab |with a different font color?

It's probably not a very big effort. I'd rather not add another tab but put teams info in the FRIENDS tab.
I currently have other priorities but if someone sends me a clean pull request I can merge it ;-)


Post by iconPost by DonJuan21 | 2018-12-19 | 02:22:09
Are you using Git? I'll work on it since I requested it. What's the GitHub project particulars?

DonJuan21 <dolive@gardner-webb.edu> for e-mail.


Post by iconPost by mak08 | 2018-12-19 | 12:06:32
GeGax already provided the Github link below :-)
Please fork and send a pull request, or just clone and send patches.
Post by iconPost by GeGaX | 2018-12-19 | 07:12:03
Post by iconPost by mcmgj | 2019-01-09 | 13:17:29
Hello all...
the selection of the ships in friends/opponents is today available, it is in the course of validation
Post by iconPost by mak08 | 2019-01-09 | 13:45:35
Hi mcmgj, I beg to differ.
Please see my post from 2018-10-18 | 20:53:56, it still applies ;-). I don't see a PR on the repo.
Also please understand that due to time constraints I will only accept clean PRs. Currently your repo is 37 commits behind.

Post by iconPost by JohnT | 2019-01-22 | 06:15:13
Suggestion for an addition to the extension that applies to races like JV:
The extension currently shows DTU and DTF for friends/competitors, which is great for a race with a single start time. But in the JV these have more meaning when compared with the difference in start time. As each boats 'time since start' can be seen, I assume it's in the data stream, and displaying the difference in start time would save a lot of mouse clicks and mental math to work out who I was ahead of or behind. Though probably wouldn't solve the conundrum of how a boat 50 miles from me could be 100 miles further from the finish!

By no means critical, but an idea if one of you wants another programming challenge ;)

Best wishes for the New Year and happy sailing whether virtual or real...
John
Truffle Hunter
Post by iconPost by mak08 | 2019-01-23 | 23:05:33
Oops, I didn't even notice that the UI displays start times. Yes, makes sense to display them in the dashboard. I can't promise anything though, I promised mcmgj to merge some more bugfixes long ago and haven't found the time yet.
Post by iconPost by mcmgj | 2019-02-05 | 16:53:55
The JohnTs suggestion is on "classement" page from one year ago...
Post by iconPost by mak08 | 2019-01-27 | 17:27:32
I had some spare time and implemented JohnT's suggestion. Version 3.2.0 is just out.

The Friends&Opponents table now has two additional columns "Start Date" and "ERT" (Estimated total race time). The columns are shown only in 'record' type races.

ERT is the elapsed time plus a remaining time, calculated from the total race distance and time as shown in the game UI, and the current distance to finish. Please take it with a grain of salt.

Edit: The required data (start date and DTF) is only available if after you display the user details in the game UI (eg. by clicking on the respective boat).

Post by iconPost by GeGaX | 2019-01-28 | 23:04:00
Thanks mak08 ;)
Post by iconPost by JohnT | 2019-01-29 | 06:45:19
Awesome :)- now I'll just have to sail faster!
Post by iconPost by mak08 | 2019-05-14 | 20:34:33
I just published version 3.5.0 with lots of additions and fixes
from mcmgj and GeGax:

- 'Friends/Opponents' tab is now called 'Fleet'
- Display team members in 'Fleet' tab
- Filter Fleet
- Additionally display mark positions and boat TWA in Map tab
- Add picker (marker) option in Windy URL
- Call Toxcct's polars with more accurate TWA
- Show foils and hull percentage % instead of yes/no in FLEET tab.

Many thanks!




Post by iconPost by GeGaX | 2019-05-19 | 10:25:17
You forgot Helios
We are 3 to have cogit its "improvements" ;)
Post by iconPost by MidnightFoiler | 2019-05-17 | 07:34:04
Gr8 mak08, thanks.

Not sure if this has changed but clicking a wheel to route someone from the fleet tab seems to always route with no options set. Personally I want it to route with full (or perhaps my options) - I currently don't have a full pack but have bought all the speed advantages.
Post by iconPost by mak08 | 2019-05-17 | 12:00:18
This hasn't changed. Other boats were always routed with no options, but maybe full options was the better default.
Post by iconPost by MidnightFoiler | 2019-05-17 | 13:05:28
Ok, thanks
border
Topics list
Posts
border
1
border
border
2
border
border
4
border
border
6
border
border
Copyright 2009 by ZEZO.ORG. All Rights Reserved.