![]() ![]() Have been getting this error since Ulduar Patch anyone else getting this error? And if so is a solution planned?ġ06x DataStore_Containers/DataStore_a:213: attempt to call global 'GetContainerItemInfo' (a nil value) Local startTime, duration, isEnabled = GetInventoryItemCooldown("player", slotID)Īlso lines 396 & 397 bag.icon = GetInventoryItemTexture("player", C_Container.ContainerIDToInventoryID(bagID))īag.link = GetInventoryItemLink("player", C_Container.ContainerIDToInventoryID(bagID)) Return select(2, C_Container.GetContainerItemInfo(-1, slotID)) return GetInventoryItemCount("player", slotID) Return C_Container.GetContainerItemLink(-1, slotID) return GetInventoryItemLink("player", slotID) Local freeSlots, bagType = C_Container.GetContainerNumFreeSlots(-1) -1 = player bank Return NUM_BANKGENERIC_SLOTS or 28 - hardcoded in case the constant is not set Local startTime, duration, isEnabled = C_Container.GetContainerItemCooldown(bagID, slotID) GetCooldown = function(self, slotID, bagID) Local _, count = C_Container.GetContainerItemInfo(bagID, slotID) Return C_Container.GetContainerItemLink(bagID, slotID) Local freeSlots, bagType = C_Container.GetContainerNumFreeSlots(bagID) Return C_Container.GetContainerNumSlots(bagID) The development of DataStore compatible modules is not authorized without my express consent.Īny authorized development must respect the coding style/structure of existing modules, and respect Blizzard's TOS.Ĭurrent list of authorized modules : none API : Samples of commonly used methods (work-in-progress).Project overview : A slightly more detailed overview of the scope.DataStore_Talents : Talent trees & GlyphsĮach module will exist as a separate addon, so that authors can package only the ones they want with their own project.DataStore_Crafts : Tradeskills & Recipes.DataStore_Containers : Bags, Bank and Guild Banks.DataStore_Characters : Base information about your characters.DataStore_Agenda : Calendar & Raid ID's.These libraries cannot and should not be embedded, as they all manage their respective SavedVariables. However, the goal is not to put _everything_ into these addons, they must be seen as an abstraction layer and a service provider, nothing more. For instance, DataStore_Crafts embeds LibPeriodicTable-3.1-Tradeskill allowing it to give more than just scanning & storing data. The scope of each addons is to provide common methods for client addons. Nothing is final at this point though, feel free to contribute, as the concept can and will be perfected. If client addons want to store data from foreign accounts, the database will be ready for it. The core of the database is based on my work in Altoholic, and is thus designed with multiple-account support in mind. each module is an independant addon, and therefore has its own SavedVariables file, meaning that you could clean _Crafts without disturbing _Containers.addon authors can spend more time coding higher level features. ![]() ![]() data is stored only once for all client addons (memory gain).data is scanned only once for all client addons (performance gain).Their respective purpose is to offer scanning and storing services to other addons. DataStore is the main component of a series of addons that serve as data repositories in game. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |