Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(44 Kb)
Download
Updated: 05-06-06 08:20 PM
Pictures
File Info
Updated:05-06-06 08:20 PM
Created:unknown
Downloads:4,679
Favorites:76
MD5:

Periodic Table

Version: r1347
by: Tekkub [More]

Periodic Table is an Ace alternative to ReagentData (with some added extras). Like most Ace addons it's focus is low resource usage.

Please note this is NOT an Ace'd version of ReagentData, I used RD's base data as a good portion of the set info, but this mod is not designed to be a drop-in replacement. One of the major points of this mod is an attempt to push more people into using ItemID's in their mods, not item-name strings. Another big point is that not all the data in RD was used, and data from a number of other sources was included. Check the lua files for more details on where data was pulled from.

All of the set info from RD has been converted over. Items are no longer referenced by name strings, but rather by ItemID. This gives two advantages: lowor memory requirements and automatic localization (ItemIDs are locale-independant). Tradeskill recepies were not converted as I didn't see much neede for them and they were not the functionality this mod was aiming to provide. Item sets are stored as a space-delimited string 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 activly used. As a comparison with Warmup, RD pulls 1202 KiB and takes 0.362 sec to load, where PT takes 66 KiB and 0.007 seconds (on my crappy slow system).

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.

For more info and the latest build please visit AceWiki

Please direct all feedback to my portal (the links under the download button)

Optional Files (0)


Post A Reply Comment Options
Unread 05-07-06, 10:34 AM  
Flawlless
A Murloc Raider

Forum posts: 8
File comments: 5
Uploads: 0
AdvancedBagsPlus

Yeah, if ABP was useable with periodic instead of RD, I'd switch in a heartbeat.. Can't live without ABP.

Edit.


or better yet, make an ABPish addon that uses ace.


Unedit.
Last edited by Flawlless : 05-07-06 at 10:46 AM.
Flawlless is offline Report comment to moderator  
Reply With Quote
Unread 04-04-06, 05:39 AM  
Urbs
A Deviate Faerie Dragon

Forum posts: 5
File comments: 1
Uploads: 0
Trace recipe information

Greetings Tekkub,

I recently switch over from ReagentData/Info to Mendeleev/Periodic Table. Works fine so far and is really nice. The only thing I'm currently missing is the trade recipe information of my alt's and twinks. MoonWolf, mentioned the following on his MOD-page: "Trade recipies you know(YOU MUST OPEN THE PANEL FOR THE TRADE SKILL EVERY SESSION, DONT LIKE IT, TALK TO TEKKUB)". Ok, he is refering to the storage (saving) of trade recipies for the actual character, but without storage I won't know what my alt/twinks can built out of a given item.

Hope you consider this feature and would include it...

Thanks & take care,
Urbs
Urbs is offline Report comment to moderator  
Reply With Quote
Unread 01-25-06, 10:37 PM  
Tekkub
Featured Artist
 
Tekkub's Avatar
Featured Addon Author

Forum posts: 953
File comments: 330
Uploads: 85
Measuring load time/mem

Warmup.... which I don't have posted here... I need to submit that... anywho it's up on ui.wow
Tekkub is offline Report comment to moderator  
Reply With Quote
Unread 01-25-06, 01:23 PM  
Chettos
A Defias Bandit

Forum posts: 2
File comments: 3
Uploads: 0
Mods that use Reagent Data

Right now, the one I use that needs it is Advanced Bag Plus. i can't live without it.

Another question, how did you measure the memory footprint of the mods and the time to load it??? I'm asking all around what are the names of the mods that do it and noone answers me
Last edited by Chettos : 01-25-06 at 01:27 PM.
Chettos is offline Report comment to moderator  
Reply With Quote
Unread 01-17-06, 08:20 PM  
Tekkub
Featured Artist
 
Tekkub's Avatar
Featured Addon Author

Forum posts: 953
File comments: 330
Uploads: 85
*ponder*

What mods out there even USE ReagentData?
Tekkub is offline Report comment to moderator  
Reply With Quote
Unread 01-12-06, 06:38 PM  
Chettos
A Defias Bandit

Forum posts: 2
File comments: 3
Uploads: 0
I hope so Tekkub, I will do my best to work on it
Chettos is offline Report comment to moderator  
Reply With Quote
Unread 01-12-06, 05:47 PM  
Tekkub
Featured Artist
 
Tekkub's Avatar
Featured Addon Author

Forum posts: 953
File comments: 330
Uploads: 85
Replies

Chettos: It's really not a simple conversion I'm afraid to say. PT's strongpoint is that it keeps it's data compressed until a set is requested. RD's base design is to keep everything in tables from the start. Most every addon I've seen just checks these tables directly. GReat for speed, bad for memory use. You can force PT to cache all it's sets to tables for the same effect, but it'll take up just as much memory as RD does

Take a look at the core.lua file in PT ItemInSet and ItemInSets are the two main API calls. The only other thing you really need to know is that you need to pass an itemID, not an item name. You can pull that from an itemlink, which looks like this:
Code:
|cffffffff|Hitem:12345:0:0:0|h[Item Name]|h|r
You can pull out an id with this regex:
Code:
local _, _, id = string.find(itemlink, "item:(%d+)")
Hope that enough to get ya started

Elma... I think that's one of the Ace communities strongest traits, our tendancy towards creative names
Last edited by Tekkub : 01-12-06 at 05:48 PM.
Tekkub is offline Report comment to moderator  
Reply With Quote
Unread 01-12-06, 03:32 PM  
Theondry
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 108
Uploads: 3
Thanks

Descriptive naming FTW.

=p

Not everyone knows who Mendeleev was. (even so, the two are backwardly named... just how I see it, anyway.)
Theondry is offline Report comment to moderator  
Reply With Quote
Unread 01-12-06, 12:13 PM  
Chettos
A Defias Bandit

Forum posts: 2
File comments: 3
Uploads: 0
Hey mate, thanks for this, having a nice DB with low memory usage is fantastic. I have only one problem that I don't know how to do.

I'm stick with RD right now, because some mods use it's lib to do the Job (most important for me, Advanced Bag Plus). My question is: Is there an easy way to make the substituion? Do you have a guide for what changes should be done to make one mod dependable on PT instead of RD?
Chettos is offline Report comment to moderator  
Reply With Quote
Unread 01-11-06, 07:33 AM  
MoonWolf
A Murloc Raider
 
MoonWolf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 7
File comments: 23
Uploads: 3
Re: Um... Is this for non-developers?

Originally posted by elmanthira
Does anything actually use this, yet? Is there a converter to drop this in, in place of ReagentData? Or is there an Ace'd Reagent Info that uses this?
This a lib so it is for developers.

There is a reagent info replacement available, i made it.
http://www.wowinterface.com/download...fo.php?id=4470
__________________
MoonWolf is offline Report comment to moderator  
Reply With Quote
Unread 01-08-06, 07:05 PM  
Theondry
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 108
Uploads: 3
Um... Is this for non-developers?

Does anything actually use this, yet? Is there a converter to drop this in, in place of ReagentData? Or is there an Ace'd Reagent Info that uses this?
Theondry is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: