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 » Keeping the client in synch

This is quite urgent with the upcoming Sprint Cup races.

I'm also not sure if you guys have the ability to change the client on short notice...

Anyway, boat position on the server is updated every 10s. The client queries boat.xml every 15.2s. This leaves us in the dark on the real position of our boats, critical for sharp roundings like Orno 1.

My suggestion is to add a "time to next update" field to the boat.xml, and change the client query timing accordingly.
You can have two clients open at the same time, if you time it right, they'll poll the server every 7 or 8 seconds so you'll never skip a jump.

I don't know the server or client code, but from what I've heard it's probably harder than it seems to sync them. It's almost always harder than it seems with software development ;)
How often the server updates the boats depends on the server load, so when the position is updated it is not known when the next update happens.

With the new server the load has been fortunately mostly low, so the updates happen mostly every 10 seconds but there is no guarantee on that.

I don't think this issue is really worth of updating the client. When we are starting to sync requests by the second also the possible network lag should be taken into account so doing this "properly" would not really be that easy.

The current client is same for all and it is something everyone is familiar by now. However, this can be taken into account when planning client updates or new clients in the future. Especially ability to also tell the client to update less frequently during bigger server load could be useful.
A dedicated racer can work around the issue, casual and new users are a different matter. For example I could imagine a NNYC member signing up for Lake Winnebago and being frustrated by the client.

While exact position doesn't matter in open water SOL has entirely too many coastal and round the buoys races to call it irrelevant.

Regarding prediction, last interval + 2s should be reliable enough, unless load spikes are really extreme. You would also get some savings from less active boats (30s update interval).

Lastly you should consider incentives, having players run two clients seems undesirable etc. (And reloading to force the new wx, on what is probably the maximum load period to begin with...)
If anyone volunteers to change the client code, we might consider how to handle this issue.
bump.

I unfortunately have zero experience with flash, that said I could give it a spin if no one else will.
This is relevant, if not imminent, issue.
My understanding is that "next" client version is not likely to be in flash environment, but maybe HTML5 or something else - not my field really:)

Please login to post a reply.

Races

Next Race: 00d 00h 00m


Current Races:

Christmas to Christmas Island 2025

Two waypoints, start and finish, and between them 5827 NM of two oceans. Not much time if we want to sit at the Christmas Eve table. You will need to maintain an average speed of over 10 knots, maybe quite possible with this Maxi Trimaran, but prepare your vessel well and choose the best of the many possible routes. Hands up everyone who knew there were TWO Christmas Islands?! OK, maybe you have sailed this Sailonline course before... but it's time to get ready for the 2025 challenge of racing between Christmas Island in the Pacific to Christmas Island in the Indian Ocean! It also marks the conclusion of our prestigious Ocean Race Championship 2025. Please have fun! Fair winds!
PRIZE: SMPF
Race #1967
INFO by brainaid.de
Maxi Trimaran PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ4 - OCCH - SUPSOL - SYC
Race starts: Dec 01st 11:00 Registration Open!
▶ Flash
GO TO RACE

Andaman Islands PYOC 2025


The Andaman Islands are an archipelago, made up of 200 islands, in the northeastern Indian Ocean. Together with the Nicobar Islands to their south, the Andamans serve as a maritime boundary between the Bay of Bengal to the west and the Andaman Sea to the east. These waters will be the theater of our next 240nm race in the ARCH 2025 series. Which one you choose depends only on you, i.e. your Elan 410 sport will leave the Andaman Islands on the starboard or port side.
Race #1965
INFO from brainaid.de
Elan 410 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
ARQ4 - ARCH - SUPSOL - SYC
RACE CLOSE: Monday,
December 1 at 2300 UTC.
Race starts: Nov 24th 17:00 Registration Open!
▶ Flash
GO TO RACE

Sinbad by Balloon 2025 - Carnarvon to Dondra


From here, our home in Bharatavarṣa is now north west of us – said Sinbad to his fellow balloonists. Perhaps we can ride the wind first further north, and then catch the winds that every year bring the rain, perhaps not. It’s 2600nm and we could be aloft awhile, so, Master el-Quarters, victuals only, no sandbags, provisioning the giant hamper. It will be not a picnic!
Race #1886
INFOby brainaid.de
SOL Balloon PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - SBB
RACE CLOSE: Tuesday,
December 9 at 2300 UTC.
Race starts: Oct 15th 11:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

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

View full list

Series

Mobile Client

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

The mobile client