Facebook

Login

Support Sailonline

If you haven't already - join the SAILONLINE YACHT CLUB!

Please also consider making a donation - all amounts are greatly appreciated!

Board » Technical Support » Phantom DC added to list

Page: 1 2 Next

The last two sessions when I made DC's to cover a period of sleep when I returned there was an Additional DC set for TWA 1.01 added to the bottom of my list.

I wasn't sure after the first occurrence but last night after setting my intended course and signing out I deliberately restarted my computer and checked the list afresh. Everything was I had left it. But this morning, after approx. 4 hours absence, when I came back there was indeed the extra DC as before.

I would reccommend that when you come back to the game that the DC list be confirmed as the 1st order of business.

--- Last Edited by A2R at 2012-02-20 10:21:23 ---
None so blind
Ran another test for this report. Entered a DC for 48 hrs hence, since it goes after the last entry as a safeguard.

Closed my browser, rebooted computer, went to Brainaid's editor 1st to see the state of the list prior to using the beta. One DC on the list, good. Went to the SWR, checked the list, 2 DC's & here is where it gets interesting, just as I was about to copy the miscreant instruction I widened the divider bar to get a good look and Poof it vanished, Nada.

Is it really gone or just not showing ?

Went back to Brainaid's editor and applied a blank page just for good measure.
None so blind
I can confirm this bug.

When loading the beta client it first sends a HTTP post with the following post params:

command=twa
value=0.017629570774394723
delay=6

and then shortly after a delete dc command to delete that command.

I guess something can go wrong with the delete command which will make it stuck. Maybe t deletes the wrong command?

Anyway, the client should not send that post in the first place which is a serious bug

Best Regards
Bobbert


--- Last Edited by Robert Engström at 2012-02-22 19:47:40 ---
I also confirm this bug. I'm using the beta, just set a course (no DCs) and went to bed. Next morning I was stalled with a twa of near zero.

Cheers
Murray

I was about to copy the miscreant instruction I widened the divider bar to get a good look and Poof it vanished, Nada.

Is it really gone or just not showing ?
=====================
=====================
Yes - it is really gone...
If you hit Refresh in the client DC tab, ALL DCs held on the server will be listed. And the list auto-refreshes every 20 minutes (or 30, can't quite remember)

See following post for more details on this issue....
First - sorry that previous post was me - I was still logged as 76 cos he asked me to do a quick check near the start of L4 - OOPS! (Darn browser remembering last login! Catches me so many times)

It is not a bug as such, as I deliberately wrote the beta client to submit this delayed command you are mentioning (twa 1.01 in 6hours) every time the client starts...

It also deletes the command (at least it should).

Those not interested in the technicalities of how things work can skip the following ;-)
The reason for this, is to help compensate for differences in time of the local PC and the server, for the purposes of the 'Edit DC' feature.... comparing what +6hrs is according to local PC with the +6h time returned in the DC - ie server time, gives an offset to make DC edit more accurate without requiring user to use NTP server every time the SOL (even if time is not what you change when editing, the whole set of command data needs to be resent - and the server expects a delay in decimal hours - so the Edit needs to convert the time UTC to '+H.ddd' hrs - with only user local clock to determine this offset.
It also repeats this process every 3 hours, as computer clocks can run both fast and slow on the same machine.

If you immediately switch to the DC tab you may see this DC very briefly flash up...

So, the bug is not that it is sent in the first place, but rather there are some rare circumstances that lead to it not being properly deleted.

This I will look into, as nothing was reported by the test group, and I did place 1 'layer' of redundancy to delete it - obviously VERY undesirable to have this DC left on the sever...

For testing, (other than using it for racing and practice sessions) I wrote a special 'Unit Test' mini-app (so as not to overload server by dl'ing wx, map etc) to do this send/delete every 10 seconds, and ran that continuously for 14 days, so 120,000+ send/delete cycles. Not once did it not delete as intended. Much data was logged and the unit test app specifically looked for any DCs not properly deleted.
(I also tested like this with many DCs on the server to emulate race conditions)
Given how many times the beta client has been started by SOLers, and there are only 3 reports of this DC not being properly deleted - it is indeed a rare occurrence. Which is not meant to be-little the issue at all - and I will apply another layer or 3 of redundancy on the deleting of the DC immediately.

Do not be concerned that the wrong DC will be deleted. Even though the client only displays it as TWA=1.01, it is actually 1.010101 - which was chosen precisely because it is an extremely unlikely DC to be set by the user. But TBH, from what I remember of the code, I can't explain why it should ever not be deleted properly (unless you drop net connection at precisely the wrong time!) ;-)

However, thank you for bringing this to my attention...

I only write the above not to excuse its presence, but rather to (hopefully) convince/reassure SOLers that I was a certain as I could be that this would work flawlessly before including it in the final beta.

Sincere Apologies to anyone who is caught by this - although occurrences should be extermely rare.
I help develop the client interface for the best online ocean racing sim there is... __/)/)_/)__
I just woke up and checked my course (at 05:50) local time and found myself sailing at TWA1.01 (or thereabouts) - and with 3.45 miles covered looks like I travelled backwards for an hour or more.. It was about 2245 Friday when I refreshed the screen for weather.

Seems like a small back step but at TWA1.0. BS is .33 knots.. Now I'm back to 14.37 knots in correct direction.

--- Last Edited by ybw_mjm at 2012-02-25 06:05:10 ---
Attachments
Similar happened to me about 6hrs after the start but I saw that one happen... Some catching up to do now rather than leading the northern group...
Attachments
Appeared at the weather refresh just now...
Attachments
I have uploaded a new beta version with added checking that this DC is deleted properly...

I cannot make any guarantees as this is not an easy situation to reproduce in all its varieties, but it worked in testing...

A cache clear will be neccessary to reload new beta client
I help develop the client interface for the best online ocean racing sim there is... __/)/)_/)__

Page: 1 2 Next

Please login to post a reply.

Races

Next Race: 00d 00h 00m


Current Races:

Bluefin Tuna - Mexico Gulf to North Sea 2026

Join us and follow the Bluefin Tuna, as they migrate from their spawning grounds in the Gulf of Mexico to their feeding grounds in the North Sea off the coast of Norway. This 4300 nm race is part of our Ocean Championship and the final race of OCQ2 2026, and also the second leg of our Migration series. We will be sailing in our Gunboat 90. Race #2035
INFO by brainaid.de
Gunboat 90 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ2 - MIG - OCCH - SYC
Race starts: Jun 08th 11:00 Registration will open soon
▶ Flash
GO TO RACE

Thessaloniki to Port Said 2026

Welcome back to the Eastern Mediterranean for the fifth race of our Magical Mediterranean Series. Only marginally less unlikely to be ever raced in real life during SOL’s lifetime than our previous race from Tobruk to Iskenderun, this 710nm race takes us from Greece’s ancient northern port of Thessaloniki through the Aegean island maze, south east into the Levantine Sea to a finish in modern Port Said, in splendid Swan 65s!
Race #1977
INFO by brainaid.de
Swan 65 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: MED - SYC
Race starts: Jun 06th 15:00 Registration Open!

▶ Flash
GO TO RACE

AWKR 2026


The Australian Women's Keelboat Regatta celebrates and promotes women's sailing in Australia. Comprising a week of intense racing on Melbourne’s Port Phillip Bay, the event has grown to become Australia’s premier women’s regatta and one of the largest in the southern hemisphere, and these past several years Sailonline have been delighted to offer all-comers the opportunity to contemporaneously race against Australia's women virtually in a 20nm round the cans race in Port Phillip Bay. Prepare for some excellent Australian competition! We'll be racing J-109.
Race #2025
INFO by brainaid.de
J-109 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SPQ2-SPCH-SUPBUD-SYC
Race starts: Jun 05th 02:00 Registration Open!
▶ Flash
GO TO RACE

TuziTekwini TIMED Race 2026

Sailonline is delighted to have been invited again to partner with the King Shaka Yacht Club (KSYC) of South Africa to bring a virtual version of the Tuzi Tekwini Ocean Raceto our online community.
The Tuzi Tekwini Ocean Race is a near 90 nautical mile race down the east coast of South Africa from the port of Richards Bay to the port of Durban. Achievable in a single day and seen by some as an easy mile-builder, the course is more tactical than some think and should not be underestimated. This iconic race promises to be an unforgettable experience for yachting enthusiasts.
Our online version of the race will be a TIMEDrace so you may RE-REGISTER HEREto try again after finishing a run. You will have two weeks to test your skill and decision making after the race opens.
Race #2037
INFOby brainaid.de
Sailonline’s virtual yacht for all your runs will be our much-loved Farr 38 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ2 - TRCH - SUPBUD - SYC
RACE CLOSE: Saturday,
13 June at 23:00 UTC
Race starts: May 31st 12:00 Registration Open!
▶ Flash
GO TO RACE

Susan Hood Trophy Race 2026

Lake Ontario Offshore Racing (LOOR) welcomes racers to Sailonline’s virtual version of their annual Susan Hood Trophy Race. This year, this pleasant weekender on western Lake Ontario will be of about 60nm in length, and online for convenience will start and finish at the Port Credit Yacht Club (PCYC). At or before the real-life Skipper’s Briefing a decision will be made to race the course clockwise (course Delta) or anti-clockwise (Echo). If there is time we will match this online. As before, the race is the first of two that will count towards a special Sailonline's LOOR Series medals, but this year we sail in Jeanneau Sun Fast 3300s. Bon voyage!
Race #2033
INFOby brainaid.de
Sun Fast 3300 PARTICULARS
NAM_AWIP WX Updates:
0245 / 0845 / 1445 / 2045
Ranking: LOOR - SUPBUD - SYC
RACE CLOSE: Friday,
June 5 at 2300 UTC.
Race starts: May 29th 23:45 Registration Open!

▶ Flash
GO TO RACE

Cross the Convergence 2026 - St Helena to Cape Verde


The fourth race of our series of ocean voyages across the World’s convergence zones takes us out of the Pacific into the Atlantic for a 2200nm race in Judel Vrolijk 62’s, from the desolation of St Helena, there where Napolean Bonaparte saw out the end of his life, to the even greater desolation of Fogo in the Cape Verde’s. You’ll have to cross the equator, with the coasts of Africa and South America your only navigational restrictions.
Race #1984
INFOby brainaid.de
Judel Vrolijk 62PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: CCZ - SYC
RACE CLOSE: Saturday,
June 6 at 2300 UTC.
Race starts: May 22nd 18:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member WRmirekd
  2. Sailonline Yacht Club Member KaSToR
  3. Sailonline Yacht Club Member CriticalHippo
  4. Sailonline Yacht Club Member rafa
  5. Sailonline Yacht Club Member Panpyc
  6. Sailonline Yacht Club Member bonknhoot
  7. Sailonline Yacht Club Member HoratioPugwash
  8. Sailonline Yacht Club Member rumskib
  9. Sailonline Yacht Club Member CollegeFund
  10. Sailonline Yacht Club Member sassy63

View full list

Series

Mobile Client

SYC members have the benefit of access to our mobile/lightweight web client!

The mobile client