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 ckaotik ckaotik Apr 16, 2013 at 11:17 UTC - 0 likes

    @MuffinManKen: Go

    And since many entries in LibPT are hand-maintained, it's necessary to have many people working on it since it's a pain to update.

    However, quite a few hand-maintained sets can now be mined as WowHead added quite a few more filters and useful pages, such as Tier sets. Seemed easier at that time to just add them manually instead of extending the miner... More minable sets -> less manual update required -> more frequent and up to date data, me thinks.

    I also agree with JCinDE that it's a shame LPT is so ... untidy (and in some cases outdated, incorrect, duplicate or existing in one forward but not a backward set etc). It's just such a valuable project and only having alpha releases every couple of days|weeks|months doesn't reach most of the people using it. (Also, adding Tier 12 content when Tier 15 becomes available is kind of uncool)

    To keep compatibility to current addons, we'd need a new branch. I suppose the 3.1 came from back then when patch 3.1 was released? So how about a 5.x tag? :)

    Last edited Jul 01, 2013 by ckaotik: Wowhead, not Curse, stupid me!
  • Avatar of JCinDE JCinDE Mar 19, 2013 at 02:11 UTC - 0 likes

    You raise valid points. Perhaps the obstacles could be overcome if proper advance notice were given for the addon authors to either make their LPT data part of their addon or maintain it separately as a shared dataset. Then what seems to have been the vision for LPT could become reality.

    The LPT core functionality could be packaged without data and each data module could be packaged as its own addon, available for use as needed and loaded only when an addon tries to access one of its sets.

    I dunno. It just prickles my OCD that the best and only item database library is sort of disorganized and cluttery.

  • Avatar of MuffinManKen MuffinManKen Mar 18, 2013 at 02:33 UTC - 0 likes

    The only Addon-specific data that I'm aware of is a few multisets that were added for AutoBar. I agree they shouldn't have been added here, but since they were it's hard to remove them because someone might be using them. At one point I removed the Warlock stones that don't exist anymore and it broke a bunch of addons.

    Any clean up would need to be done as a separate named version (3.2?) to avoid breaking things. Even then it would be a lot of effort and it would be hard to get people to agree on what's needed. And since many entries in LibPT are hand-maintained, it's necessary to have many people working on it since it's a pain to update.

    For example, my stance on the TradeskillLevels is that since they are horribly incorrect they should be removed if they can't be fixed. I know others feel it's better to have bad data than no data.

  • Avatar of JCinDE JCinDE Mar 15, 2013 at 21:47 UTC - 0 likes

    The built-in data in LPT really needs to be cleaned up and standardized. Addon-specific data should not be distributed with the core LPT. Too many cooks, methinks.

  • Avatar of Lufunpsy Lufunpsy Oct 09, 2012 at 00:14 UTC - 0 likes

    A lot of items don't seem to be making it into their natural set. Panderia keystones, for example, are still not getting added to keystones (see Tradeskill.Mat.ByType.Keystone).

  • 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.

Facts

Date created
Sep 21, 2008
Category
Last update
Sep 22, 2016
Development stage
Release
Language
  • enUS
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)
Curse link
LibPeriodicTable-3.1
Reverse relationships
48
Downloads
311,038
Recent files
  • A: r526 for 7.0.3 Sep 22, 2016
  • A: r525 for 7.0.3 Sep 05, 2016
  • A: r524 for 7.0.3 Sep 04, 2016
  • A: r523 for 7.0.3 Aug 12, 2016
  • A: r522 for 7.0.3 Jul 22, 2016

Authors