• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

Highlight - the local bag search tool

 
Project Updated:
Files Updated: Thu, Jan 14 2010
Supports Game Version: 3.3.0
Category: Auction & Economy, Bags & Inventory, Guild, Professions, and Quests & Leveling
Tags:

, , , , , , , , , and [Edit Tags]

Project Manager: weeperman
Additional Authors: linknoid
Current Version: Highlight 2.2
License: All Rights Reserved
Development Site: CurseForge.com
Avg Daily DL (last 30 days): 9
Downloads Total: 3,621
Favorites: 19
Comments: 15
  • About Highlight - the local bag search tool
  •  
  • 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?
  • Wish you could search the guild bank?

-----------------------------
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
  • Tfind 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 ;)

  • Downloads (7)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  Highlight - the local bag search tool Highlight 2.2 Release 3.3.0 212 1/14/2010
  Highlight - the local bag search tool Highlight Release 3.3.0 153 1/5/2010
  Highlight - the local bag search tool Highlight 2.0 Release 3.2.0 915 8/16/2009
  Highlight - the local bag search tool Highlight 1.2 - the local bag search tool Release 3.1.0 1,308 4/19/2009
  Highlight - the local bag search tool Highlight 1.0 - the local bag search tool Release 3.0.3 662 12/11/2008
  • Comments

Add Comment

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Zidomo said

    Highlight v2.1 is improperly adding nil values to the chat frame. An example error when Highlight is active and you do a "/hl (search name)" from the command line:

    ["message"] = {
    "BasicChatMods-3.51\\channelnames.lua:29: bad argument #1 to 'gsub' (string expected, got nil)\nBasicChatMods-3.51\\channelnames.lua:29: in function `AddMessage'\nhighlight-2.1\\Highlight.lua:7: in function `Highlight_OutputMessage'\nhighlight-2.1\\Highlight.lua:60: in function `value'\nInterface\\FrameXML\\ChatFrame.lua:3565: in function `ChatEdit_ParseText':\nInterface\\FrameXML\\ChatFrame.lua:3213: in function `ChatEdit_SendText':\nInterface\\FrameXML\\ChatFrame.lua:3237: in function `ChatEdit_OnEnterPressed':\n<string>:\"*:OnEnterPressed\":1: in function <[string \"*:OnEnterPressed\"]:1>\n\nLocals:|r\nframe = ChatFrame1 {\n 0 = <userdata>\n flashTimer = 0\n isInitialized = 1\n tellTimer = 401148.67\n oldAlpha = 0\n channelList = <table> {\n }\n init = 2\n isDocked = 1\n editBox = ChatFrameEditBox {\n }\n hoverTime = 0\n name = \"General\"\n defaultLanguage = \"Common\"\n buttonSide = \"left\"\n zoneChannelList = <table> {\n }\n AddMessage = <function> defined @Interface\\AddOns\\BasicChatMods\\channelnames.lua:27", -- [1]
    "\n messageTypeList = <table> {\n }\n}\ntext = nil\n(for generator) = <function> defined =[C]:-1\n(for state) = <table> {\n %[%d+%. General%] = \"[GEN]\"\n %[%d+%. Trade%] = \"[T]\"\n %[%d+%. LookingForGroup%] = \"[LFG]\"\n %[%d+%. GuildRecruitment %- .*%] = \"[GR]\"\n %[%d+%. WorldDefense%] = \"[WD]\"\n %[%d+%. LocalDefense%] = \"[LD]\"\n}\n(for control) = \"%[%d+%. General%]\"\nk = \"%[%d+%. General%]\"\nv = \"[GEN]\"\npairs = <function> defined =[C]:-1\nchannels = <table> {\n %[%d+%. General%] = \"[GEN]\"\n %[%d+%. Trade%] = \"[T]\"\n %[%d+%. LookingForGroup%] = \"[LFG]\"\n %[%d+%. GuildRecruitment %- .*%] = \"[GR]\"\n %[%d+%. WorldDefense%] = \"[WD]\"\n %[%d+%. LocalDefense%] = \"[LD]\"\n}\ngsub = <function> defined =[C]:-1\nCOLOR = \"777777\"\nlbrack = \"[\"\ndate = <function> defined =[C]:-1\ntformat = \"%X\"\nrbrack = \"]\"\nnewAddMsg = <table> {\n ChatFrame5 = <function> defined =[C]:-1\n ChatFrame4 = <function> defined =[C]:-1\n ChatFrame3 = <function> defined =[C]:-1\n ChatFrame7 = <function> defined =[C]:-1\n ChatFrame6 = <functi", -- [2]
    "on> defined =[C]:-1\n ChatFrame1 = <function> defined =[C]:-1\n}\n\n ---", -- [3]
    },
    ["type"] = "error",
    ["session"] = 475,
    ["counter"] = 1,
    }, -- [187]

    I reported this first to the BasicChatMods author (Funkydude); he pointed out the problem (its with Highlight, not that mod). I've since confirmed that it is in fact Highlight creating the issue; error occurs when running only it & BasicChatMods (and the error recording mods BugSack/BugGrabber) and no other mods. Does not happen under any other circumstances. More details: http://forums.wowace.com/showpost.php?p=295988&postcount=90

    Reply Report Permalink
  • Zidomo said

    Also, outputting nil values to chat is going to affect other mods that affect/output to chat, not just BasicChatMods. So hopefully this problem with Highlight can be fixed.

    Reply Report Permalink
  • weeperman said

    Interesting - am looking into this and hopefully will come up with a fix shortly

    Reply Report Permalink
  • weeperman said

    The problem is in line 60 of Highlight.lua. The message line 'Highlight_OutputMessage(outputmessagetext)' should read 'Highlight_OutputMessage(outmessagetext)' as 'outputmessagetext' doesnt exist as a variable.

    Just about to upload a fixed version that has also been tested with nBasicChatMods

    Reply Report Permalink
  • linknoid said

    You can definitely blame that bug on me. Not sure how I never noticed that, since it had direct consequences on the UI (no more logging search results to chat). Sorry about that.

    Reply Report Permalink
  • VixenWilds said

    has anyone tried this with the new patch yet? if so are you having any issue with it?

    Reply Report Permalink
  • weeperman said

    Sorry for the delay, but Christmas took over. I have updated this to include a stack of improvements from linknoid.

    Now working fine with 3.3 :)

    Reply Report Permalink
  • aelion said

    I've been needing this for a long time, thank you so much

    Reply Report Permalink
  • weeperman said

    Thanks for the feedback - its good to see that this addon is still liked.

    Maybe blizz will add better search into the game one day - until then there's highlight.

    Weepz :)

    Reply Report Permalink
  • Feandaray said

    Is there going to be a 3.3 update?

    Also, as far as feature requests? Can you add options to type simply "Armor" or "Equipment" to get all equipment, or "equipable" for stuff you can equip

    Reply Report Permalink
  • indium said

    great addon, just 2 things:
    1) I would like to highlight only boe items, I'm unable to do it tho :(
    2) highlight is lost after you sell/move some item from bag, prevents me from quick selling all poor items, is it possible to quickly repeat last search?

    Reply Report Permalink
  • weeperman said

    To prevent Data lag - only limited item informationis searched, 'Soulbound' items requried more data from the server. I'm looking into data caching in the future...

    Also everytime the WoW UI updates then any highlighted items are lost, I don't want to rebuild the WoW messageing as this defeats my objecttive of ' a simple addin'. But to repeat the search simply press 'Enter' again and the search is re-applied.

    Reply Report Permalink
  • GovJR said

    Is there any way this could work for guild banks? It's exactly what I was looking for otherwise!

    Reply Report Permalink
  • weeperman said

    1.2 now works with the current guild bank tab - enjoy

    Reply Report Permalink
  • weeperman said

    I'm looking into this now - as I now find it awkward that i have made it work for everything except guild banks....

    Reply Report Permalink
  • Arzach said

    Great idea, but... plz add itemequiploc to searching criteria plz (like /hl shoulder). Code is easy:

    local itemequiploc
    itemname, itemlink, itemrarity, _ , _ , itemtype, itemsubtype, _, itemequiploc = GetItemInfo(GetContainerItemLink(bag, slot))
    [...]
    (string.find(string.lower(itemequiploc), lowersearch) ~= nil)

    Cheers

    Reply Report Permalink
  • weeperman said

    I'll add this in the next update - hopefully to be released in the next few days

    Reply Report Permalink
  • Ayuki said

    i love this addon but a little request... if its possible...
    like after you search.. the writing field is still marked
    you should make like if you press enter.. it unmarks it so you dont have to reopen bags

    Reply Report Permalink
  • weeperman said

    I'll look into this - weeps :)

    Reply Report Permalink
  • Ayuki said

    Thanks =))) love you =**
    XD

    Reply Report Permalink
  • Addon Packs Containing Highlight - the local bag search tool

Most Downloads / Day

Highlight - the local bag search tool has not been added to any Addon Packs yet.

  • Similar Addons
  •  

Average downloads per day

  1. 18,767 QuestHelper Map & Minimap, and Quests...
  2. 17,127 Atlasloot Enhanced Arena, Map & Minimap, Professions...
  3. 2,149 Auctioneer Auction & Economy, Mail, and...
  4. 1,528 Altoholic Guild, Guild, Bags & Inventory...
  5. 1,528 Altoholic Guild, Guild, Bags & Inventory...