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.

- 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 38 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
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,
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.

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

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

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

Post by iconPost by GeGaX | 2018-11-07 | 09:25:49
Hi @ 35200,
Can you fork GitHub and send a pull request? 😊
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

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 ;-)

Topics list
Copyright 2009 by ZEZO.ORG. All Rights Reserved.