Go to Page... |
Compatibility: | Stonethorn (6.1.5) Greymoor (6.0.5) Harrowstorm (5.3.5) Dragonhold (5.2.5) Scalebreaker (5.1.5) Elsweyr (5.0.5) |
Updated: | 10/11/20 04:34 PM |
Created: | 10/15/18 11:41 AM |
Monthly downloads: | 10,438 |
Total downloads: | 253,255 |
Favorites: | 123 |
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
local libZone = LibZone
## DependsOn: LibZone>=069
## OptionalDependsOn: LibZone>=069
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 |
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 |
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|
You can also try this on the live server if you want to test if it's compatible.
Last edited by Baertram : 10/31/19 at 11:11 AM.
|
|
![]() |
![]() |
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 |
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
||||
Re: Re: Re: Re: Re: even with out of date addon checked, this library would not load
Unfortunatly i was not in the game at all when i installed the libs.
The only other thing i did is that i updated also at the same time a lot of addons ( 15 or 16) May be that was a bit too much at the same time ?
__________________
![]() |
||||
![]() |
![]() |
Anceane |
View Public Profile |
Send a private message to Anceane |
Send email to Anceane |
Find More Posts by Anceane |
Add Anceane to Your Buddy List |
![]() |
|||
Re: Re: Re: Re: even with out of date addon checked, this library would not load
Unfortunately this is no real solution, just a workaround.
This shouldn't happen! At least not if you are logged out before updating the libraries. If you are logged in and do reloadui it might be the problem. So always logout ebfore updating libraries or addons, is the best approach to fix ingame stuff with non-loading addons + dependencies.
|
|||
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
||
|
Re: Re: Re: even with out of date addon checked, this library would not load
Right, i hadn't read it carefully enough. I just wanted to throw in a possible "unprecise" solution till i come back. Luckyly you already solved it and if someone is asking in our comment section about that issue we know a fast solution how to help, because of you. Thanks for that.
__________________
Co-Author of the Addon BeamMeUp - feel free to check it out. BankManagerRevived Slim Edition - changed profiles to accountwide in order to have better performance with BMR and added 4 different global addon profiles for better overview - most of the working mechancis are created from the original BMR authors - credits to orignal authors
Last edited by Gamer1986PAN : 05/19/19 at 10:01 AM.
|
|
![]() |
![]() |
Gamer1986PAN |
View Public Profile |
Send a private message to Gamer1986PAN |
Send email to Gamer1986PAN |
Find More Posts by Gamer1986PAN |
Add Gamer1986PAN to Your Buddy List |
![]() |
||||
Re: Re: Re: even with out of date addon checked, this library would not load
So you had to manually change the ##APIVersion: Tag in the LibSlashCommander.txt file to 100026 100027 in order to let the live servers load this library properly, even if the "Load out of date" checkbox was enabled?
This shouldn't happen, no. If BeamMeUp got the following entry within it's BeamMeUp.txt, ##DependsOn: LibZone and LibZone got the following entry in it's LibZone.txt ##DependsOn: LibSlashCommander -> Checked this: Yes it is in the txt file of current LibZone v5. everything should be handled via the eso ingame addon manager properly, and load properly in the order LibSlashCommand -> LibZone -> BeamMeUp (dependencies looked up and followed). If this does not happen there is somehwere a bug in the ingame addon manager or you might got different versions of the libraries installed (as standalone, and as subfolder version e.g. inside another addon where there is NOT a standalone LibLashCommander.txt or LibZone.txt, and where the other addons's txt file, e.g. OtherAddon.txt, got the entry like "/libs/LibSlashCommander/LibSlashCommander.lua". So it is not loaded via it's own txt file and though loaded with whatever version this bundled subfolder version got. If the library is installed as a standalone lib there is the ##AddOnVersion: tag as well (or hopefully it is in theer) which assures only the newest version is loaded ingame. If the library does not use LibStub! Or else if it uses LibStub, LibStub will load the highest version, also if it's only bundled in a subfolder without own txt file. So not sure what happened here for you but I guess you got either LibZone or LibSlashCommander instaleld multiple times and maybe not the newest version will be loaded or two versions are?
Last edited by Baertram : 05/19/19 at 09:57 AM.
|
||||
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|||
Re: Re: even with out of date addon checked, this library would not load
i think you misread what i explained
![]() Included the two i mentionned. Though to have those two aknowlegded by the game, i had to update the api to 100026 100027, Thought we did not had to do that as users. (and yes the out of date was checked) The problem was not with beammeup but the outdated library (those are also used by Writworthy, pet health) And, Libzone would not actually load considering missing the Libslashcommander lib though present in the folder but considered by the game as not a good version
__________________
![]() |
|||
![]() |
![]() |
Anceane |
View Public Profile |
Send a private message to Anceane |
Send email to Anceane |
Find More Posts by Anceane |
Add Anceane to Your Buddy List |
![]() |
||
|
Re: even with out of date addon checked, this library would not load
Dependencies: FROM v1.5 ALL LIBRARIES ARE OUTSOURCED! YOU NEED TO INSTALL THE FOLLOWING LIBRARIES SEPARATELY: LibAddonMenu-2.0 LibDialog LibMapPing LibCustomMenu LibSlashCommander LibZone Feel free to write comments in the BeamMeUp comment section if you have trouble with it.
__________________
Co-Author of the Addon BeamMeUp - feel free to check it out. BankManagerRevived Slim Edition - changed profiles to accountwide in order to have better performance with BMR and added 4 different global addon profiles for better overview - most of the working mechancis are created from the original BMR authors - credits to orignal authors |
|
![]() |
![]() |
Gamer1986PAN |
View Public Profile |
Send a private message to Gamer1986PAN |
Send email to Gamer1986PAN |
Find More Posts by Gamer1986PAN |
Add Gamer1986PAN to Your Buddy List |
![]() |
|
even with out of date addon checked, this library would not load
Even with the out of date checked, to be able to use the addon Beammeup, i had to force update api on this library and the one called
https://www.esoui.com/downloads/info...Commander.html Do i need to do more ?
__________________
![]() |
|
![]() |
![]() |
Anceane |
View Public Profile |
Send a private message to Anceane |
Send email to Anceane |
Find More Posts by Anceane |
Add Anceane to Your Buddy List |
![]() |
||
You are already able to use ingame API functions to get teh current's zone zoneId and then use libZone to get this zones's data. ZoneId = The zone's unique id which you are able to get via some API function like these ones: Lua Code:
Though game provides some API functions to do some checks if you are in a dungeon, or trial. Please use them if you need to know where you are. Please check the following addons code if you need an example: WishList, file src/functions.lua, function WL.getCurrentZoneAndGroupStatus() Lua Code:
This function is not 100% reliable as Delves are not always recognized. But it helps at least.
Last edited by Baertram : 02/01/19 at 10:24 AM.
|
||
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|
|
feature request:
add functions GetCurrentZone(), IsPublicDungeon(), IsDelvel(), IsTrial(), IsGroupDungeon() etc if this seems possible. |
![]() |
![]() |
zelenin |
View Public Profile |
Send a private message to zelenin |
Send email to zelenin |
Find More Posts by zelenin |
Add zelenin to Your Buddy List |
![]() |
|
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 |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|
Be sure to include the LibZone.txt file in your addon if you embed this library into your addon or your savedvariables won't work properly!
-> Be sure to remove the LibStub folder and files + the call to it from LibZone.txt as well if you already have LibStub added to your addon then! And do not forget to add LibZone to your addon's .txt manifest file: ##OptionalDependsOn: LibZone Non-official Game client languages or client language "jp" If you are using a game client which uses another language then "de", "en", "fr" feel freee to send me your SavedVariables so I can add your client language to the LibZone_Data.lua file for next versions!
Last edited by Baertram : 10/15/18 at 11:52 AM.
|
|
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |