Thread Tools Display Modes
09/01/15, 03:48 PM   #1
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
GetCurrentMapZoneIndex() return wrong values?

I noticed that Destinations shows all the POI's as unknown now.
Further investigation shows me that GetCurrentMapZoneIndex() returns a value ONE LOWER than before the latest update for ALL areas.

Example:
While in Deshaan, GetCurrentMapZoneIndex() should return 11, but it returns 10.

Did I miss something or is that a bug?
  Reply With Quote
09/01/15, 04:02 PM   #2
Wandamey
Guest
Posts: n/a
Originally Posted by SnowmanDK View Post
I noticed that Destinations shows all the POI's as unknown now.
Further investigation shows me that GetCurrentMapZoneIndex() returns a value ONE LOWER than before the latest update for ALL areas.

Example:
While in Deshaan, GetCurrentMapZoneIndex() should return 11, but it returns 10.

Did I miss something or is that a bug?
you may have missed something :
http://www.esoui.com/forums/showthread.php?t=4953
Originally Posted by votan View Post
The indexes of zone names are different: GetZoneNameByIndex(zoneIndex)
If you use a multi-language extraction as a lookup table or zoneIndex as language-invariant key in your saved variables, you need to re-evaluate.

By looking at just a few of them, you may think it is just a simple shift by -1 to make room for IC. But there are more deleted, inserted and moved zones.
  Reply With Quote
09/01/15, 04:11 PM   #3
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
Originally Posted by Wandamey View Post
Yeah checking deeper revealed that (at least in regards to the zones I use) then all but Craglorn, Glenumbra, Rivenspire, Stonefalls and Stormhaven has shifted - 1.

I'll just update my data accordingly
  Reply With Quote
09/01/15, 11:14 PM   #4
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by SnowmanDK View Post
Yeah checking deeper revealed that (at least in regards to the zones I use) then all but Craglorn, Glenumbra, Rivenspire, Stonefalls and Stormhaven has shifted - 1.

I'll just update my data accordingly
This is my translation table: (-1=deleted, missing=unchanged)
It was created by comparing zone name of index case-insensitive from (now old) live and pts.
May this helps

Warning: Spoiler
  Reply With Quote
09/02/15, 07:27 AM   #5
SnowmanDK
 
SnowmanDK's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 161
Nice list
Originally Posted by votan View Post
This is my translation table: (-1=deleted, missing=unchanged)
It was created by comparing zone name of index case-insensitive from (now old) live and pts.
May this helps

Warning: Spoiler
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » GetCurrentMapZoneIndex() return wrong values?


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