Inventory and Stash Search Plugin (+Armory) menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Razorfish's Avatar Contributor
    Reputation
    188
    Join Date
    Apr 2019
    Posts
    178
    Thanks G/R
    19/158
    Trade Feedback
    0 (0%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Inventory and Stash Search Plugin (+Armory)

    This plugin adds a chat command to highlight items in your inventory, paperdoll (equipped), and stash to make it easier to find your stuff. It also now extends the built-in stash search field to mark tabs and inventory with results.

    [Tested with TurboHUD verson 20.7.12.0, API version 9.1]

    FEATURES
    • It automatically starts searching as you type in your command in the chatbox or in the stash search field when the stash and/or inventory windows are open
    • The name of the item to find is case insensitive and can be a partial phrase
    • You can optionally specify legendary item quality (ancient, primal)
    • You can also search by item type (e.g. legendary gem, potion)
    • You can also search by set names for sets that don't have a common naming scheme (e.g. bastions of will, unhallowed essence, istvan's paired blades, gears of dreadlands)
    • It will search within item sockets, in case you are searching for socketed gems
    • You can put item links (shift clicking an item when the chat prompt is open) in your search, and it will extract the text name of the item (e.g. {{[Focus]}} becomes Focus)
    • (NEW) You can filter legendary gem searches by its rank
    • (NEW) You can filter item searches by stat type
    • (Optional) You can specify your own the search command (default command is /s)


    It's still an intermittent work-in-progress and needs more polishing, but it is very functional. New features include:
    • extends the built-in stash search field to mark tabs and inventory with results
    • set searching for the two new S21 sets (both have irregular piece names), e.g. just type in "gear" to find all Gears of the Dreadlands set pieces, etc
    • armory items searching, tagging, in-tooltip listing
    • you can perform chat-command searches while the inventory window is open, even if you're not at the stash
    • cross-character search (WIP: it works for heroes seen in the current HUD session - you loaded those characters into games)
    • cross-character armory profile item tagging (WIP: it works for heroes seen in the current HUD session - but data persistence across sessions is one of the next major steps to work on)
    • improved search results summary (WIP)

    The search looks at localized item names, however I don't know how it would perform in languages other than English.

    (new)
    (old)

    USAGE EXAMPLES
    /s ancient focus --> highlights all Ancient quality Focus rings
    /s leg gem --> highlights all legendary gems
    /s ancient unhallowed --> highlights all ancient quality items in the Unhallowed Essence set
    /s eso --> highlights all Esoteric Alteration gems, including ones socketed in jewelry
    /s ^ron --> highlights items whose name begins with "ron", such as Rondal's Locket

    By request, I added the ability to refine your current character's search results with parameters. You can now search for item stat text with +stat name (partial match works), for example:
    /s convention +area --> highlights all Convention of Elements rings with the area damage stat
    /s nem +int --> highlights all Nemesis bracers with intelligence stat
    /s ring +crit chance +cooldown --> highlights all rings with both crit chance and cooldown stats (also matches "Bone Ringer" with the same stats)

    You can now search for legendary gems of specific ranks (you can specify any rank number for the search), for example:
    /s zei 150 --> highlights Zei's Stone of Vengeance legendary gems that are leveled to rank 150
    /s zei >100 --> highlights all Zei's Stone of Vengeance legendary gems above rank 100
    /s leg gem <123 --> highlights all legendary gems below rank 123

    These parameters work with both the chat command and stash search field.

    DOWNLOAD
    InventoryStashSearch_Aug-7-2020.zip

    INSTALLATION
    Put the files and folders here:
    TurboHUD\plugins\Razor\Click\ (required)
    TurboHUD\plugins\Razor\InventoryStashSearch.cs

    CONFIGURATION OPTIONS
    There are some variables whose values can be customized:
    Code:
    MarkArmorySets = true //show the corner triangle at the bottom left of an item icon
    ShowArmoryInTooltips = true //show list of armory profiles that this item is saved to
    SearchCmd = "/s" //this is the chat command
    MinimumSearchLength = 2 //only perform a search if the item name is two letters or longer
    SetNames = new Dictionary<uint, string>() {...} //defines all the set ids and how they translate into search terms

    I wrote this plugin a while back for personal use, before season 17, whose patch added the stash search field. This is a rewrite that fixes some bugs with the old system and adds more features. If you want to stick with the barebones old version, you can still download it here ([v9.0] Inventory and Stash Search plugin).
    Last edited by Razorfish; 12-20-2021 at 08:40 AM. Reason: updated download link

    Inventory and Stash Search Plugin (+Armory)
  2. Thanks RNN, s4000, Wasted75, mois, BeeAntOS, SeaDragon, PTS_TDS, JohnWick, Skeeh, DoctoreGDL, Wasted74, soraaa (12 members gave Thanks to Razorfish for this useful post)
  3. #2
    RNN's Avatar Legendary
    Reputation
    790
    Join Date
    Sep 2018
    Posts
    1,032
    Thanks G/R
    102/753
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    I have used the previous version a lot, very useful , thx

  4. #3
    takayo72's Avatar Active Member
    Reputation
    17
    Join Date
    Jan 2018
    Posts
    203
    Thanks G/R
    43/15
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    is it able to search a ring with a stat?
    For example search a convention of elements ring with area damage

  5. #4
    Razorfish's Avatar Contributor
    Reputation
    188
    Join Date
    Apr 2019
    Posts
    178
    Thanks G/R
    19/158
    Trade Feedback
    0 (0%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by takayo72 View Post
    is it able to search a ring with a stat?
    For example search a convention of elements ring with area damage
    Unfortunately, not at this time because, (1) I am still a noob about how the stat text is stored (luckily, I know just the plugin to learn from), and (2) it would take some structural changes to the plugin to additionally store stat data. It's on my todo list though, just gotta establish how I want to implement it.

  6. Thanks takayo72 (1 members gave Thanks to Razorfish for this useful post)
  7. #5
    s4000's Avatar Contributor
    Reputation
    284
    Join Date
    Oct 2018
    Posts
    489
    Thanks G/R
    18/271
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    This is the SearchTerm I used before for localization & level of leg gems, hope you will add into it

    Code:
    private string SearchTerms(IItem item, bool extraTerm) {
    			var _searchTerms = item.SnoItem.NameEnglish + item.SnoItem.NameLocalized;
    
    			if (item.IsLegendary)
    				_searchTerms = Text_Legendary + _searchTerms;
    
    			if (extraTerm) {
    				if (SetNames.TryGetValue(item.SetSno, out var setName))
    					_searchTerms += setName;
    				if (item.AncientRank >= 1)
    					_searchTerms = Text_Ancient + _searchTerms;
    				if (item.AncientRank >= 2)
    					_searchTerms = Text_Primal + _searchTerms;
    			}
    
    			if (item.JewelRank >= 100) {
    				if (item.JewelRank == 150)
    					_searchTerms += "150" + Text_LegGem;
    				else if (item.JewelRank >= 140)
    					_searchTerms += "140" + Text_LegGem;
    				else if (item.JewelRank >= 130)
    					_searchTerms += "130" + Text_LegGem;
    				else if (item.JewelRank >= 120)
    					_searchTerms += "120" + Text_LegGem;
    				else if (item.JewelRank >= 110)
    					_searchTerms += "110" + Text_LegGem;
    				else
    					_searchTerms += "100" + Text_LegGem;
    			}
    			_searchTerms += item.SnoItem.SnoItemType.NameEnglish + item.SnoItem.SnoItemType.NameLocalized;
    
    			return _searchTerms;
    		}

  8. #6
    Razorfish's Avatar Contributor
    Reputation
    188
    Join Date
    Apr 2019
    Posts
    178
    Thanks G/R
    19/158
    Trade Feedback
    0 (0%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by takayo72 View Post
    is it able to search a ring with a stat?
    For example search a convention of elements ring with area damage
    The plugin download in the first post (Inventory and Stash Search Plugin (+Armory)) has been updated.

    By request, I just added the ability to refine your current character's search results with some parameters. This currently only works for stash, inventory and equipped gear. Search results summary does not yet reflect the additional parameters (work-in-progress).

    You can now search for item stat text with +stat name (partial match works), for example:
    /s convention +area --> highlights all Convention of Elements rings with the area damage stat
    /s nem +int --> highlights all Nemesis bracers with intelligence stat

    Originally Posted by s4000 View Post
    This is the SearchTerm I used before for localization & level of leg gems, hope you will add into it
    You can now search for legendary gems of specific ranks (you can specify any rank number for the search), for example:
    /s zei 150 --> highlights Zei's Stone of Vengeance legendary gems that are leveled to rank 150
    /s zei >100 --> highlights all Zei's Stone of Vengeance legendary gems above rank 100
    /s leg gem <100 --> highlights all legendary gems below rank 100

  9. Thanks takayo72, RNN, BeeAntOS, Noobz (4 members gave Thanks to Razorfish for this useful post)
  10. #7
    Razorfish's Avatar Contributor
    Reputation
    188
    Join Date
    Apr 2019
    Posts
    178
    Thanks G/R
    19/158
    Trade Feedback
    0 (0%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Updated the download in the first post with some plugin fixes and changes:
    • Fixed search summary to take into account search parameters
    • Fixed cross-character search results to include items inside sockets
    • Fixed parameter regex to capture more than one word of text and handle empty parameters
    • Fixed NullPointerException when a parameter search attempts to access the stat text of unidentified items
    • Converted some hardcoded text prompts to variables for localization
    • Changed click detection to use my Click library because it has better desync correction
    • Changed search summary to display parameters used, cleaned up the display of results


    If you already have the "Click" folder from the Movable plugin system, you don't need to overwrite that (it's the same thing).

  11. Thanks BeeAntOS, RNN (2 members gave Thanks to Razorfish for this useful post)
  12. #8
    PTS_TDS's Avatar Member
    Reputation
    3
    Join Date
    Sep 2019
    Posts
    9
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can we search for types of items, I mean: "/s phylactery" "/s shoulder" or something like that?

  13. #9
    Razorfish's Avatar Contributor
    Reputation
    188
    Join Date
    Apr 2019
    Posts
    178
    Thanks G/R
    19/158
    Trade Feedback
    0 (0%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by PTS_TDS View Post
    Can we search for types of items, I mean: "/s phylactery" "/s shoulder" or something like that?
    Yes, you can search by item type.

  14. Thanks PTS_TDS (1 members gave Thanks to Razorfish for this useful post)
  15. #10
    Noobz's Avatar Member
    Reputation
    6
    Join Date
    Mar 2017
    Posts
    143
    Thanks G/R
    8/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have to say, this is a fantastic plugin and is so useful. Thank you for your contributions.

    Noobz

  16. Thanks Skeeh (1 members gave Thanks to Noobz for this useful post)
  17. #11
    Mark Baker's Avatar Member
    Reputation
    4
    Join Date
    Aug 2014
    Posts
    23
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there a way to remove this feature?Item.png

  18. #12
    Razorfish's Avatar Contributor
    Reputation
    188
    Join Date
    Apr 2019
    Posts
    178
    Thanks G/R
    19/158
    Trade Feedback
    0 (0%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Mark Baker View Post
    Is there a way to remove this feature?Item.png
    On line 58, set ShowArmoryInTooltips to false:
    Code:
    public bool ShowArmoryInTooltips { get; set; } = false;
    Or set it in a config file's (such as plugins / User / PluginEnablerOrDisablerPlugin.cs) Customize function:
    Code:
    public void Customize()
    {
            Hud.GetPlugin<Razor.InventoryStashSearch>().ShowArmoryInTooltips = false;
    }

  19. #13
    Mark Baker's Avatar Member
    Reputation
    4
    Join Date
    Aug 2014
    Posts
    23
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Razorfish View Post
    On line 58, set ShowArmoryInTooltips to false:
    Code:
    public bool ShowArmoryInTooltips { get; set; } = false;
    Or set it in a config file's (such as plugins / User / PluginEnablerOrDisablerPlugin.cs) Customize function:
    Code:
    public void Customize()
    {
            Hud.GetPlugin<Razor.InventoryStashSearch>().ShowArmoryInTooltips = false;
    }
    Thanks, that worked perfectly.

  20. #14
    alternate_'s Avatar Member
    Reputation
    3
    Join Date
    Feb 2020
    Posts
    39
    Thanks G/R
    17/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot for that great plugin, Razor!!

    I'm a lazy bastard so I added a quicksearch toggle for ancients when pressing left CTRL key:

    InventoryStashSearch.cs (needs to implement IKeyEventHandler interface)
    Code:
            public bool SearchAncients { get; set; }
            public IKeyEvent ToggleKeyEvent { get; set; }
    
            public void OnKeyEvent(IKeyEvent keyEvent)
            {
                if (keyEvent.IsPressed && ToggleKeyEvent.Matches(keyEvent))
                {
    			if(!SearchAncients || ((SearchString == null) && (Search == null)))
    			{
    				SearchAncients = true;
    				ProcessSearchString("ancient");
    			}
    			else
    			{
    				SearchAncients = false;
    				SearchString = null;
    				Search = null;		
    			}
                }
            }

    PluginEnablerOrDisablerPlugin.cs
    Code:
    Hud.RunOnPlugin<Razor.InventoryStashSearch>(plugin =>
    {
    	plugin.ToggleKeyEvent = Hud.Input.CreateKeyEvent(true, Key.LeftControl, true, false, false);
    });
    Last edited by alternate_; 03-24-2021 at 11:49 PM. Reason: forgot the most important

  21. #15
    bASSb0XXX's Avatar Member
    Reputation
    1
    Join Date
    Mar 2021
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The Data is deleted, i cant download it anyore :/

Page 1 of 2 12 LastLast

Similar Threads

  1. [v9.0] Inventory and Stash Search plugin
    By Razorfish in forum TurboHUD Community Plugins
    Replies: 12
    Last Post: 09-26-2019, 09:15 PM
  2. Searching the Armory for a Scamming Character
    By Clever321 in forum WoW Scam Prevention
    Replies: 10
    Last Post: 07-11-2008, 06:01 AM
  3. [Firefox Plugin] WoW Search Plugin
    By suicidity in forum World of Warcraft Bots and Programs
    Replies: 22
    Last Post: 07-08-2007, 08:20 AM
All times are GMT -5. The time now is 10:35 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search