List of all Zone Names
Hi all,
I've another question. What is the best way to loop through all the zone names of the game? My Idea was to have Loop with i = 1 to 99999 with this function inside GetZoneNameByIndex(i) If the return value is not empty, I will push it to my array. This should return all zone names, right? Keldor |
Quote:
Lua Code:
|
Quote:
this is very similar to my idea, I will give it a try. :D Keldor |
Zone names by zoneIndex:
http://www.esoui.com/forums/showpost...3&postcount=13 |
Quote:
thanks it was very useful for me. Keldor |
Hi again,
is there a similar way to export all the titles not only the titles of the current character? I've found now way to export all titles. Keldor |
I am not 100% sure, but I think they are all tied to achievements.
You could try to iterate over all of them and use Code:
GetAchievementRewardTitle(integer achievementId) |
Quote:
Nice idea it works great. I've to export the titles as female and male in every language because in german you have different variations of the titles. I used this code to export the titles. Lua Code:
|
Looks fine.
I would not use a constant number of achievements though. Who knows how many we might get in the future. Maybe something like this (untested)? Lua Code:
|
2 Attachment(s)
This was the easiest way to get all achievements. In my Script it was set to 999999 to check a large range of available IDs.
I've attached two files with exported zones and titles from my ESO-Database MySQL Tables. The files are coma separated and UTF-8 w/o BOM encoded. Keldor |
All times are GMT -6. The time now is 01:25 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI