Do you have a banker-toon? Do you sell stuff on AH? If so, this addon is for you. In short, you will be able to see how long you have had an item even if you put it up for auction and get it back unsold. ItemAge tracks how long you have had an item or a stack of items.
New in v0.03:
[added] A single function for other addons to retrieve the age of items (read the API.txt file)
New in v0.02:
[added] Display in tooltips
The addon
I made this addon because my bankers are always loaded with items and I loose track of how long I have had the different things in my bags. Basically, this addon adds a new number to every item-icon in your bags and/or bank (selectable) denoting how long you have had the item. That's basically all there is to it.
The beauty of it is that the data persists even if you put the item up for auction. When you get the unsold item back, the age will still be correct. This even works on equal items. Say you have two stacks of some leather - this addon may put different ages on those. So if you have 20 equal items in your bags/bank, they may all still have different ages, and this addon will track it.
This feature also works if you send an item to an alt and then send it back. The age will still be correct. (If you leave the item at your alt for weeks, the data may be erased)
Options
There are not many options available, since it basically works directly out of the box. The age-displays can be switched on or off in your bags or bank by typing "/age bags" or "/age bank". This will only toggle the display itself. If all is switched off, it will still register when new items are added to your inventory. ItemAge can also be assigned a key so you can press a key to show/hide the display whenever you want to check the ages. This is very handy for non-banker toons, and can be assigned from WoW's standard key-binding interface.
Guild bank
Guild bank is a problem in WoW. ItemAge works by using an internal facility in WoW, and guild-banks does not support this facility very well. For some items (VERY few), the guild-bank will retain this information. For all other items, it will not show an age in the guild bank. This is unfortunate, and can not be helped with the current version of WoW. However, the guild-bank does not discard the information, and by moving the item to your bags, the information will reappear.
Supported items
Most items in WoW is trackable. However, items you have bought from a vendor will basically never be trackable. This is due to how WoW generates the items. A vendor-bought item will be generic and undistinguishable from another vendor-bought item.
Stacks of items
Many items are stackable, like leather and cloth. If you already have a stack that is not full and you receive one more item, WoW will merge the new item into your old stack. The "new" stack will be registered with the age of the old stack.
This is particularly important to notice when retrieving unsold items from ther AH and you already have a half-full stack in your bags of the same item.
Commands
Type "/age" for a brief list. The commands are:
/age bags -> Bag-display on/off
/age bank -> Bank-display on/off
/age gbank -> Guild-bank on/off (note that guild-bank does usually not show anyway because of WoW's handling of these items)
Originally posted by ybe Not sure I got that correctly. You have a box (like lockboxes, trunks from fishing, etc) without putting the stuff in it in your bags, and when you open it, the age is not there on the tooltip for those items except the first one?
If so, I can say that only bags, bank and guild-bank are scanned. These extra containers are not scanned.
If your meant something else, please clearify.
I would also like to remind you that not all items are trackable. Ref to the ItemAge description (Supported Items) about that.
I meant in the mailbox. Usually when I click on the box (not open it) it shows another frame with what's in the multiple item box. The tooltip shows for all items in the box is the information from the first item, regardless of how many other items are in it. For example, if there is a box with a stack of gold bars in the first slot, silver in the second, and bronze in the next 6 the only tooltip that shows when hovering over each item is the gold bars.
Not sure I got that correctly. You have a box (like lockboxes, trunks from fishing, etc) without putting the stuff in it in your bags, and when you open it, the age is not there on the tooltip for those items except the first one?
If so, I can say that only bags, bank and guild-bank are scanned. These extra containers are not scanned.
If your meant something else, please clearify.
I would also like to remind you that not all items are trackable. Ref to the ItemAge description (Supported Items) about that.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
When Itemage is enabled and I open a box of multiple items the tooltip only shows the information for the first item in the box for all the other items inside. This addon is awesome, but it will have to be deleted until this issue is resolved. Best of luck in fixing this!
Originally posted by joshwill80 i have turned off all other options except the tooltips because the other options don't play nicely with my bag addon, Combuctor.
(...)
i looked at my savedvariables and the only thing it shows other than item prices is:
"ItemAge_Info = {
["Init"] = true,"
shouldn't it display my options i set somewhere in the SV? maybe they are not getting saved?
Actually, if everything is off except tooltip, that is all the SV will show. This have some history, but bank, bags and guild-bank will show as "true" when it is on, and tooltip have a variable called "NoTooltip" which will show "true" when off.
Quote:
Originally posted by joshwill80 the only way for me to get the tooltips to work again is by toggling the bag option on and off.
I will have to look into this a bit more. Not today, as it is getting very very late here now
Quote:
Originally posted by joshwill80 tooltips did display at first, but they stopped displaying after a relog in.
This is probably related to the previous thing. Will check that also. It might also be related to a load-on-demand addon that you have. If so, I would very much like to know which one.
When it comes to the tooltip, I must say that it can be a bit tricky because it depends highly on what other addons (tooltip modifiers) are active. Some of these modifies too much, and breaks the way WoW sets tooltips. However, ACE and most standard things should be covered, I hope.
Anyway, I will look into it.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
for me the tooltips will not show. i have turned off all other options except the tooltips because the other options don't play nicely with my bag addon, Combuctor. it seems to me that disabling the bags option is also breaking the tooltips. the only way for me to get the tooltips to work again is by toggling the bag option on and off.
tooltips did display at first, but they stopped displaying after a relog in.
i looked at my savedvariables and the only thing it shows other than item prices is:
"ItemAge_Info = {
["Init"] = true,"
shouldn't it display my options i set somewhere in the SV? maybe they are not getting saved?
also, would be nice if the /age command showed what my current options are set to, currently there is no way to tell.
Originally posted by Manaman From the auctioneer folks is an addon called Bean Counter. It will keep track of how often and for how much you posted items and well as what you have sold items for.
Thank you for the heads up. I have BeanCounter installed, but have never taken the time to investigate exactly what it does. I guess I need to.
I have gotten quite a few requests for support for different bag-modifying addons now, and it would be close to impossible to support all of them if I still were to keep my regular day-job. What I have done for now is to provide other addons access to the data. If another addon author wants to use the data, he/she can call this function with the link or itemstring as an argument and get the age back. Easy as pie.
EDIT: np Manaman
EDIT 2: To all of you who have bag-modifier addons - as of v0.02, ItemAge also displays the age in the tooltip.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
Originally posted by Jaim Sandar The age would be nice to know, but of more use to me would be an indication of how many times an item has been put up for auction. I wonder if that is possible to do in an AddOn.
I used to keep a paper log on my desk of each item as I put it in the AH, to keep track of starting prices and buyouts as well as to track each item's auctions in case it didn't sell the first time. That got too cumbersome once I got to where I had bankers on several realms. I ended up with stacks of paper for each banker; a real pain looking up items.
Auctioneer solved the pricing part of that and I gave up the item tracking.
From the auctioneer folks is an addon called Bean Counter. It will keep track of how often and for how much you posted items and well as what you have sold items for.
To the addon author for this mod (YBE): Sorry to continue the derailment of your thread.
Originally posted by Jaim Sandar The age would be nice to know, but of more use to me would be an indication of how many times an item has been put up for auction. I wonder if that is possible to do in an AddOn.
Think it would be possible, if the addon could count the times you grab an item from a mail, even better if the addon could check the header of the item, like "auction expired". I guess it could work.
The age would be nice to know, but of more use to me would be an indication of how many times an item has been put up for auction. I wonder if that is possible to do in an AddOn.
I used to keep a paper log on my desk of each item as I put it in the AH, to keep track of starting prices and buyouts as well as to track each item's auctions in case it didn't sell the first time. That got too cumbersome once I got to where I had bankers on several realms. I ended up with stacks of paper for each banker; a real pain looking up items.
Auctioneer solved the pricing part of that and I gave up the item tracking.
Originally posted by Zidomo Fantastic idea. Ran into a bug on first use of v0.01 on WoW 2.4.3 live, though.
Logged on to my AH alt. The time for items in backpack started. Got a couple things out of mailbox, went to the AH, started a KC_Items scan (also running CensusPlus on the AH alt; it was doing its own scan as well).
During the session (using standard Blizzard bags), the item timer on the items in the bags stopped counting down. It froze at "5m". So did a "/age bags" twice, toggling the timer on and off. It finally came up with the proper time (18m), but threw an error: <string>:\"*:OnUpdate\":1: 'end' expected near '<eof>'\n\n ---. Recorded it with the BugSack/BugGrabber mods.
EDIT: further testing, this error currently occurs at every logon. Disable ItemAge, it no longer occurs. Enable it (with the other-mod load) and it occurs. Hope to see the bugs out soon .
Hmm... I found a thing that could potentionally produce that error, but it's all sorta weird that I don't have the same problem.
Anyway - I have made a first version with support for age in the tooltip, and that version will most likely fix the problem. I will try to get that posted in a few hours.
__________________
It doesn't matter if you win or lose.
It matter if I win or lose.
Fantastic idea. Ran into a bug on first use of v0.01 on WoW 2.4.3 live, though.
Logged on to my AH alt. The time for items in backpack started. Got a couple things out of mailbox, went to the AH, started a KC_Items scan (also running CensusPlus on the AH alt; it was doing its own scan as well).
During the session (using standard Blizzard bags), the item timer on the items in the bags stopped counting down. It froze at "5m". So did a "/age bags" twice, toggling the timer on and off. It finally came up with the proper time (18m), but threw an error: <string>:\"*:OnUpdate\":1: 'end' expected near '<eof>'\n\n ---. Recorded it with the BugSack/BugGrabber mods.
EDIT: further testing, this error currently occurs at every logon. Disable ItemAge, it no longer occurs. Enable it (with the other-mod load) and it occurs. Hope to see the bugs out soon .
Originally posted by ybe Heh... I haven't tried, but I doubt the numbers will appear there.
The tooltip idea is great
I'll take a look at that.
Yep, addon didnt work with arkinventory. But if you make it work with tooltip text instead then you could make it bag addon independent I recon.
Feature id: maybe some groups for the addon to count/not to count item age for separate type of items? for instance I would like to see the mat age, possible quest item age, but definitely not soulbond items and gear and potion age, etc, etc.