Thread Tools Display Modes
09/01/15, 06:38 AM   #1
Wandamey
Guest
Posts: n/a
hi topic!

I've asked Cairenn for being added to Khrill's addons teams. At least Post-It as i rely on it for one of my addons.

but I won't pretend i'll be able to patch them all quickly. I'd start with API bump and UI errors if needed.
  Reply With Quote
09/01/15, 06:40 AM   #2
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
Originally Posted by Wandamey View Post
hi topic!

I've asked Cairenn for being added to Khrill's addons teams. At least Post-It as i rely on it for one of my addons.

but I won't pretend i'll be able to patch them all quickly. I'd start with API bump and UI errors if needed.

good, good
  Reply With Quote
09/02/15, 07:37 AM   #3
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
Originally Posted by Ayantir View Post
[*]Map, Coords, Compasses
Not taken, just co-supported, as I am still around but not as much as I used to at the moment
  Reply With Quote
09/04/15, 09:41 AM   #4
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
Warning for all addons with map coordinates :

somes changes :


Craglorn :
You'll need to add ~0.005 to X axis
You'll need to add ~0.005 to Y axis

Alik'r :

See under


Exemples :


Treasure Map Crag I : [17:15] Raidelorn: 28,62×62,07 (craglorn/craglorn_base) : Lost Treasure Addon : {0.2816, 0.6162, [[Craglorn Treasure Map I]]
Treasure Map Crag III : [16:57] Raidelorn: 70,44×55,92 (craglorn/craglorn_base) : Lost Treasure Addon : {0.7004, 0.5541, [[Craglorn Treasure Map III]]
Treasure Map Crag IV : [16:52] Raidelorn: 65,54×67,08 (craglorn/craglorn_base) : Lost Treasure Addon : {0.6505, 0.6662, [[Craglorn Treasure Map IV]]


[17:36] le désert d'Alik'r: 22,23×56,78 (alikr/alikr_base) <--- LIVE position of Santaki's delve in Alik'r
{ 0.178, 0.578, 556, 14, 2 } <-- Skyshard reference


A good map :






A wrong map :






I've checked all map, seems only thoses 2 were modified.

Last edited by Ayantir : 09/04/15 at 08:52 PM.
  Reply With Quote
09/04/15, 05:25 PM   #5
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
Little update for Alik'r map problem :




Sounds like the map is simply smaller than before, so all coordinates are now a bit more far from center of map.

@Map authors : Is someone motivated to write a correcting formula ?

I'm too bad in mathematics for that

PS: Maybe need to check other maps as lot of people report that "pins" are few meters aways of good position
  Reply With Quote
09/04/15, 06:45 PM   #6
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Originally Posted by Ayantir View Post
@Map authors : Is someone motivated to write a correcting formula ?

I'm too bad in mathematics for that
Take the left-most and the right-most shard (to minimize error), compute distance in X coordinate (old_dx be their distance in old add-on data, new_dx be their current distance).
scale_x = new_dx / old_dx
offset_x = new_x - old_x * scale_x

Similarly for Y.

function translate_old_coords(x, y)
return x * scale_x + offset_x, y * scale_y + offset_y
end

Or better update the data with translated values, it would get really messy when coords change again.
  Reply With Quote
09/04/15, 06:52 PM   #7
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
One suggestion that might be a pain to implement at first, but could pay off if coordinates change often. Pick two fixed points on each map, preferably not too close to each other, but also close enough to the "entry point" so that the player discovers them early. Once discovered, you can compute the correct map scale and offset from those two points' coordinates (actual versus those stored in the add-on), and adjust all other points accordingly.
  Reply With Quote
09/04/15, 09:54 PM   #8
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Ayantir View Post
Warning for all addons with map coordinates :

somes changes :


Craglorn :
You'll need to add ~0.005 to X axis
You'll need to add ~0.005 to Y axis

Alik'r :
You'll need to add ~ 0.0445 to X axis
You'll need to substract ~0.01 to Y axis
In Craglorn both X and Y axis were shifted by +0.00465837121010, so it will be easy to fix.


Alik'r Desert will be a bit more complicated. I don't have exact coordinates to compare, so here it will be much less accurate. However it seems that map was scaled down to cca 87% of previous size.

Dungeons:
(name) - (new coordinates) / (old coordinates)
Aldunz - 0.6412, 0.6435 / 0.659, 0.665
Coldrock Diggings - 0.6482, 0.3484 / 0.667, 0.326
Divad's Chagrin Mine - 0.4054, 0.5892 / 0.382, 0.596
Sandblown Mine - 0.8312, 0.5806 / 0.877, 0.592
Santaki - 0.2224, 0.5678 / 0.178, 0.578
Yldzuun - 0.9008, 0.5207 / 0.957, 0.524
Lost City of the Na-Totambu - 0.7050, 0.3890 / 0.732, 0.373


Originally Posted by merlight View Post
Take the left-most and the right-most shard (to minimize error), compute distance in X coordinate (old_dx be their distance in old add-on data, new_dx be their current distance).
scale_x = new_dx / old_dx
offset_x = new_x - old_x * scale_x

Similarly for Y.

function translate_old_coords(x, y)
return x * scale_x + offset_x, y * scale_y + offset_y
end

Or better update the data with translated values, it would get really messy when coords change again.
You have to count with distance from the center, not from the top / left side.

scale_x = (new_dx - 0.5) / (old_dx - 0.5)
scale_y = (new_dy - 0.5) / (old_dy - 0.5)

function translate_old_coords(x, y)
return 0.5 + ((x - 0.5) * scale_x), 0.5 + ((y - 0.5) * scale_y)
end
  Reply With Quote
09/05/15, 01:59 AM   #9
Harven
 
Harven's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 135
Hey!
Using my house hunter addon I see following maps changed:
- Mournhold,
- Windhelm,

There are probably more - these are only the ones I visited (EP and DC) and some I visited before I created house hunter.
  Reply With Quote
09/05/15, 06:12 AM   #10
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Originally Posted by Garkin View Post
You have to count with distance from the center, not from the top / left side.

scale_x = (new_dx - 0.5) / (old_dx - 0.5)
scale_y = (new_dy - 0.5) / (old_dy - 0.5)

function translate_old_coords(x, y)
return 0.5 + ((x - 0.5) * scale_x), 0.5 + ((y - 0.5) * scale_y)
end
No. new_dx and old_dx are X-distances between two POIs. Map center is not involved in my formula, precisely because the whole map might be shifted, in which case rescaling is not enough.
  Reply With Quote
09/11/15, 02:13 AM   #11
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,580
Originally Posted by Ayantir View Post
Warning for all addons with map coordinates :

somes changes :


Craglorn :
You'll need to add ~0.005 to X axis
You'll need to add ~0.005 to Y axis

Alik'r :

See under


Exemples :


Treasure Map Crag I : [17:15] Raidelorn: 28,62×62,07 (craglorn/craglorn_base) : Lost Treasure Addon : {0.2816, 0.6162, [[Craglorn Treasure Map I]]
Treasure Map Crag III : [16:57] Raidelorn: 70,44×55,92 (craglorn/craglorn_base) : Lost Treasure Addon : {0.7004, 0.5541, [[Craglorn Treasure Map III]]
Treasure Map Crag IV : [16:52] Raidelorn: 65,54×67,08 (craglorn/craglorn_base) : Lost Treasure Addon : {0.6505, 0.6662, [[Craglorn Treasure Map IV]]


[17:36] le désert d'Alik'r: 22,23×56,78 (alikr/alikr_base) <--- LIVE position of Santaki's delve in Alik'r
{ 0.178, 0.578, 556, 14, 2 } <-- Skyshard reference

I've checked all map, seems only thoses 2 were modified.
Maybe you should consider switching to global coordinates sometime.
  Reply With Quote

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » 2.1 update


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off