Ikariam Embassy Tool

By Toranaga Last update Apr 3, 2009 — Installed 15,772 times.

shipping distance

in
Subscribe to shipping distance 3 posts, 3 voices



digital-junkie User

"* Added shipping distance from the selected town to the members towns."
How is this set? Maybe I missed it, but even from the same town it shows 1D+

 
Toranaga Script's Author

The shipping distance is calculated from your selected town to your ally's town(s).
When you hover your mouse over the town counter in the alliance view, you get your ally's town names and coordinates in a pop-up. The script adds the shipping distance for each town.

The computation is pretty basic: the script retrieves the coordinates of your selected town from the town selection box, for example [50:30], then retrieves the coordinates of your ally towns from the pop-up, for example [20:40]. The distance for the example is sqrt( (50-20)^2 + (40-30)^2 ) ~ 31.622, which gives a shipping distance of 20 minutes * 31.622 = 632.44 minutes ~ 10h32m.

The only exception from the formula above is shipping to same island, which takes 10 minutes.

 
Flakker User
FirefoxWindows

Shipping distance does not seem to work with v0.3.1

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel