Get an Epic Experience with Premium

LibPeriodicTable-3.1

Libraries Login to Add Favorites
  • 2 Likes
  • World of Warcraft
  • 5,569 Monthly Downloads
  • Supports: 6.2.0
  • 288,718 Total Downloads
  • Updated 07/19/2015
  • Created 09/20/2008
  • 203 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: GNU Lesser General Public License version 2.1 (LGPLv2.1)
  • Newest File: r494-release
or

About 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

------------------------------------------------------------------------
r494 | muffinmanken | 2015-07-19 05:37:17 +0000 (Sun, 19 Jul 2015) | 1 line
Changed paths:
   A /tags/r494-release (from /trunk:493)

Tagging as r494-release
------------------------------------------------------------------------
r493 | muffinmanken | 2015-06-29 06:37:31 +0000 (Mon, 29 Jun 2015) | 2 lines
Changed paths:
   M /trunk/data.lua
   M /trunk/dataminer.lua

Fixed issues with final T14 set

------------------------------------------------------------------------
r492 | muffinmanken | 2015-06-29 06:30:28 +0000 (Mon, 29 Jun 2015) | 2 lines
Changed paths:
   M /trunk/LibPeriodicTable-3.1-GearSet/LibPeriodicTable-3.1-GearSet.lua
   M /trunk/data.lua
   M /trunk/dataminer.lua

Fixed more of the T14 sets

------------------------------------------------------------------------
r491 | muffinmanken | 2015-06-29 05:52:49 +0000 (Mon, 29 Jun 2015) | 2 lines
Changed paths:
   M /trunk/LibPeriodicTable-3.1-GearSet/LibPeriodicTable-3.1-GearSet.lua
   M /trunk/data.lua
   M /trunk/dataminer.lua

Fixed a few of the T14 sets

------------------------------------------------------------------------
r490 | muffinmanken | 2015-06-25 04:17:22 +0000 (Thu, 25 Jun 2015) | 1 line
Changed paths:
   M /trunk/LibPeriodicTable-3.1-Consumable/LibPeriodicTable-3.1-Consumable.lua
   M /trunk/data.lua

Added Draenic Swiftness Potion and Commander's Draenic Swiftness Potion to Consumable.Buff.Speed
------------------------------------------------------------------------
r489 | muffinmanken | 2015-06-25 04:07:14 +0000 (Thu, 25 Jun 2015) | 1 line
Changed paths:
   M /trunk/LibPeriodicTable-3.1-Misc/LibPeriodicTable-3.1-Misc.lua
   M /trunk/data.lua

Added Pit Fighter's Punching Ring and The Brassiest Knuckle to Misc.Hearth
------------------------------------------------------------------------
r487 | muffinmanken | 2015-06-24 17:32:50 +0000 (Wed, 24 Jun 2015) | 2 lines
Changed paths:
   M /trunk/LibPeriodicTable-3.1-ClassSpell/LibPeriodicTable-3.1-ClassSpell.toc
   M /trunk/LibPeriodicTable-3.1-Consumable/LibPeriodicTable-3.1-Consumable.lua
   M /trunk/LibPeriodicTable-3.1-Consumable/LibPeriodicTable-3.1-Consumable.toc
   M /trunk/LibPeriodicTable-3.1-CurrencyItems/LibPeriodicTable-3.1-CurrencyItems.toc
   M /trunk/LibPeriodicTable-3.1-Gear/LibPeriodicTable-3.1-Gear.lua
   M /trunk/LibPeriodicTable-3.1-Gear/LibPeriodicTable-3.1-Gear.toc
   M /trunk/LibPeriodicTable-3.1-GearSet/LibPeriodicTable-3.1-GearSet.toc
   M /trunk/LibPeriodicTable-3.1-InstanceLoot/LibPeriodicTable-3.1-InstanceLoot.toc
   M /trunk/LibPeriodicTable-3.1-InstanceLootHeroic/LibPeriodicTable-3.1-InstanceLootHeroic.toc
   M /trunk/LibPeriodicTable-3.1-InstanceLootLFR/LibPeriodicTable-3.1-InstanceLootLFR.toc
   M /trunk/LibPeriodicTable-3.1-Misc/LibPeriodicTable-3.1-Misc.lua
   M /trunk/LibPeriodicTable-3.1-Misc/LibPeriodicTable-3.1-Misc.toc
   M /trunk/LibPeriodicTable-3.1-Reputation/LibPeriodicTable-3.1-Reputation.toc
   M /trunk/LibPeriodicTable-3.1-Tradeskill/LibPeriodicTable-3.1-Tradeskill.lua
   M /trunk/LibPeriodicTable-3.1-Tradeskill/LibPeriodicTable-3.1-Tradeskill.toc
   M /trunk/LibPeriodicTable-3.1-TradeskillLevels/LibPeriodicTable-3.1-TradeskillLevels.toc
   M /trunk/LibPeriodicTable-3.1-TradeskillResultMats/LibPeriodicTable-3.1-TradeskillResultMats.toc
   M /trunk/LibPeriodicTable-3.1-TransmogSet/LibPeriodicTable-3.1-TransmogSet.toc
   M /trunk/LibPeriodicTable-3.1.toc
   M /trunk/data.lua

Updated TOC files with latest Interface version
Mined lots of stuff
------------------------------------------------------------------------
r486 | muffinmanken | 2015-02-25 03:23:46 +0000 (Wed, 25 Feb 2015) | 1 line
Changed paths:
   M /trunk/LibPeriodicTable-3.1-Tradeskill/LibPeriodicTable-3.1-Tradeskill.lua
   M /trunk/data.lua

Updated Tradeskill.Recipe.*
------------------------------------------------------------------------

Comments

First Previous Page 1 of 2 Next Last
  • #17

    Ok so I'm sure this is going to seem like a dumb question, but do I just drop the whole folder into my addons or do I pull the subfolders into it? Some addons require subfolders be pulled, in order to work, like Armory. Thanks.

  • #18

    If you are a user, you shouldn't have to deal with the library at all unless the author of the addon has messed up (in which case he should be the one fixing things).
    You're still free to install the library as stand-alone addon, though.

    If you are an author, have a look at the usage guide: http://www.wowace.com/addons/libperiodictable-3-1/pages/usage/

    volunteer Curse moderator
    This posting is made of 100% recycled electrons.
  • #21

    Great! Thanks so much. :D I couldn't find an instal .txt and just wasn't sure. 

  • #20

    In that case, just install it like you would any other addon, that is extract it to interface/addons/.
    No need to pull the subfolders, the lib will load those itself.

    volunteer Curse moderator
    This posting is made of 100% recycled electrons.
  • #19

    I've always had it installed. There's an addon I have that requires it, and although I don't remember now which one I just never bothered to remove it. Since I'm on a Mac though, I can't just rely on the client to install it for me. I have to download the folder and drag and drop it into my WoW interface folder. Which brings me back to my original query. When it downloads should I just drag and drop that one folder in, or pull its subfolders instead?

  • #14

    Hello,

    hello, since 6.2 has been updated,

    i have this message   :((

     

    Date: 2015-07-13 08:08:59
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ...e\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua line 291:
       Invalid arg1: invalid item.
    Debug:
       [C]: ?
       [C]: ?
       ...e\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua:291: ItemInSet()
       ...dOns\DataStore_Reputations\DataStore_Reputations.lua:433: GetSource()
       Altoholic\Loots.lua:614: GetSource()
       Altoholic\Tooltip.lua:463:
          Altoholic\Tooltip.lua:447
       Altoholic\Tooltip.lua:554:
          Altoholic\Tooltip.lua:545
       [C]: ?
       [C]: ?
       ...AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:395: SetTradeSkillItem()
       [string "*:OnEnter"]:2:
          [string "*:OnEnter"]:1
    Locals:

    AddOns:

    -- SNIP -- removed addon list

    you would be very nice to fix it thank you   ^^

    Last edited by Elkano on 7/13/2015 1:54:55 AM
  • #15

    It's not a bug with LibPeriodicTable itself. The library is called with an invalid argument and is thus complaining.
    So the error is caused by the calling addon, Altoholic in this case.
    The issue itself seems to have been caused by Blizzard though since one of their API functions is behaving strange since the last patch.

    volunteer Curse moderator
    This posting is made of 100% recycled electrons.
  • #16

    hi,

    ok  ^^   thx

    all the way from 6.2 not much work properly   :((
  • #13

    Just installed the latest file from the project site (yes, I know it's alpha but someone recommended doing so to try and fix some Altoholic issues) and now on character load I get a some "PT3 must be loaded before data" errors, along with a couple instances of another error that I don't remember offhand. I'll go back to the last release for now.

  • #11

    Since 6.2 went live, I've been getting consistent LUA errors with LibPeriodicTable-3.1 and Altoholic...  cross-posting in both add-ons in hopes that it may be addressed!

    Date: 2015-06-30 11:12:09
    ID: 1 Error occured in: Global
    Count: 1
    Message: ...e\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua line 291: Invalid arg1: invalid item.
    Debug:
    [C]: ?
    ...e\libs\LibPeriodicTable-3.1\LibPeriodicTable-3.1.lua:291: ItemInSet()
    ...dOns\DataStore_Reputations\DataStore_Reputations.lua:433: GetSource()
    Altoholic\Loots.lua:614: GetSource()
    Altoholic\Tooltip.lua:463:
    Altoholic\Tooltip.lua:447
    Altoholic\Tooltip.lua:554:
    Altoholic\Tooltip.lua:545
    [C]: ?
    [C]: ?
    [C]: ?
    [C]: ?
    ...AddOns\Auc-Advanced\Libs\LibExtraTip\LibExtraTip.lua:395: SetQuestItem()
    [string "*:OnEnter"]:11:
    [string "*:OnEnter"]:1
    Locals:
    (*temporary) = false
    (*temporary) = "Invalid arg1: invalid item."

  • #12

    It's not a bug in LTP itself but invalid arguments used to call the library.
    Altoholic is partly to blame for not checking the values it passes along but the base problem is that GameTooltip:GetItem() suddenly fails for some items, which is most likely a Blizzard bug.

    volunteer Curse moderator
    This posting is made of 100% recycled electrons.
  • #5

    Hmm.  Anyone know of an up-to-date tooltip app that will display which category of the PT an item belongs to?   I use bulk mail to sort what item goes to which storage alt, and sometimes it's hard to figure out the PT designation of an item.

    Thanks

  • #6

    In case one of your addons is providing /dump, something like this should work as temporary solution:
    /dump LibStub("LibPeriodicTable-3.1"):ItemSearch(<itemid>)
    /dump LibStub("LibPeriodicTable-3.1"):ItemSearch("[item]">)

    Last edited by Elkano on 11/18/2013 7:07:58 AM
    volunteer Curse moderator
    This posting is made of 100% recycled electrons.
  • #10

    To answer my own query...

    /dump LibStub("LibPeriodicTable-3.1"):ItemSearch(({GameTooltip:GetItem()})[2])

    I put this into a macro and dragged it onto the buttonbar. When I mouseover an item, I press the buttonkeybinding and tada... dump info!

  • #8

    Don't know if you can make it mouseover, but this one will identify the item you have on your cursor (picked up):

    /dump LibStub("LibPeriodicTable-3.1"):ItemSearch(({GetCursorInfo()})[2])
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Gamepedia Free-shirt Giveaway