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: | 11,921 |
Total downloads: | 1,488,242 |
Favorites: | 370 |
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 |
IsJustaGhost |
View Public Profile |
Send a private message to IsJustaGhost |
Find More Posts by IsJustaGhost |
Add IsJustaGhost 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 |
![]() |
|
I have been looking into LibZone_GeoData.lua and noticed that some zones have self-referencing records like this:
Code:
[1207] = { [1207] = 0, -- The Reach -- > The Reach }, |
|
![]() |
![]() |
SimonIllyan |
View Public Profile |
Send a private message to SimonIllyan |
Send email to SimonIllyan |
Find More Posts by SimonIllyan |
Add SimonIllyan to Your Buddy List |
![]() |
||||
|
No problem, but that is the reason why I always ask you guys to disable ALL other addons and test with only the one you named as the problem first.
Every user got so many (or can have so many) different addons and librares, often non-updated since years (as they work -> but the game code changes often, sometimes even during the normal weekly updates) and thus can break stuff the next minute. For reporting lua bugs and errors also the same applies: If the problem does not happen with the 1 addon alone, it's another addon interfering and we as the devs cannot support those other addons, or make it compatible, if we do not know where the probem comes from. So he very firstt hing to do is disable all addons and see if the error is gone. Then only enable the 1 addon (and needed dependencies) and see if the error happens. If yes: report in steps from login/reloadui to error message so one can simply rebuild the error and fix it. If not: Enable the other addons 1 after another and see which one causes it in combination. Often other addons like LibDebugLogger and DebugLogViewer can help here as especially the DebugLogViewer shows addons loaded, their version, and error mesasges that happen before the chat was ready for output (as this is AFTER all the addons have loaded, but errors often occur before already or in between), and you can share that live/SaveVariables/LibDebugLogger.lua file + the date and time the error happend then easily here for us: https://sir.insidi.at/or/logviewer/
|
|||
![]() |
![]() |
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 |
![]() |
|||
Forum posts: 2
File comments: 13
Uploads: 0
|
EDIT: Further testing showed that BanditUI has re-enable their minimap i DISABLED and it was causing issues with Votan's minimap that was somehow disabing the world map from working as intended. No idea why the setting re-anabled itself. Anyways, sorry for bothering you with this, but it was the only thing that updated and the issue happened immediately after the update lol
Last edited by Angelus8214 : 05/03/23 at 03:58 AM.
|
||
![]() |
![]() |
Angelus8214 |
View Public Profile |
Send a private message to Angelus8214 |
Send email to Angelus8214 |
Find More Posts by Angelus8214 |
Add Angelus8214 to Your Buddy List |
![]() |
||
|
Any lua error message at login to the ingame world then? Or do you need to enable oher addons actually USING LibZone, like BeamMeUp or similar? |
|
![]() |
![]() |
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 |
![]() |
|
Forum posts: 2
File comments: 13
Uploads: 0
|
For some reason after the update today pressing M shows No map. I have to switch to Inventory then manualy click on the Map menu icon in the menu to have the map show up. Not playing on PTS.
Last edited by Angelus8214 : 05/03/23 at 02:21 AM.
|
![]() |
![]() |
Angelus8214 |
View Public Profile |
Send a private message to Angelus8214 |
Send email to Angelus8214 |
Find More Posts by Angelus8214 |
Add Angelus8214 to Your Buddy List |
![]() |
|
|
Yeah, might have forgotten to update it, will have a look. Thanks
|
![]() |
![]() |
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 |
![]() |
|
|
The last post basically indicated it already, but the current version on ESOUI is causing a minor bug to pop up
(at least I could find Addon/LibZone and then some ZOS/Variable? in the message, but the error disappeared from my LibDebugViewer o_OI) the important thing is: the version from GitHub works on current Firesong DLC on live. |
![]() |
![]() |
wambo |
View Public Profile |
Send a private message to wambo |
Send email to wambo |
Find More Posts by wambo |
Add wambo to Your Buddy List |
![]() |
|
|
LibZone on Github was updated for PTS and should be compatible with live HighIsle and PTS Firesong
|
![]() |
![]() |
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 |
![]() |
||
|
Thank you for your test and the feedback, very appreciated. I'll add your code and do some further checks about the dungeon difficulty. Hopefully it is consistent with 0 = delve, 1 and 2 = group dungeon.
btw: You should not use >0 here but use the provided ZOs constants as they might chage any time! So better use if dungeonDifficulty > DUNGEON_DIFFICULTY_NONE then
Last edited by Baertram : 03/18/22 at 06:47 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 |
![]() |
|
Forum posts: 0
File comments: 12
Uploads: 0
|
So, initially, the new version just reports all Delves, Public Dungeons, and Group Dungeons as Group Dungeons.
So I did some experimenting; the GetMapDungeonDifficulty() reports back 0 for Delves and Public, >0 for any type of Group Dungeon. I'm suspecting there's a problem with the value of the constant DUNGEON_DIFFICULTY_NORMAL. Fixing that, the next problem is that it can report back that the character is both In a Delve AND In a Public Dungeon if in a Public Dungeon. So I went ahead and changed the logic somewhat. This code replaces lines 504 - 518 in your new LibZone.lua file. Code:
--Check if user is in any dungeon if isInAnyDungeon and isNotInRaidChecks then -- if Difficulty is anything other than zero; it's a Group Dungeon if dungeonDifficulty > 0 then isInGroupDungeon = true else -- if Difficulty is zero; it's either a Delve or a Public Dungeon -- check the Public Dungeons list first local pubDungeons = lib.publicDungeonMapIds local _, _, _, _, mapId, _ = lib:GetCurrentZoneIds() isInPublicDungeon = pubDungeons[mapId] or false -- if it isn't a Public Dungeon, it's a Delve isInDelve = not isInPublicDungeon end end |
![]() |
![]() |
Sensei27 |
View Public Profile |
Send a private message to Sensei27 |
Send email to Sensei27 |
Find More Posts by Sensei27 |
Add Sensei27 to Your Buddy List |
![]() |
||
|
Thanks for the hints, will have a look.
Edit: Please download and try this version: https://github.com/Baertram/LibZone/...ads/master.zip Code:
local isInRaidChecks = (not isInRaid and groupSize <= SMALL_GROUP_SIZE_THRESHOLD and true) or false Will not be needed here, but well, should do ![]()
Last edited by Baertram : 03/17/22 at 03:09 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 |
![]() |
|
Forum posts: 0
File comments: 12
Uploads: 0
|
Baertram, the library doesn't seem to notice when I enter a group dungeon solo - using GetCurrentZoneAndGroupStatus() - (yes I'm a masochist sometimes!).
In fact all the flags return false. Is that by design? ------------------------------------------------------------- Okay, did some digging, if the player isn't grouped it doesn't do the isInGroupDungeon test: Code:
if not isInGroup then isInDelve = (isInAnyDungeon and dungeonDifficulty == DUNGEON_DIFFICULTY_NONE) or false else groupSize = GetGroupSize() --SMALL_GROUP_SIZE_THRESHOLD (4) / RAID_GROUP_SIZE_THRESHOLD (12) / GROUP_SIZE_MAX (24) local isInRaidChecks = (not isInRaid and groupSize <= SMALL_GROUP_SIZE_THRESHOLD and true) or false isInGroupDungeon = (isInAnyDungeon and (dungeonDifficulty == DUNGEON_DIFFICULTY_NORMAL or DUNGEON_DIFFICULTY_VETERAN) and isInRaidChecks) or false isInDelve = (not isInGroupDungeon and (isInAnyDungeon and dungeonDifficulty == DUNGEON_DIFFICULTY_NONE and isInRaidChecks)) or false end * additional note: why "and true" on the 'isInRaidChecks =' line - surely superfluous to the statement!? (sorry I might be missing something obvious there)
Last edited by Sensei27 : 03/17/22 at 02:57 PM.
|
![]() |
![]() |
Sensei27 |
View Public Profile |
Send a private message to Sensei27 |
Send email to Sensei27 |
Find More Posts by Sensei27 |
Add Sensei27 to Your Buddy List |
![]() |
|
|
Thanks, will update it with the Blackwood update then.
|
![]() |
![]() |
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 |
![]() |
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.