Download
(6 Kb)
Download
Updated: 12-03-11 05:41 AM
Pictures
File Info
Updated:12-03-11 05:41 AM
Created:11-30-08 09:17 AM
Downloads:3,260
Favorites:32
MD5:
Highlight - the local bag search tool
Version: 4.3.0
by: Weeperman [More]
  • Do you spend more time questing your bags for an item than raiding the instance?
  • Can't remember what icon is related to what quest?
  • Fed up with 'poor' items clogging your bags?
  • Do you wish you could search the quild bank?

v3.0
Finally updated it to work with Cataclysm - sorry for the delay.

---------------------------------------------------------------------------------------------------------------------------------------------
NEW
Added "wearable": item has an equipment slot
Added "craftable": item is used in one of the characters recipes. It caches the tradeskill reagents up front to make searching them fast
Added negation: reverses the meaning of a search term if you put a "!" or "~" in front
Added multipe search terms: can combine multiple search criteria (implied "and" between all terms)
Added more item quality search terms: for example, green for uncommon, purple for epic, etc, since I have a hard time remembering the official terms


Fixed refresh, mostly: When moving an item or opening a new bag, refreshes search display (the only time it refreshes too often is when moving items in guild bank, seems to trigger 4 redraw events). There are still a few random refreshes that make the highlighting go away on the guild bank, no idea what event to hook there. But it's quite fast, even with the redraws. I had to pull a few tricks to get the refresh to behave properly.
Reworked quantity searching: Can now search with <, >, = or combinations of those against item level, required level, stack size, or vendor value
Allow fractional gold amounts: for example, "greater than 2g50s" written as >2.5

/hl by itself now puts focus on the search box, to avoid having to click on it

Brigtened the non-highlighted items just slightly so you can see what they are, without being confused for highlighted items. Set vertex color to 0.2, since 0.1 made it very hard to tell if a non-highlighted spot is empty, and 0.3 made the contrast between highlighted and non-highlighted items too poor.

Reorganized redundant code into its own functions to make things easier to read. It makes it easier to read if you can look at the function name and it does one simple thing, rather than 50 lines of obscure code packed into a single function. And it also makes it easier to reuse that functionality in other ways.


---------------------------------------------------------------------------------------------------------------------------------------------


Then 'Highlight' is for you, its a very simple stand alone add-in which greys out all the items what don't fit your criteria. It was inspired by the simplicity of the code from 'Gerbils of War - Bag Search' only the search was extended to include item types, sub-types, rarity and now complete stacks of materials. This works for both local bags and all items within your characters bank.

Can be accessed by either an additional search window below the first bag or from the command line.

The total number of items found that have the required criterion are also listed in the UI.

Use the command line /highlight criterion or /hl criterion.

Examples:
  • To highlight all types of ore /hl ore
  • To highlight all 'FULL' stacks /hl stack
  • To highlight blue items in the bag /hl rare
  • To highlight grey items in the bag /hl poor
  • To highlight pets in the bag /hl pet
  • To highlight all quest items /hl quest
  • Example, this would find all millable Northrend herbs /hl herb ilvl>70 stack>5 !fireleaf
  • Another example, to find my old level 70 gear that I can vendor /hl wearable purple lvl<80 cost>0
  • To find partial stacks of bandages so they can be combined /hl bandage !stack
  • To find all usable cooking ingredients that aren't fish /hl cooking !fish

... you see the pattern ...


Please enjoy, and let me know any feedback/bugs...

Thanks

Weeperman
v4.3.0
TOC update

v4.2.1
Restored the filter by type/wearable code
Fixed the 'double escape key' issue

v4.2
TOC update

v3.1
Fixed a couple of LUA errors
Added Colour searching alongside ratity name

v3.0
Finally updated it to work with Cataclysm - sorry for the delay.


2.2
Fixed a nil line entry for the main window.


2.1

A huge thank you to linknoid for a number of improvements.
* Updated TOC

* Added "wearable
* Added "craftable"
* Added negation
* Added multipe search terms
* Added more item quality search terms
* Fixed refresh
* Reworked quantity searching
* Allow fractional gold amounts: for example, "greater than 2g50s" written as >2.5
* /hl by itself now puts focus on the search box, to avoid having to click on it
* Brigtened the non-highlighted items just slightly so you can see what they are
* Reorganized redundant code into its own functions to make things easier to read.

2.0
* TOC update
* Price per slot search added


1.2
* Now searches active guild bank tab
* Searches include 'item location', e.g. 'Feet', '1H'

1.1
A few other mods

1.0 Updated UI & bank fix
* Now working with all bank items (not just those in bags)
* Added UI counter for items found

0.9.1 UI update
* UI window added to run alongside commandline
* Runs with bank bags as well as local bags
* Updates on key presses

0.9 code re-write to clean up code
* Addition of error handlers
* Addition of 'full' stack check
* Add count of items found to the command line
* Removed the need to open the bags, this is now done automatically
* Fixed the grammer in the output messages


0.4 .. 0.8 - test versions to try out new features; thanks to Chia, Ary and vpr for their time and comments.

0.3 first upload to wow interface
Optional Files (0)


Archived Files (11)
File Name
Version
Size
Author
Date
4.2.1
6kB
Weeperman
08-29-11 09:37 AM
4.2
4kB
Weeperman
07-02-11 07:43 AM
3.1
4kB
Weeperman
01-04-11 12:22 PM
3.0
4kB
Weeperman
12-27-10 07:38 AM
2.2
6kB
Weeperman
01-14-10 02:33 PM
2.1
6kB
Weeperman
01-05-10 04:51 AM
2.0
5kB
Weeperman
08-16-09 05:09 AM
1.2
4kB
Weeperman
04-19-09 04:24 AM
1.0
4kB
Weeperman
12-11-08 09:28 AM
0.9
3kB
Weeperman
12-03-08 09:15 AM
0.3
3kB
Weeperman
11-30-08 09:17 AM


Post A Reply Comment Options
Unread 12-05-08, 05:51 AM  
Weeperman
A Kobold Labourer
 
Weeperman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 6
Re: turn back off?

At the moment the only way to reset the highlight is to re-open the bags. This will be addressed in the next version (probably ater today).



Originally posted by Arcadian Del Sol
once you've used it (i.e. /hl quest) how do you return to normal display?
there appears to be no /hl off or /hl disable.
Weeperman is offline Report comment to moderator  
Reply With Quote
Unread 12-04-08, 08:58 PM  
Arcadian Del Sol
A Fallenroot Satyr

Forum posts: 29
File comments: 56
Uploads: 0
turn back off?

once you've used it (i.e. /hl quest) how do you return to normal display?
there appears to be no /hl off or /hl disable.
Arcadian Del Sol is offline Report comment to moderator  
Reply With Quote
Unread 12-03-08, 09:34 AM  
Weeperman
A Kobold Labourer
 
Weeperman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 6
Talking Re: RE: Highlighing full stacks of stuff

Ok 0.9 is is now out and will now display all stacks with /hl stack. All of the search is an OR statement so it currently will not filter items which are 'stacks' and 'ore', but list all stacks and all ore.

Originally posted by Weeperman
Interesting idea.

At 0.3 it will highlight all ore (in my bags I have Cobalt, Silver and tin) by the command '/hl ore'. It doesn't differentiate between full or partially full stacks - but I can see that being useful.

Thanks for the suggestion,

Weeps
Weeperman is offline Report comment to moderator  
Reply With Quote
Unread 11-30-08, 02:37 PM  
Weeperman
A Kobold Labourer
 
Weeperman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 6
Post RE: Highlighing full stacks of stuff

Interesting idea.

At 0.3 it will highlight all ore (in my bags I have Cobalt, Silver and tin) by the command '/hl ore'. It doesn't differentiate between full or partially full stacks - but I can see that being useful.

Thanks for the suggestion,

Weeps


Originally posted by vpr
Can it highlight full stack of say; herbs, cloth, ore, hides, etc?

I think that'd be really useful.
Weeperman is offline Report comment to moderator  
Reply With Quote
Unread 11-30-08, 02:06 PM  
vpr
A Theradrim Guardian

Forum posts: 65
File comments: 273
Uploads: 0
Can it highlight full stack of say; herbs, cloth, ore, hides, etc?

I think that'd be really useful.
vpr is offline 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.