Download
(6Kb)
Download
Updated: 06-28-09 11:47 PM
Pictures
File Info
Updated:06-28-09 11:47 PM
Created:05-15-09 10:47 AM
Downloads:3,694
Favorites:25
MD5:

LootWatch

Version: r205
by: recluse [More]

Click here to lend your support!
LootWatch *

LootWatch is a cousin to the Quest Watch function; it tracks items in your inventory instead of quest objectives. The idea is to show how many items you have - any item - on screen instead of having to count stacks in the inventory.

LootWatch will consider items which are on any alts you have on the same realm, as well as items that are in you and your alts' banks. If you hover your mouse over an item in the LootWatch list, it will show you a break down of which character(s) have how many of each item, and whether it is in their bags or bank. You can enable/disable this behavior via slash commands. It is enabled by default, however.

You may use /lw or /lootwatch when issuing slash commands. You can view the following list in-game by typing /lw or /lootwatch with no additional command.

Code:
/lw # [item link] - add item to watch.
/lw [item link] - show total amount of item.

/lw +# [item link] - add amount to watched item.
/lw -# [item link] - subtract amount from watched item.
/lw *# [item link] - multiply amount for watched item.
/lw /# [item link] - divide amount for watched item.

/lw clear [item link] - remove item from watch.
/lw clear all - remove all items from watch.

/lw move on|off|reset - start moving LootWatch frame.

/lw fontsize # - change font size (default 11).

/lw show - toggle LootWatch frame.
/lw hide combat on|off - hide during combat.
/lw hide party on|off - hide while in party.

/lw alts on|off - include items in the bags of alts?
/lw banks on|off - include items in the bank and banks of alts?
If the text is too small, you can change the size by typing /lw fontsize 15 Or any other number you like. The default size is 11.

Let's say you need to gather 100 Runecloth. Just type

/lw 100 [Runecloth]

and LootWatch will show your current amount just like an incomplete quest. When you gathered the amount you picked, the 'quest' will be marked as complete and automatically deleted when the amount reaches 0. You can also type

/lw [Runecloth]

to just display the total amount gathered. Use

/lw clear [Runecloth]

to stop watching an item. You can watch up to 50 different items at the same time.

Known issues and nice-to-know info:
- You can add items with

/lw amount [item link]. For example

/lw 20 [Runecloth]

or

/lw 0 [Kingsblood]

Actually, it doesn't even have to be real item links; just type [anything] (with brackets) to track anything.

- You can mathematically change the amount. For example

/lw +10 [Runecloth]
/lw -20 [Runecloth]
/lw *5 [Runecloth]
/lw /2 [Runecloth]

- You remove an item from watch with

/lw clear [item link]

- Or all items with

/lw clear all

* This addon was originally LootPlan by Neleane. In an effort to update it for WotLK and improve some of the features, I renamed this addon as I do not want it to be confused with the original addon. Since there are several core changes, I was hesitant to simply consider it a Fan's Update or any such thing.

r205:
- Allow user to choose if they want to include items in banks and on alts in their totals with /lw alts on|off and /lw banks on|off.
- Does not break the LDB plugin, but you will have odd data if you do not update it to r206.

r187:
- Updated to support inventories per faction, so you won't get counts of items on other faction alts.
- More extensive item collection method. This will allow LootWatch to display counts for items that were not previously watched, simply by having loaded LootWatch on an alt before.

r185: Fix for mysterious item duplication bug.

r183: Added support for adding in counts from items held by alts and in banks. Does NOT include guild banks, and only considers alts and banks on the same realm as the character watching an item. TODO: Split faction counts. >.>;

r146: /lw [item] now does the same thing as /lw 0 [item] did previously.

r145: Changing the fontsize should now properly change the title font as well.

r144: Add: /lw hide combat on|off, /lw hide party on|off to auto-hide the list frame during combat/groups.

----: Updated description.

r140: Uses per-character settings. Now scans keyring for watched items.

r138: Add: /lw show to toggle list frame. Moved to Lua-based frames rather than XML.

r134: Bug fix: 'clear all' should now properly persist through UI reload.

r133: Added option to change font size.

r129: Added secondary slash command.

r128: Initial upload.
Optional Files (2)
File Name
Version
Size
Author
Date
Type
r205-4.3-1
6kB
12-06-11 04:53 AM
Patch
r206
21kB
06-28-09 11:49 PM
Addon


Post A Reply Comment Options
Unread 09-21-10, 10:50 AM  
samhain_whitefox
A Deviate Faerie Dragon
 
samhain_whitefox's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 12
File comments: 38
Uploads: 1
Bug Report

well, see, i'm on the ptr with this, and was hoping it would work? but it gives this error whenever i try to press enter on a /lw command

Interface\AddOns\LootWatch\LootWatch.lua:504: attempt to index upvalue 'db' (a nil value)
Count: 13

Call Stack:
[C]: ?
Interface\AddOns\LootWatch\LootWatch.lua:504: in function `value'
Interface\FrameXML\ChatFrame.lua:4090: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3680: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3718: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>
__________________
a heart alone
a heart of stone.

a shattered love
a battered child.

innocence lost
at rending cost.
Report comment to moderator  
Reply With Quote
Unread 03-03-10, 10:27 PM  
Recluse
A Cliff Giant
 
Recluse's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 94
Uploads: 13
Re: Lootwatch Tracker frame misbehaving

Originally posted by Genkitty
The tracker frame resets to the center of the screen when I disable and then re-enable Lootwatch. It's one of a handful of addons that does this and I'd like to know why it doesn't remember its settings while 95% of my other addons do
I'm not sure about the second issue, I'll look over the code again to see if there is anything obvious, but I know that has not happened to me.

The position reset I believe (haven't cracked open the code in a while =x) is cause because the frame is positioned with :SetUserPlaced(), and I never understood why, but it is as though Blizzard 'wipes' the settings for that if the frame does not exist during a session. Very odd and annoying, I agree. I'll see about saving the position in the savedvar instead.
__________________
We'd be together, but only diamonds last forever...
Report comment to moderator  
Reply With Quote
Unread 03-03-10, 07:15 PM  
Genkitty
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Exclamation Lootwatch Tracker frame misbehaving

This is a preliminary bug report, I'll be doing some testing in the next few days to narrow down what's going on.

The tracker frame resets to the center of the screen when I disable and then re-enable Lootwatch. It's one of a handful of addons that does this and I'd like to know why it doesn't remember its settings while 95% of my other addons do

The tracker frame will not stay hidden. I'll turn it off and it will randomly reshow. This may or may not be connected to my Mouse Click-to-Move setting toggling itself randomly.
Report comment to moderator  
Reply With Quote
Unread 06-28-09, 11:54 PM  
Recluse
A Cliff Giant
 
Recluse's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 94
Uploads: 13
r205: Alts and Banks optional!

I've added two options with which you can choose if LootWatch should add in items from the bank and on alts into your current totals. By default, they are both set to "on", so be sure to change this if it suits your preference.

Even with the options set to "off", LootWatch will still record alts and bank data, to provide you with updated data should you turn them on at any point, saving you a trip to the alt to update its items.

Code:
/lw alts on|off
Will include/exclude items which alts have in their bags in your totals. There will still be a breakdown of which character has how many of the item in the tooltip when you mouseover it.

Code:
/lw banks on|off
Will include/exclude items which are in your banks, and if /lw alts is set to "on", the banks of your alts as well. If the 'alts' option is set to "off", then only your own bank will be included. The breakdown also specifies whose bank the items are in, just as before.

If you use the LDB plugin for LootWatch, be sure to update your version to r206 or higher, or your numbers will not match up properly.
__________________
We'd be together, but only diamonds last forever...
Last edited by Recluse : 06-28-09 at 11:59 PM.
Report comment to moderator  
Reply With Quote
Unread 06-19-09, 02:56 PM  
Recluse
A Cliff Giant
 
Recluse's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 94
Uploads: 13
Alright, pending upload approval, r187 now splits the item data by faction for each server, allowing your Horde characters to not see Alliance data, and vice-versa.

If you use the LDB plugin, make certain that you update it to r187 as well in order for it to function properly.
__________________
We'd be together, but only diamonds last forever...
Report comment to moderator  
Reply With Quote
Unread 06-17-09, 06:38 PM  
Recluse
A Cliff Giant
 
Recluse's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 94
Uploads: 13
Added support for showing totals on items which you have on alts and in banks. In order for this to occur, you will have to log into your alts and open their bank for LootWatch to gather the data it needs. Of course, you don't have to do so, you just won't see any item counts from their inventories.

Currently it does count both factions, if you have characters from 2 factions on the same realm. I do plan on splitting them at some point, nothing to fear!

It does not scan or include any guild bank data at this time.

In the LootWatch frame, you won't notice any difference in appearance, but if you put your mouse over an item in the list, you will get a tooltip which shows a breakdown of where each item is located. Similar to the following:

Frost Lotus
Joe's Bags: 10
Joe's Bank: 3
Jane's Bags: 1

EDIT: So, I've put together the faction-split code, and am just going to be testing it for a day or two before releasing it. Seems fine, though. You'll have the feature shortly
__________________
We'd be together, but only diamonds last forever...
Last edited by Recluse : 06-18-09 at 01:31 AM.
Report comment to moderator  
Reply With Quote
Unread 05-23-09, 02:56 PM  
Recluse
A Cliff Giant
 
Recluse's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 94
Uploads: 13
Originally posted by imthedci
(snip) doesn't track items that are on your keychain.(snip)
Originally posted by mj8roby
If it saved per toon it would be awsome!
Both done in r140. Will add global lists later, it's per-character for now.

Also added /lw show which toggles the list from the screen. While hidden, you will still get the mocked quest progress text on-screen so you can keep track that way without taking up the screen's real estate with the tracker list.

I moved to a Lua-based tracker frame, rather than pure XML (remnants of the original addon) as well, which should help a bit on my end at least. If upgrading, you can ditch your old LootWatch folder (or remove the .xml file) if you're worried about the extra file lying around, but not being used.
__________________
We'd be together, but only diamonds last forever...
Last edited by Recluse : 05-23-09 at 05:54 PM.
Report comment to moderator  
Reply With Quote
Unread 05-22-09, 07:55 AM  
imthedci
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
1. Very cool addon. ^_^

2. While grinding for some rep, I found out that the addon doesn't track items that are on your keychain. If it's not a difficult thing to add, it would be appreciated.
Report comment to moderator  
Reply With Quote
Unread 05-21-09, 07:08 PM  
mj8roby
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Realm wide

Thank you!

7 Realms, 40+ toons.
Report comment to moderator  
Reply With Quote
Unread 05-21-09, 02:27 PM  
Recluse
A Cliff Giant
 
Recluse's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 94
Uploads: 13
Re: Would love it, but...

Originally posted by mj8roby
It seems to save the watch list as per account, not good. If it saved per toon it would be awsome!
This is one of the options I plan on adding in - the choice between a global list or a per-character one. I myself find it handy to have account-wide lists so I can make a shopping list on an alt for my main to buy.

But definitely something I plan on offering the choice for.

If you have no intention of using account-wide listings, you can change it for yourself to be per-character by opening up LootWatch.toc in a text editor and changing the following line:

Code:
## SavedVariables: LootWatch_Data, LootWatch_Opt
to
Code:
## SavedVariablesPerCharacter: LootWatch_Data, LootWatch_Opt
Of course, this won't be necessary after I add in the feature.
__________________
We'd be together, but only diamonds last forever...
Report comment to moderator  
Reply With Quote
Unread 05-21-09, 08:00 AM  
mj8roby
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Would love it, but...

It seems to save the watch list as per account, not good. If it saved per toon it would be awsome!
Report comment to moderator  
Reply With Quote
Unread 05-21-09, 12:18 AM  
Recluse
A Cliff Giant
 
Recluse's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 94
Uploads: 13
I'm adding LDB support as an optional addon. You can click the Optional Files tab on this page, or click here: LootWatch-LDB.

I didn't want to include it in the main addon, as it would just be extra overhead for those who do not use LDB. Tested and working under the LDB display addon Fortress.

In the next day or two, I'll be changing LootWatch a bit to allow the tracker frame to be hidden with a slash command and 'on click' in LootWatch-LDB, since I know some of you may not want to have both the LDB and the tracker list on the screen at the same time - I think it kinda nullifies the need for one or the other . Anyhow, keep an eye out for that if it's something you're going to want.
__________________
We'd be together, but only diamonds last forever...
Report comment to moderator  
Reply With Quote
Unread 05-20-09, 06:41 PM  
Recluse
A Cliff Giant
 
Recluse's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 94
Uploads: 13
Originally posted by xtoq
LDB support? With info in tooltip? Pretty pretty please?
Coming soon. Initial version created, just testing it, and need a small feature added in before releasing it. It's a raid night, so after Ulduar I'll try to get it uploaded.
__________________
We'd be together, but only diamonds last forever...
Last edited by Recluse : 05-20-09 at 06:57 PM.
Report comment to moderator  
Reply With Quote
Unread 05-20-09, 02:38 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 642
Uploads: 4
LDB support? With info in tooltip? Pretty pretty please?
Report comment to moderator  
Reply With Quote
Unread 05-19-09, 09:04 AM  
Recluse
A Cliff Giant
 
Recluse's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 94
Uploads: 13
Originally posted by Banur
WTB: resize option, since it's a bit tiny on highest scale.
Sure thing, I'll add it to my list of things to do *nod*

EDIT:
Added in r133, should be up soon. Default font size is 11, and you can change it via slash commands. For example, to increase the font:

Code:
/lw fontsize 15
__________________
We'd be together, but only diamonds last forever...
Last edited by Recluse : 05-19-09 at 02:06 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.