LibPeriodicTable-3.1

Forum Discussion Thread

Periodic Table adds organizes many WoW items and spells into sets. Like most Ace addons it's focus is efficiency. PT is a LibStub library for managing these sets (ex: Misc.Spell.Mount, Consumable.Food.Edible.Cheese, Misc.Minipet, ClassSpell) for other addons.

If you are looking for an Ace'd alternative to ReagentInfo (the tooltip display) check out Mendeleev by MoonWolf, which you can find on Curse or WoWI.

Item sets are stored as a comma-delimited strings and parsed out into a table only if requested. This speeds up load time and ensures that memory is only used for sets that are actively used.

If you are interested in using PT with your mod feel free to read the source code (there's not a lot). The comments will tell you everything you need to know.

Modules

PeriodicTable's "modules" are simply sets of sets. Particular mods can link the exact sets they need.

  • ClassSpell - Spells for all classes with subsets for each tree.
  • Consumable - Foods, Potions, Elixirs, Buffing items including type (fruit, meat, etc), quality (inedible, buff) and HP-recovery info.
  • CurrencyItems - Items purchasable with various currencies.
  • Gear - Socketed gear, Trinkets, Vendor Badge gear
  • GearSet - Set Gear. Tier, Reputation, PvP, etc.
  • InstanceLoot - Loot tables for instances and the bosses in those instances (only higher-level instances currently)
  • InstanceLootHeroic - Loot tables for heroic instances
  • Misc - Random stuff like Currency, Containers, Mounts, etc.
  • Reputation - Rewards and Turnins for factions
  • Tradeskill : Profession recipes
  • TradeskillLevels : Profession recipes with level requirements
  • TradeskillResultMats : Some kinda mats required sets for the recipes it looks like

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of ahua ahua Jul 26, 2012 at 10:01 UTC - 0 likes

    Were many trade skills and levels removed?
    Elixir of Minor Accuracy, Potion of Nightmares, Resurgent Healing Potion, Cataclysm Potions, Fur Lining, and more.

    Last edited Jul 26, 2012 by ahua
  • Avatar of Tostie Tostie May 11, 2011 at 16:01 UTC - 0 likes

    Is it correct The alterac vallley items are not in the lib anymore ? Like the armors/ wingman mats etc..

    If I am wrong where can I find em ? am lost

  • Avatar of MuffinManKen MuffinManKen Feb 07, 2011 at 07:54 UTC - 0 likes

    The Hyjal Herb bag has been in LibPT since Jan 13, so the fix was already there. Mr Plow just needs to be updated with the latest version.

    This is when it was added: r337 | elkano | 2011-01-13

  • Avatar of in2it in2it Jan 29, 2011 at 09:16 UTC - 0 likes

    Im really sorry about that and thanks for the fast reply

  • Avatar of MuffinManKen MuffinManKen Jan 29, 2011 at 08:41 UTC - 0 likes

    "I've tried reporting problems to them earlier but I gave up on the idea, nothing happened."

    Really? Your soul shard issue was fixed 3 days after you posted about it. If you want us to go out of our way to fix things for you you might want to try not implying to the world at large that we're a bunch of slackers.

    And if you want to report a bug and track it's status, perhaps you should use the Ticket system.

  • Avatar of in2it in2it Jan 28, 2011 at 09:03 UTC - 0 likes

    This is me being lazy again regarding the Hyjal herb bag, this is my post from curse.com

    Yesterday I equipped my new 36 slot herb bag, Hyjal Expedition Bag http://www.wowhead.com/item=54446

    and I got problems. I put it in the bank and then started right clicking my herbs in the inventory and they went to the new bank exactly as they should. Then I did a /mp bank theworks and MrPlow started to move things out of the bag and filled up my other bags with those herbs and when it didnt fit all herbs in the other bags it seemed like MrPlow started looping so I just /mp stop Apparently MrPlow doesn't recognize the Hyjal bag as a herb bag. I will go back in that little file I've tweaked in earlier (see below) and see to it that the bag is where it should be.

    In the end this isn't a MrPlow error but the guys who develops the addon LibPeriodicTable-3.1 that MrPlow uses. I've tried reporting problems to them earlier but I gave up on the idea, nothing happened.

    I think I will paste this to them too so they notice unless a bunch of other ppl already told them.

    Thanks for this great addon, I use it a billion times a day :)

    Interface: 30200 Title: Mr Plow Author: Wobin Notes: Regain that wasted space! Version: 10.1 X-Category: Inventory LoadOnDemand: 0 SavedVariables: MrPlowDB SavedVariablesPerCharacter: MrPlowIgnoreDB OptionalDeps: Ace3, LibPeriodicTable-3.1, LibDBIcon-1.0 X-Curse-Packaged-Version: v10.2.6.5-Beta**

  • Avatar of GRiMoku GRiMoku Jan 15, 2011 at 18:12 UTC - 0 likes

    Cata flasks...please and thank you.

  • Avatar of in2it in2it Jan 07, 2011 at 08:30 UTC - 0 likes

    I have found what I belive is an error in the DB. I solved a problem I have with the addon MrPlow, http://www.wowace.com/addons/mr-plow/, by deleting a line in LibPeriodic Table-3.1-Misc\LibPeriodicTable-3.1-Misc.lua

    This is what I wrote on Curse.com MrPlow addon (yeah Im lazy)

    "Ok, I found a solution to my trouble with old warlock bags. I don't recommend you do this unless you have some clue about computers and understand what I did.

    The file called "LibPeriodicTable-3.1-Misc.lua" contains information about a lot of items, for example "containers".

    They have filled in the warlock bags as "basic" bags witch normal bags are listed as, they just forgot to remove them as warlock bags as well. I guess that causes problems. My solution, delete the whole line with the warlock bags. Im not sure if this solution of mine is a really good one, but it works for me.

    Before you edit ANYTHING in that file make a backup of the original so you know how that one looked and can roll back if everything went wrong, ofc you can also reinstall the whole MrPlow addon so its not the end of the world if you mess up.

    This is the file you should edit:

    AddOns\MrPlow\Libs\LibPeriodic Table-3.1-Misc\LibPeriodicTable-3.1-Misc.lua

    On row 15 it says:

    ["Misc.Bag.Special.Soulshard"]="22243:12,22244:16,21340:20,21341:24,21342:28,21872:28,41597:32",

    I deleted the whole line, these numbers on the bags can, as I mentioned earlier, also be found on row 5 "Misc.Bag.Basic"".

    I dont know if the author implemented anything wrong but I highly doubt it.

    Thanks for a great addon and I hope I contributed a bit... :)

  • Avatar of bhaelochon bhaelochon Dec 02, 2010 at 01:18 UTC - 0 likes

    Is there a reason you keep updating the addon but never change the game version to at least 4.0.1?

  • Avatar of TBABlackPanther TBABlackPanther Jul 01, 2010 at 22:59 UTC - 0 likes

    Hi i got this Error on german realm:

    5x LibPeriodicTable-3.1-90006:285: Invalid arg1: invalid item. LibPeriodicTable-3.1-90006:285: in function <...e\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua:280> (tail call): ?: MiniPet-5.1.215\Companions.lua:608: in function `OnCheckItem' LibLordFarlander-Randomizer-2.0-90152:370: in function <...r-Randomizer-2.0\LibLordFarlander-Randomizer-2.0.lua:317> (tail call): ?: MiniPet-5.1.215\MiniPet.lua:470: in function `OnUpdate' LibLordFarlander-UI-2.0-90177:443: in function <...\LibLordFarlander-UI-2.0\LibLordFarlander-UI-2.0.lua:438>

    Locals: self = <table> { ItemSearch = <function> @ DataStore\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua:344: GetSetString = <function> @ DataStore\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua:244: IsSetMulti = <function> @ DataStore\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua:249: ItemInSet = <function> @ DataStore\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua:280: AddData = <function> @ DataStore\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua:304: embedversions = <table> {} IterateSet = <function> @ DataStore\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua:264: sets = <table> {} GetSetTable = <function> @ DataStore\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua:239: } item = 0 set = "PetAndMountDatabase.Critters" assert = <function> defined =[C]:-1 type = <function> defined =[C]:-1 getItemID = <function> @ DataStore\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua:50: cache = <table> { InstanceLoot.The Shattered Halls.Warbringer O'mrogg = <table> {} InstanceLoot.Wailing Caverns.Lord Pythas = <table> {} Reputation.Reward.Ironforge = <table> {} InstanceLoot.Blackrock Depths.Panzor the Invincible = <table> {} InstanceLoot.Blackrock Depths.Ok'thor the Breaker = <table> {} InstanceLoot.Upper Blackrock Spire.Warchief Rend Blackhand = <table> {} Reputation.Reward.Undercity = <table> {} InstanceLootHeroic.Auchenai Crypts.Shirrak the Dead Watcher = <table> {} InstanceLootHeroic.Icecrown Citadel.Gunship Armory.10 Man = <table> {} InstanceLootHeroic.Ulduar Hub = <table> {} Tradeskill.Crafted.Engineering.Gnomish = <table> {} InstanceLoot.Trial of the Crusader.The Twin Val'kyr.25 Man = <table> {} InstanceLoot.Zul'Farrak.Zul'Farrak Dead Hero = <table> {} InstanceLoot.The Violet Hold.Moragg = <table> {} InstanceLoot.Lower Blackrock Spire.Spirestone Lord Magus = <table> {} Misc.QuestMats.Arcanum.Protection = <table> {} Reputation.Turnin.Ravenholdt = <table> {} InstanceLoot.Lower Blackrock Spire.Spirestone Battle Lord = <table> {} InstanceLoot.Dire Maul Arena.Mushgog = <table> {} InstanceLoot.Dire Maul.Tendris Warpwood = <table> {} InstanceLootHeroic.Icecrown Citadel.Prince Valanar = <table> {} InstanceLootHeroic.Naxxramas.Sapphiron = <table> {} InstanceLoot.The Obsidian Sanctum.Sartharion = <table> {} InstanceLootHeroic.The Steamvault = <table> {} InstanceLoot.Uldaman.Ancient Stone Keeper = <table> {} InstanceLoot.Serpentshrine Cavern.Hydross the Unstable = <table> {} InstanceLoot.Naxxramas.Patchwerk = <table> {} InstanceLootHeroic.The Arcatraz.Wrath-Scryer Soccothrates = <table> {} InstanceLoot.Uldaman.Ironaya = <table> {} CurrencyItems.Isle of Conquest Mark of Honor = <table> {} InstanceLoot.Ruins of Ahn'Qiraj.Moam = <table> {} InstanceLoot.Blackrock Depths.Seeth'rel = <table> {} CurrencyItems.Arena Points = <table> {} InstanceLoot.Upper Blackrock Spire.Jed Runewatcher = <table> {} InstanceLoot.Trial of the Champion.The Black Knight = <table> {} InstanceLoot.Ahn'kahet: The Old Kingdom.Prince Taldaram = <table> {} InstanceLoot.The Stockade.Hamhock = <table> {} InstanceLoot.Naxxramas.Four Horsemen Chest = <table> {} InstanceLootHeroic.Ulduar.Cache of Storms = <table> {} InstanceLoot.Zul'Gurub.Wushoolay = <table> {} InstanceLoot.Lower Blackrock Spire.Ghok Bashguud = <table> {} Reputation.Reward.Wintersaber Trainers = <table> {} Misc.Bag.Special.Jewelcrafting = <table> {} InstanceLoot.Halls of Reflection.Marwyn = <table> {} InstanceLootHeroic.The Violet Hold.Cyanigosa = <table> {} Reputation.Turnin.The Scryers = <table> {} InstanceLoot.Karazhan.The Curator = <table> {} CurrencyItems.Brewfest Prize Token = <table> {} InstanceLoot.The Stockade.Kam Deepfury = <table> {} Tradeskill.Crafted.Alchemy = <table> {} Reputation.Reward.Frostwolf Clan = <table> {} InstanceLo -

Facts

Date created
Sep 21, 2008
Category
Last update
Nov 23, 2014
Development stage
Release
Language
  • enUS
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)
Curse link
LibPeriodicTable-3.1
Reverse relationships
35
Downloads
267,182
Recent files
  • A: r468 for 6.0.3 Nov 23, 2014
  • A: r467 for 6.0.3 Nov 18, 2014
  • A: r466 for 6.0.3 Nov 17, 2014
  • A: r465 for 6.0.3 Nov 17, 2014
  • A: r464 for 6.0.3 Nov 14, 2014

Authors