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/29/24 07:48 PM |
Created: | 01/21/19 10:18 AM |
Monthly downloads: | 15,148 |
Total downloads: | 3,314,934 |
Favorites: | 698 |
MD5: |
LIBSETS_SETTYPE_ITERATION_BEGIN = 1 LIBSETS_SETTYPE_ARENA = 1 --"Arena" LIBSETS_SETTYPE_BATTLEGROUND = 2 --"Battleground" LIBSETS_SETTYPE_CRAFTED = 3 --"Crafted" LIBSETS_SETTYPE_CYRODIIL = 4 --"Cyrodiil" LIBSETS_SETTYPE_DAILYRANDOMDUNGEONANDICREWARD = 5 --"DailyRandomDungeonAndICReward" LIBSETS_SETTYPE_DUNGEON = 6 --"Dungeon" LIBSETS_SETTYPE_IMPERIALCITY = 7 --"Imperial City" LIBSETS_SETTYPE_MONSTER = 8 --"Monster" LIBSETS_SETTYPE_OVERLAND = 9 --"Overland" LIBSETS_SETTYPE_SPECIAL = 10 --"Special" LIBSETS_SETTYPE_TRIAL = 11 --"Trial" LIBSETS_SETTYPE_MYTHIC = 12 --"Mythic" LIBSETS_SETTYPE_IMPERIALCITY_MONSTER = 13 -- "Imperial City monster" LIBSETS_SETTYPE_CYRODIIL_MONSTER = 14 --"Cyrodiil monster" LIBSETS_SETTYPE_CLASS = 15 -- "Class sets -> Dropped in 'Endless Archive'" --Only for iterations from 1 (LIBSETS_SETTYPE_ITERATION_BEGIN ) to the maximum LIBSETS_SETTYPE_ITERATION_END = maximum setType (currently: LIBSETS_SETTYPE_IMPERIALCITY_MONSTER)
[1] = "LIBSETS_DROP_MECHANIC_MAIL_PVP_REWARDS_FOR_THE_WORTHY", --Rewards for the worthy (Cyrodiil/Battleground mail) [2] = "LIBSETS_DROP_MECHANIC_CITY_CYRODIIL_BRUMA", --City Bruma (quartermaster) [3] = "LIBSETS_DROP_MECHANIC_CITY_CYRODIIL_CROPSFORD", --City Cropsford (quartermaster) [4] = "LIBSETS_DROP_MECHANIC_CITY_CYRODIIL_VLASTARUS", --City Vlastarus (quartermaster) [5] = "LIBSETS_DROP_MECHANIC_ARENA_STAGE_CHEST", --Arena stage chest [6] = "LIBSETS_DROP_MECHANIC_MONSTER_NAME", --The name of a monster (e.g. a boss in a dungeon) is specified in the excel and transfered to the setInfo table entry with the attribute "dropMechanicNames" (a table containing the monster name in different languages) [7] = "LIBSETS_DROP_MECHANIC_OVERLAND_BOSS_DELVE", --Overland delve bosses [8] = "LIBSETS_DROP_MECHANIC_OVERLAND_WORLDBOSS", --Overland world group bosses [9] = "LIBSETS_DROP_MECHANIC_OVERLAND_BOSS_PUBLIC_DUNGEON", --Overland public dungeon bosses [10] = "LIBSETS_DROP_MECHANIC_OVERLAND_CHEST", --Overland chests [11] = "LIBSETS_DROP_MECHANIC_BATTLEGROUND_REWARD", --Battleground rewards [12] = "LIBSETS_DROP_MECHANIC_MAIL_DAILY_RANDOM_DUNGEON_REWARD", --Daily random dungeon mail rewards [13] = "LIBSETS_DROP_MECHANIC_IMPERIAL_CITY_VAULTS", --Imperial city vaults [14] = "LIBSETS_DROP_MECHANIC_LEVEL_UP_REWARD", --Level up reward [15] = "LIBSETS_DROP_MECHANIC_ANTIQUITIES", --Antiquities (Mythic set items) [16] = "LIBSETS_DROP_MECHANIC_BATTLEGROUND_VENDOR", --Battleground vendor [17] = "LIBSETS_DROP_MECHANIC_TELVAR_EQUIPMENT_LOCKBOX_MERCHANT", --Tel Var equipment lockbox merchant [18] = "LIBSETS_DROP_MECHANIC_AP_ELITE_GEAR_LOCKBOX_MERCHANT", --Alliance points Elite gear merchant [19] = "LIBSETS_DROP_MECHANIC_REWARD_BY_NPC", --A named NPC rewards this item [20] = "LIBSETS_DROP_MECHANIC_OVERLAND_OBLIVION_PORTAL_FINAL_CHEST", --Oblivion portal final boss chest [21] = "LIBSETS_DROP_MECHANIC_DOLMEN_HARROWSTORM_MAGICAL_ANOMALIES", --Dolmen, Harrowstorms, Magical anomalies reward [22] = "LIBSETS_DROP_MECHANIC_DUNGEON_CHEST", --Chests in a dungeon Truhen in einem Verlies [23] = "LIBSETS_DROP_MECHANIC_DAILY_QUEST_REWARD_COFFER", --Daily quest reward coffer Tägliche Quest Belohnungs-Kisten [24] = "LIBSETS_DROP_MECHANIC_FISHING_HOLE", --Fishing hole [25] = "LIBSETS_DROP_MECHANIC_OVERLAND_LOOT", --Loot from overland items [26] = "LIBSETS_DROP_MECHANIC_TRIAL_BOSS", --Trial bosses [27] = "LIBSETS_DROP_MECHANIC_MOB_TYPE", --A type of mob/critter [28] = "LIBSETS_DROP_MECHANIC_GROUP_DUNGEON_BOSS", --Bosses in group dungeons [29] = "LIBSETS_DROP_MECHANIC_CRAFTED", --Crafted [30] = "LIBSETS_DROP_MECHANIC_PUBLIC_DUNGEON_CHEST", -- Public dungeon chest [31] = "LIBSETS_DROP_MECHANIC_HARVEST_NODE", -- Harvest crafting nodes [32] = "LIBSETS_DROP_MECHANIC_IMPERIAL_CITY_TREASURE_TROVE_SCAMP", --Imperial city treasure scamps / Kaiserstadt Schatzgoblin [33] = "LIBSETS_DROP_MECHANIC_CITY_CYRODIIL_CHEYDINHAL", -- Cyrodiil Cheydinhal city [34] = "LIBSETS_DROP_MECHANIC_CITY_CYRODIIL_CHORROL_WEYNON_PRIORY", -- Cyrodiil Weyon Priory, Chorrol [35] = "LIBSETS_DROP_MECHANIC_CITY_CYRODIIL_CHEYDINHAL_CHORROL_WEYNON_PRIORY", -- Cyrodiil Cheydinhal city / Weyon Priory, Chorrol [36] = "LIBSETS_DROP_MECHANIC_CYRODIIL_BOARD_MISSIONS", -- Cyrodiil board missions [37] = "LIBSETS_DROP_MECHANIC_ENDLESS_ARCHIVE", -- Endless Archive dungeon
DLC_TYPE_BASE_GAME = 0 DLC_TYPE_CHAPTER = 1 DLC_TYPE_DUNGEONS = 2 DLC_TYPE_ZONE = 3 DLC_TYPE_NORMAL_PATCH = 4
DLC_BASE_GAME 0 ... -> See file LibSets_Constants_All.lua, table possibleDlcIds for the DLC constants --Iterators DLC_ITERATION_BEGIN = DLC_BASE_GAME DLC_ITERATION_END = maximum DLC id
##DependsOn: LibSets>=000602
--This is wrong! Do not include this in your addon's txt file /libs/LibSets/LibSets_Constants.Lua /libs/LibSets/LibSets.Lua ...
If not LibSets or not LibSets.checkIfSetsAreLoadedProperly() then --LibSets is currentls scanning and/or not ready! Abort here myAddon.libSetsReady = false else myAddon.libSetsReady = true end --Wherever you use LibSets check: if myAddon.libSetsReady then ---do whatever you want with LibSets end
--Register a custom tooltip control of type CT_TOOLTIP that inherits from ZO_ItemIconTooltip for the LibSets added tooltip data --(added to the bottom, during function OnAddGameData is called) -->Important: The tooltipCtrl of tooltipCtrlName !must! have a subtable dataEntry.data or .data which contains an entry .itemLink with the itemLink of the item, --> or the tooltipCtrl of tooltipCtrlName !must! have the entries .bagIndex and .slotIndex where the itemLink can be build from! --tooltipCtrlName String --addonName String -->Returns true if LibSets tooltip hook was added to the internal tables (will be hooked at EVENT_PLAYER_ACTIVATED once, or if a new hook is added later via this function) -->Returns false if it was already added -->Returns nil if any error happens function LibSets.RegisterCustomTooltipHook(tooltipCtrlName, addonName)
<TopLevelControl name="YourAddonNameSetTooltipTopLevel" inherits="TooltipTopLevel"> <Controls> <Tooltip name="YourAddonNameSetTooltip" inherits="ZO_ItemIconTooltip"/> </Controls> </TopLevelControl>
function WL.showItemLinkTooltip(control, parent, anchor1, offsetX, offsetY, anchor2) if control == nil or control.data == nil or control.data.itemLink == nil then ClearTooltip(WishListTooltip) return nil end if not WL.checkIfItemLinkItemIdIsValid(control.data.itemLink, nil) then return end --d("itemLink: " .. control.data.itemLink) anchor1 = anchor1 or TOPRIGHT anchor2 = anchor2 or TOPLEFT offsetX = offsetX or -100 offsetY = offsetY or 0 InitializeTooltip(WishListTooltip, parent, anchor1, offsetX, offsetY, anchor2) WishListTooltip:SetLink(control.data.itemLink) if (control.data.style) then WishListTooltip:AddLine(LocalizeString("\n|c<<1>><<Z:2>>|r", ZO_NORMAL_TEXT:ToHex(), control.data.style), "ZoFontGameSmall") end end
lib.RegisterCustomSetSearchResultsListContextMenu(addonName string, headerName string:optional, submenuName string:optional, submenuEntries table, visibleFunc function:optional)
local submenuEntries = {} local subMenuEntry = { label = "Test entry name", callback = function() d("Test entry name") end } table.insert(submenuEntries, subMenuEntry) local visibleFunc = function(rowControl, setId) if rowControl == nil then return false end return true end lib.RegisterCustomSetSearchResultsListContextMenu("MyAddonTest", "Header test", "Submenu test", submenuEntries, visibleFunc)
* GetItemLinkSetInfo(*string* _itemLink_, *bool* _equipped_) ** _Returns:_ *bool* _hasSet_, *string* _setName_, *integer* _numBonuses_, *integer* _numEquipped_, *integer* _maxEquipped_, *integer* _setId_
LibSets
------------------------------------------------------------------------ -- Global library check functions ------------------------------------------------------------------------ --Returns a boolean value, true if the sets of the game were already loaded/ false if not --> Returns: boolean areSetsLoaded function lib.AreSetsLoaded() --Returns a boolean value, true if the sets of the game are currently scanned and added/updated/ false if not --> Returns: boolean isCurrentlySetsScanning function lib.IsSetsScanning() --Returns a boolean value, true if the sets database is properly loaded yet and is not currently scanning --or false if not. --This functions combines the result values of the functions LibSets.AreSetsLoaded() and LibSets.IsSetsScanning() function lib.checkIfSetsAreLoadedProperly()
--Returns true if the setId provided got a set proc which is currently allowed within PvP/AvA campaigns --> Parameters: setId number: The set's setId --> Returns: boolean isSetWithProcAllowedInPvP function lib.IsSetWithProcAllowedInPvP(setId) --Returns the setsData of all the setIds which are allowed proc sets in PvP/AvA campaigns --> Parameters: none --> Returns: nilable:LibSetsAllSetProcDataAllowedInPvP table function lib.GetAllSetDataWihtProcAllowedInPvP()
LibSets.GetSetWeaponTypes(setId)
--Returns the zoneIds (table) which are linked to a item set collection's categoryId --Not all categories are connected to a zone though! The result will be nil in these cases. --Example return table: {148} function LibSets.GetItemSetCollectionZoneIds(categoryId) --Returns the categoryIds (table) which are linked to a item set collection's zoneId --Not all zoneIds are connected to a category though! The result will be nil in these cases. --Example return table: {39} function LibSets.GetItemSetCollectionCategoryIds(zoneId) --Returns the parent category data (table) containing the zoneIds, and possible boolean parameters --isDungeon, isArena, isTrial of ALL categoryIds below this parent -> See file LibSets_data_all.lua -> --table lib.setDataPreloaded -> table key LIBSETS_TABLEKEY_SET_ITEM_COLLECTIONS_ZONE_MAPPING --Example return table: { parentCategory=5, category=39, zoneIds={148}, isDungeon=true},--Arx Corinium function LibSets.GetItemSetCollectionParentCategoryData(parentCategoryId) --Returns the category data (table) containing the zoneIds, and possible boolean parameters --isDungeon, isArena, isTrial -> See file LibSets_data_alllua -> table lib.setDataPreloaded -> --table key LIBSETS_TABLEKEY_SET_ITEM_COLLECTIONS_ZONE_MAPPING --Example return table: { parentCategory=5, category=39, zoneIds={148}, isDungeon=true},--Arx Corinium function LibSets.GetItemSetCollectionCategoryData(categoryId) --Get the current map's zoneIndex and via the index get the zoneId, the parent zoneId, and return them --+ the current zone's index and parent zone index --> Returns: number currentZoneId, number currentZoneParentId, number currentZoneIndex, number currentZoneParentIndex function LibSets.GetCurrentZoneIds() --Open the item set collections book of the current parentZoneId. If more than 1 categoryId was found for the parentZoneId, --the 1st will be opened! Returns true if UI has shown a category node successfully function LibSets.OpenItemSetCollectionBookOfCurrentParentZone() --Open the item set collections book of the current zoneId. If more than 1 categoryId was found for the zoneId, --the 1st will be opened! Returns true if UI has shown a category node successfully function LibSets.OpenItemSetCollectionBookOfCurrentZone()
--Open the worldmap and show the map of the zoneId --> Parameters: zoneId number: The zone's zoneId function lib.openMapOfZoneId(zoneId) --Open the worldmap, get the zoneId of the wayshrine wayshrineNodeId and show the wayshrine wayshrineNodeId on the map --> Parameters: wayshrineNodeId number: The wayshrine's nodeIndex function lib.showWayshrineNodeIdOnMap(wayshrineNodeId) --Returns the wayshrineNodeIds's related zoneId, where this wayshrine is located --> Parameters: wayshrineNodeId number --> Returns: zoneId number function lib.GetWayshrinesZoneId(wayshrineNodeId)
--Returns the wayshrines as table for the setId. The table contains up to 3 wayshrines for wayshrine nodes in the different factions, --e.g. wayshrines={382,382,382}. All entries can be the same, or even a negative value which means: No weayshrine is known --Else the order of the entries is 1=Admeri Dominion, 2=Daggerfall Covenant, 3=Ebonheart Pact --> Parameters: setId number: The set's setId --> withRelatedZoneIds boolean: Also provide a mappingTable as 2nd return value which contains the wayshrine's zoneId --> in this format: wayshrineNodsId2ZoneId = { [wayshrineNodeId1]= zoneId1, [wayshrineNodeId2]= zoneId2,... } --> Returns: wayshrineNodeIds table function lib.GetWayshrineIds(setId, withRelatedZoneIds)
if LibSets and LibSets.AreSetsLoaded and LibSets.AreSetsLoaded() then --Sets are provided end
--Returns a boolean value, true if the sets of the game were already loaded/ false if not --> Returns: boolean areSetsLoaded function LibSets.AreSetsLoaded() --Returns a boolean value, true if the sets of the game are currently scanned and added/updated/ false if not --> Returns: boolean isCurrentlySetsScanning function LibSets.IsSetsScanning()
File Name |
Version |
Size |
Uploader |
Date |
0.6.8 |
1MB |
Baertram |
05/29/24 10:57 AM |
|
0.6.7 |
1MB |
Baertram |
03/28/24 02:51 PM |
|
0.6.6 |
1MB |
Baertram |
03/27/24 08:17 AM |
|
0.6.5 |
1MB |
Baertram |
03/12/24 03:12 PM |
|
0.6.3 |
1MB |
Baertram |
11/04/23 05:35 PM |
|
0.6.2 |
1MB |
Baertram |
10/30/23 11:56 AM |
|
0.6.1 |
1MB |
Baertram |
09/04/23 07:47 AM |
|
0.6.0 |
1MB |
Baertram |
08/25/23 12:05 PM |
|
0.5.9 |
999kB |
Baertram |
05/18/23 08:09 AM |
|
0.5.8 |
1006kB |
Baertram |
04/14/23 05:14 PM |
|
0.5.7 |
1006kB |
Baertram |
04/10/23 04:06 PM |
|
0.5.6 |
1006kB |
Baertram |
04/10/23 03:16 PM |
|
0.5.5 |
1004kB |
Baertram |
04/10/23 09:36 AM |
|
0.5.4 |
998kB |
Baertram |
03/17/23 05:28 PM |
|
0.5.3 |
998kB |
Baertram |
02/01/23 05:42 PM |
|
0.5.1 |
970kB |
Baertram |
01/05/23 12:25 PM |
|
0.5.0 |
961kB |
Baertram |
09/25/22 10:31 AM |
|
0.4.9 |
1MB |
Baertram |
09/19/22 06:27 PM |
|
0.4.8 |
1MB |
Baertram |
07/17/22 08:53 AM |
|
0.4.7 |
922kB |
Baertram |
06/25/22 08:29 AM |
|
0.4.6 |
922kB |
Baertram |
05/15/22 03:45 PM |
|
0.4.5 |
1MB |
Baertram |
04/20/22 05:43 PM |
|
0.4.4 |
897kB |
Baertram |
03/29/22 12:40 PM |
|
0.4.3 |
897kB |
Baertram |
03/27/22 11:25 AM |
|
0.4.2 |
893kB |
Baertram |
03/20/22 02:13 PM |
|
0.4.1 |
893kB |
Baertram |
03/15/22 03:48 AM |
|
0.4.0 |
893kB |
Baertram |
03/12/22 04:28 PM |
|
0.3.9 |
893kB |
Baertram |
03/12/22 10:53 AM |
|
0.3.8 |
893kB |
Baertram |
03/12/22 05:13 AM |
|
0.3.7 |
838kB |
Baertram |
01/23/22 09:38 AM |
|
0.3.6 |
980kB |
Baertram |
10/30/21 12:33 PM |
|
0.3.5 |
980kB |
Baertram |
10/29/21 05:39 AM |
|
0.3.4 |
889kB |
Baertram |
09/16/21 12:22 PM |
|
0.3.3 |
834kB |
Baertram |
08/23/21 05:21 PM |
|
0.3.2 |
829kB |
Baertram |
08/05/21 08:28 AM |
|
0.3.0 |
824kB |
Baertram |
06/01/21 06:04 AM |
|
0.2.9 |
894kB |
Baertram |
03/14/21 02:05 PM |
|
0.2.8 |
951kB |
Baertram |
02/10/21 06:06 PM |
|
0.2.7 |
951kB |
Baertram |
02/10/21 02:23 PM |
|
0.2.6 |
944kB |
Baertram |
01/30/21 09:32 AM |
|
0.2.4 |
794kB |
Baertram |
11/21/20 06:49 PM |
|
0.2.3 |
916kB |
Baertram |
11/02/20 07:00 AM |
|
0.2.2 |
820kB |
Baertram |
09/19/20 08:43 AM |
|
0.2.1 |
820kB |
Baertram |
08/07/20 08:32 AM |
|
0.2.0 |
679kB |
Baertram |
05/16/20 06:25 PM |
|
0.1.9 |
679kB |
Baertram |
05/16/20 04:59 AM |
|
0.1.8 |
679kB |
Baertram |
05/10/20 02:58 PM |
|
0.1.7 |
678kB |
Baertram |
05/10/20 01:42 PM |
|
0.1.6 |
678kB |
Baertram |
05/07/20 04:42 PM |
|
0.1.5 |
837kB |
Baertram |
03/31/20 03:18 AM |
|
0.1.4 |
842kB |
Baertram |
03/27/20 01:40 PM |
|
0.1.3 |
842kB |
Baertram |
02/24/20 05:20 AM |
|
0.1.2 |
841kB |
Baertram |
11/28/19 02:41 PM |
|
0.1.1 |
835kB |
Baertram |
10/12/19 10:49 AM |
|
0.1.0 |
780kB |
Baertram |
08/23/19 10:24 AM |
|
0.0.9 |
936kB |
Baertram |
07/28/19 09:03 AM |
|
0.0.8 |
924kB |
Baertram |
07/27/19 08:30 AM |
|
0.0.6 |
911kB |
Baertram |
07/14/19 11:02 AM |
|
0.0.5 |
14kB |
Baertram |
05/19/19 06:24 PM |
|
0.0.4 |
8kB |
Baertram |
02/03/19 08:21 AM |
|
0.0.3 |
7kB |
Baertram |
02/01/19 10:40 AM |
|
0.0.2 |
7kB |
Baertram |
01/30/19 04:11 PM |
|
0.0.1 |
5kB |
01/21/19 10:18 AM |
![]() |
Comment Options |
Dueydoodah |
View Public Profile |
Send a private message to Dueydoodah |
Find More Posts by Dueydoodah |
Add Dueydoodah 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 |
![]() |
|
Forum posts: 1
File comments: 10
Uploads: 0
|
I always wanted an addon that simply shows me, in the item tool tip, where a set item comes from.
E.g. craftable, dungeon, trial and which one. Will this be possible in the future? |
![]() |
![]() |
NachtkindFX |
View Public Profile |
Send a private message to NachtkindFX |
Find More Posts by NachtkindFX |
Add NachtkindFX to Your Buddy List |
![]() |
||
|
![]() |
|
![]() |
![]() |
Kyoma |
View Public Profile |
Send a private message to Kyoma |
Find More Posts by Kyoma |
Add Kyoma to Your Buddy List |
![]() |
|||
|
Please use the Addon Itemization Browser for this so long. |
||
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|
Forum posts: 1
File comments: 10
Uploads: 0
|
I had a feeling it might me that way.
Thanks for the answers. |
![]() |
![]() |
NachtkindFX |
View Public Profile |
Send a private message to NachtkindFX |
Find More Posts by NachtkindFX |
Add NachtkindFX to Your Buddy List |
![]() |
|
Forum posts: 2
File comments: 15
Uploads: 0
|
LUA Errors
Hi Baertram,
writworthy meldete eine Abhängigkeit von libset. Daher habe ich die libset heute installiert. Beim MouseOver über die Meisterschriebe hagelte es LUA Meldungen BG [edit:] Hing wohl damit zusammen, dass libset initial einen Scan mache muss, der nicht nicht fertig war? Später kam eine Meldung, ich sollte reloadui machen. Danach trat der LUA Fehler nicht mehr auf. user:/AddOns/LibSets/LibSets.lua:319: attempt to index a nil value stack traceback: user:/AddOns/LibSets/LibSets.lua:319: in function 'lib.GetSetName' |caaaaaa<Locals> setId = 75, lang = "de" </Locals>|r (tail call): ? user:/AddOns/WritWorthy/WritWorthy_I18N.lua:93: in function 'WritWorthy.Str' |caaaaaa<Locals> key = 75, how = tbl, _ = 1, lang = "de" </Locals>|r (tail call): ? user:/AddOns/WritWorthy/WritWorthy_Smithing.lua:1002: in function 'Parser:GetSetBonus' |caaaaaa<Locals> self = tbl, set_id = 75, r = tbl </Locals>|r user:/AddOns/WritWorthy/WritWorthy_Smithing.lua:1051: in function 'Parser:ParseItemLink' |caaaaaa<Locals> self = tbl, item_link = "|H0:item:121531:6:1:0:0:0:6...", fields = tbl, item_num = 65, material_num = 192, quality_num = 5, set_num = 75, trait_num = 17, motif_num = 34 </Locals>|r user:/AddOns/WritWorthy/WritWorthy.lua:71: in function 'WritWorthy.ToMatKnowList' |caaaaaa<Locals> item_link = "|H0:item:121531:6:1:0:0:0:6...", parser = tbl </Locals>|r user:/AddOns/WritWorthy/WritWorthy.lua:224: in function 'WritWorthy.TooltipInsertOurText' |caaaaaa<Locals> control = ud, item_link = "|H0:item:121531:6:1:0:0:0:6...", unique_id = 4726757705640928529 </Locals>|r user:/AddOns/WritWorthy/WritWorthy.lua:357: in function 'TooltipSetBagItem' |caaaaaa<Locals> control = ud, bagId = 1, slotIndex = 141 </Locals>|r user:/AddOns/ArkadiusTradeToolsSales/ArkadiusTradeToolsSalesTooltipExtensions.lua:223: in function 'self.tooltip.SetBagItem' |caaaaaa<Locals> tooltip = ud, bag = 1, index = 141, itemLink = "|H0:item:121531:6:1:0:0:0:6..." </Locals>|r EsoUI/Ingame/Inventory/InventorySlot.lua:2005: in function '(anonymous)' |caaaaaa<Locals> inventorySlot = ud, bag = 1, index = 141 </Locals>|r EsoUI/Ingame/Utility/ZO_SlotUtil.lua:14: in function 'RunHandlers' |caaaaaa<Locals> handlerTable = tbl, slot = ud, handlers = tbl, i = 1 </Locals>|r EsoUI/Ingame/Inventory/InventorySlot.lua:2366: in function 'ZO_InventorySlot_OnMouseEnter' |caaaaaa<Locals> inventorySlot = ud, buttonPart = ud, listPart = ud </Locals>|r (tail call): ? ZO_StackSplitSource_MouseEnter:3: in function '(main chunk)' |caaaaaa<Locals> self = ud </Locals>|r
Last edited by raspberry : 05/05/19 at 08:22 AM.
|
![]() |
![]() |
raspberry |
View Public Profile |
Send a private message to raspberry |
Find More Posts by raspberry |
Add raspberry to Your Buddy List |
![]() |
|||
|
Re: LUA Errors
Hey,
yes this was the reason.
Lua Code:
I've reported this to the WritWorthy author.
|
||
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|
|
https://github.com/Baertram/LibSets
Updated LibSets on GitHub to automatically check on each LibSets API function, where necessary, if the sets data was already scanned and loaded properly for the current api and language version. So if you call a LibSets function like LibSets.GetSetInfo(setId) and the data is not loaded ywt it won't throw any lua error anymore but return NIL instead. -> So if any LiBSets function will return NIL the data is not loaded or given. You can manually check this via API function checkIfSetsAreLoadedProperly now: Lua Code:
It checks the 2 functions IsSetsScanning() and AreSetsLoaded() + if the SavedVAriables needed are given too (which will be after the reloadui as new sets were scanned and added). |
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|
|
Why are the saved variables not stored machine-wide? It's storing a separate batch of data per server (NA/EU) and per account. Should only have to scan once and store once and have it work for all accounts/servers.
|
![]() |
![]() |
code65536 |
View Public Profile |
Send a private message to code65536 |
Find More Posts by code65536 |
Add code65536 to Your Buddy List |
![]() |
||
|
-> A newer version will even speed up the scan a lot or rather preload the data without a scan. The SVs are stored for each server and for each account as I need to differ them for tests on live and PTS and do not want to copy and duplicate my whole SavedVariables folders. And there is no such option to store it "machine-wide" for all accounts provided by ZOs, so I'm using what is given ![]()
Last edited by Baertram : 05/15/19 at 03:37 AM.
|
|
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
|||
|
Code:
## SavedVariables: LBooks_SavedVariables COLLAB DATAMINED_DATA Code:
LBooks_SavedVariables = { ["Default"] = { ["@Kyoma"] = { ... } } } COLLAB = { ... } DATAMINED_DATA = { ... }
Last edited by Kyoma : 05/15/19 at 05:28 AM.
|
||
![]() |
![]() |
Kyoma |
View Public Profile |
Send a private message to Kyoma |
Find More Posts by Kyoma |
Add Kyoma to Your Buddy List |
![]() |
|
|
Oops, didn't notice you had replied.
Yes, as Kyoma said, you can access saved variables directly. Alternatively, if you want to use the ZOS functions, you can use the final field of ZO_SavedVars:NewAccountWide which lets you specify an account name. For example, in my addon, I do the following, where I manually set the account name to a string of my choosing--in this case, "$InstallationWide". Code:
CombatAlerts.vars = ZO_SavedVars:NewAccountWide("CombatAlertsSavedVariables", 1, nil, CombatAlerts.defaults, nil, "$InstallationWide") |
![]() |
![]() |
code65536 |
View Public Profile |
Send a private message to code65536 |
Find More Posts by code65536 |
Add code65536 to Your Buddy List |
![]() |
||
|
The global variable was known to me but the account parameter chosen not, thanks for the hint.
|
|
![]() |
![]() |
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
![]() |
||
|
nice library btw |
|
![]() |
![]() |
kadeer |
View Public Profile |
Send a private message to kadeer |
Find More Posts by kadeer |
Add kadeer 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.