Go to Page... |
Compatibility: | Gold Road (10.0.0) Scions of Ithelia (9.3.0) Endless Archive (9.2.5) base-game patch (9.1.5) Necrom (9.0.0) Scribes of Fate (8.3.5) |
Updated: | 05/31/24 12:16 PM |
Created: | 10/15/18 11:41 AM |
Monthly downloads: | 10,376 |
Total downloads: | 1,504,861 |
Favorites: | 377 |
MD5: |
-Added: Slash commans /lzt or /transz: Enter a zone name afterwards (in your client language) or choose it from the autocompletion list. Press tab or space to chose the zonename, and you'll see another auto completion which will provide you the translations of this zone to other languages. Chosing an entry will put the translated zone name into the chat. -Added slash commands to search in your desired language: /lztde or /transzde: German /lzten or /transzen: English /lztfr or /transzfr: French /lztjp or /transzjp: Japanese /lztru or /transzru: Russian /lztpl or /transzpl: Polish /lztes or /transzes: Spanish
local libZone = LibZone
## DependsOn: LibZone>=077
## OptionalDependsOn: LibZone>=077
LibZone.preloadedZoneNames[language][zoneId] = "Localized name of the zone"
* GetMapInfo(*luaindex* _index_) ** _Returns:_ *string* _name_, *[UIMapType|#UIMapType]* _mapType_, *[MapContentType|#MapContentType]* _mapContentType_, *integer* _zoneId_, *string* _description_ * GetGuildMemberCharacterInfo(*integer* _guildId_, *luaindex* _memberIndex_) ** _Returns:_ *bool* _hasCharacter_, *string* _characterName_, *string* _zoneName_, *integer* _classType_, *integer* _alliance_, *integer* _level_, *integer* _championRank_, *integer* _zoneId_ * GetFriendCharacterInfo(*luaindex* _friendIndex_) ** _Returns:_ *bool* _hasCharacter_, *string* _characterName_, *string* _zoneName_, *integer* _classType_, *integer* _alliance_, *integer* _level_, *integer* _championRank_, *integer* _zoneId_
LibZone.zoneData[zoneId] = { ["zoneIndex"] = zoneIndex, ["parentZone"] = zoneId of the parent Zone }
* GetCurrentMapZoneIndex() ** _Returns:_ *luaindex* _zoneIndex_ * GetZoneIndex(*integer* _zoneId_) ** _Returns:_ *luaindex* _zoneIndex_
--Returns: Returns the preloaded zoneData with all available languages as table. function lib:GetAllZoneData()
--Check and get all zone's data and save them to the SavedVariables --Parameters: -->reBuildNew: Boolean [true=Rebuild the zoneData for all zones, even if they already exist / false=Skip already existing zoneIds] -->doReloadUI: Boolean [true=If at least one zoneId was added/updated, do a ReloadUI() at the end to update the SavedVariables now / false=No automatic ReloadUI()] function lib:GetAllZoneDataById(reBuildNew, doReloadUI)
LibZone
File Name |
Version |
Size |
Uploader |
Date |
8.8 |
198kB |
Baertram |
03/18/24 04:00 AM |
|
8.7 |
198kB |
Baertram |
03/11/24 08:05 AM |
|
8.6 |
200kB |
Baertram |
08/04/23 03:01 AM |
|
8.5 |
199kB |
Baertram |
05/02/23 02:23 PM |
|
8.4 |
196kB |
Baertram |
03/14/23 08:21 AM |
|
8.3 |
184kB |
Baertram |
12/27/22 01:08 PM |
|
8.2 |
186kB |
Baertram |
08/26/22 05:11 AM |
|
8.1 |
186kB |
Baertram |
07/30/22 12:07 PM |
|
8 |
175kB |
Baertram |
07/11/22 05:46 AM |
|
7.8 |
155kB |
Baertram |
04/22/22 02:02 PM |
|
7.8 |
155kB |
Baertram |
03/12/22 05:49 AM |
|
7.6 |
155kB |
Baertram |
12/17/21 07:17 AM |
|
7.5 |
146kB |
Baertram |
08/31/21 05:02 AM |
|
7.4 |
70kB |
Baertram |
06/01/21 06:10 AM |
|
7.2 |
69kB |
Baertram |
03/07/21 01:57 PM |
|
7.1 |
69kB |
Baertram |
03/07/21 11:43 AM |
|
7.0 |
68kB |
Baertram |
10/11/20 04:34 PM |
|
6.9 |
67kB |
Baertram |
08/09/20 07:27 AM |
|
6.8 |
67kB |
Baertram |
05/07/20 04:27 PM |
|
6.8 |
65kB |
Baertram |
03/14/20 12:58 PM |
|
6.6 |
65kB |
Baertram |
03/14/20 12:12 PM |
|
6.5 |
65kB |
Baertram |
02/24/20 04:54 AM |
|
6.4 |
61kB |
Baertram |
12/23/19 09:33 AM |
|
6.3 |
60kB |
Baertram |
11/03/19 11:12 AM |
|
6.2 |
59kB |
Baertram |
10/21/19 08:28 AM |
|
6.1 |
59kB |
Baertram |
08/23/19 11:08 AM |
|
6 |
58kB |
Baertram |
08/23/19 10:16 AM |
|
5 |
56kB |
Baertram |
05/05/19 12:41 PM |
|
0.4 |
48kB |
Baertram |
01/25/19 09:25 AM |
|
0.2 |
29kB |
Baertram |
10/15/18 11:41 AM |
Comment Options |
02/01/19, 06:36 AM | |
|
feature request:
add functions GetCurrentZone(), IsPublicDungeon(), IsDelvel(), IsTrial(), IsGroupDungeon() etc if this seems possible. |
|
zelenin |
View Public Profile |
Send a private message to zelenin |
Find More Posts by zelenin |
Add zelenin to Your Buddy List |
01/13/19, 08:11 AM | |
|
New beta version 0.3:
Code:
-Fixed localized zone data overwritten (corrected manifest txt) -Added Japanese translations -Added Russian translations -Added ## AddOnVersion tag to manifest txt -Added function to get localized zoneNames and their zoneIds by help of a search String (zone name) and search language: --Get the localized zone names matching to a localized search string -->searchStr: The String with the search value of a zone name (using searchLanguage) -->searchLanguage: The langauge to search the searchStr variable in Format example: "en". Can be nil (<nilable>)! If the searchLangauge is nil the client language will be taken as searchLanguage. -->returnLanguage: The language for the translated results. e.g. you search for "Ostmar" with search language "de" and the return language "en". The result will be the "Eastmarch" zone. --->Returns table containing the zoneId as table key and the localized (in language: returnLanguage) full zone name, matching to the search string, as table value function lib:GetZoneNameByLocalizedSearchString(searchStr, searchLanguage, returnLanguage) -Added: Slash commans /lzt or /transz: Enter a zone name afterwards (in your client language) or choose it from the autocompletion list. Press tab or space to chose the zonename, and you'll see another auto completion which will provide you the translations of this zone to other languages. Chosing an entry will put the translated zone name into the chat. -Added slash commands to search in your desired language: /lztde or /transzde: German /lzten or /transzen: English /lztfr or /transzfr: French /lztjp or /transzjp: Japanese /lztru or /transzru: Russian You are able to download and test it here: LibZone v0.3 beta
Last edited by Baertram : 01/21/19 at 04:13 PM.
|
|
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.