Minion Beta! - Help us test our new AddOn updater. Get it now!
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,268
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 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
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 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 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-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-06-08, 11:59 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 1181
Uploads: 25
instead of putting the itembox like that.
make the "Backpack" text in the main bag clickable, and use that space for the editbox.
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 12-11-08, 11:02 AM  
vpr
A Theradrim Guardian

Forum posts: 65
File comments: 273
Uploads: 0
Maybe this is counter intuitive of what your design, but what I was wondering if instead of blacking out everything that doesn't meet the requirements of the inputted command, if you could instead shade the square of what you're looking for a different color.

Again, I'm going to mention full stacks of herbs or cloth because that's what my use is for. I'd like instead of everything turning black leaving only visible the full stack, just to have a full stack be shaded w/ a color of my choosing. I'm trying to make this sound clear, but I'm not sure I'm doing so I hope you can understand.

Also, it'd be really really really super cool if it could be setup to do what I mentioned above automatically w/o having to type a command. The ability for it to know when a stack becomes full and change the color of it's occupied square in the bag would be amazing.

I should mention that I'm currently using "Combuctor" as my bag of choice, and I've suggested this very feature to Tuller, but he hasn't mentioned anything about if he'd include it or not - it's ultimately his choice as it's HIS addon, so perhaps he doesn't see the value in it. I also use Mr. Plow for automated sorting. I mention this, because, if I have my bags open, and I initiate sorting through MrPlow, then your addon would need to know that things are moving and would need to recolor the new occupied square of the same stack.

Anyways, that's my dream for an highlighting addon. Hope you find it interesting enough to implement if you're inclined to do so. I'd be immensely grateful.

Thanks,
vpr
vpr is offline Report comment to moderator  
Reply With Quote
Unread 12-12-08, 07:52 PM  
Tuhljin
A Flamescale Wyrmkin
 
Tuhljin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 101
File comments: 229
Uploads: 11
Great work on this addon. It's very useful. There is a minor bug, though. If the edit box you put under the backpack frame has focus and you hit escape to close your bags, if you don't have all of your bags open already it will open them instead of closing them. Just a nit-picking thing, you might say, but it'd be good to fix. You could probably do so just by making it lose focus when escape is pressed. Thanks!
Tuhljin is offline Report comment to moderator  
Reply With Quote
Unread 12-03-09, 02:49 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 641
Uploads: 3
Is there a way to highlight all items of a certain ilvl or between one ilvl and another? For example, I need to see all the raw meat that is of a certain ilvl so that I can powerlevel my alt, and it would be nice to do that within highlight.

Also it would be really helpful if we could get a list of all the available criterion of /highlight, you know? Thanks for a great addon!
__________________
There is absolutely no evidence to support the theory that life is serious.
xtoq is offline Report comment to moderator  
Reply With Quote
Unread 03-21-10, 03:05 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1048
Uploads: 0
A great bag search addon; better than FlashFind which sometimes bugs out. Except for one thing...the search box Highlight adds to the bottom of the (default Blizzard) Backpack that can't be turned off.

That search box moves the backpack (and bags above it) up a few pixels. Which alters the layout of all your bags when open and can place bags where you don't want them (depending on how many slots they have).

In addition to this problem, the search box is useless to those who do searches via the command line functionality. So some way of disabling that search box at the bottom of the Blizzard Backpack would be appreciated .
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 07-05-10, 07:47 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1048
Uploads: 0
Copying my post from Curse from a couple weeks ago so people who use this site can know about it.

"One other thing to look into for the next version: discovered the other day that this mod strangely creates a monumental amount of garbage at logon, which contributes to really delaying loading the mod (and thus the UI).

After running into a disconnect-in-raids issue thanks to my ISP, started going through mods to see which use a large amount of in-game memory & garbage, as well as when logging on. So that can reduce the amount of time it takes to relog.

After some in-game testing with OptionHouse, which didn't show anything out of the ordinary for Highlight, started testing with Warmup (am using a newer circa-2008 version of Warmup that includes garbage generation info, but that's no longer available from Tekkub's Github. If you'd like it, contact me).

The mod that takes the longest to load (and thus delays logging on the most): Highlight at 2.249 seconds average over 4 logons. It also creates the most garbage of any of the mods I use at logon: over 16 MB. Which is quite odd for a mod without a database such as this.

Hope this issue can be improved for the next version.

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

Well, had time to do followup testing. The prior version 2.0: less than 0.200 seconds load time and less than 100KB of logon garbage generated; repeatable through three different relogs. No errors in usage of v2.0 in the past three days either.

So the features added to v2.1/v2.2 have really bloated this out. Hope you can fix the load time/garbage generation issues in the next release."


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


So if you use this mod & can do without the extra features of v2.2, its worth going back to v2.0. At least until this garbage generation/log-on slowness problem in v2.2 is rectified.
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 10-23-10, 02:00 PM  
Taxidriveer
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Doesn't work anymore with 4.0.1
I've made a small fix here to make it work with 4.0.1 here :
http://www.megaupload.com/?d=MKHTJIGF
Taxidriveer is offline Report comment to moderator  
Reply With Quote
Unread 10-25-10, 01:45 AM  
Ault
A Kobold Labourer

Forum posts: 1
File comments: 39
Uploads: 0
Many thanks Taxidriveer! I really missed this addon!

BTW, McAfee SiteAdvisor gives a warning about megaupload (says it has spyware/adware).
It appears to be safe to download Taxi's file though (it opened a new browser window with
an advertisement, that was all).
Ault is offline Report comment to moderator  
Reply With Quote
Unread 12-27-10, 07:42 AM  
Weeperman
A Kobold Labourer
 
Weeperman's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 13
Uploads: 6
Wink Highlight 3.0 is now ready for download

This addresses the 4.0x issues.
Otherwise I have made no other changes to the addon at this time.
Weeperman is offline Report comment to moderator  
Reply With Quote
Unread 12-27-10, 07:40 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 641
Uploads: 3
You. Are. AWESOME!
__________________
There is absolutely no evidence to support the theory that life is serious.
xtoq 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.