-
Contributor
[v9.0] Inventory and Stash Search plugin
This plugin adds a chat command to highlight items in your inventory, paperdoll (equipped), and stash to make it easier to find your stuff.
I wrote this plugin a little while back for personal use, but I overheard from someone today that this is similar to the feature Blizzard implemented on the PTR, so maybe someone would be interested in using this plugin on the live servers while waiting for the season 17 patch.
- 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) and certain set names that don't have a common naming scheme (e.g. legacy of nightmares, unhallowed essence, istvan's paired blades)
- 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)
- (Optional and on by default) It automatically starts searching as you type in your command in the chatbox when the stash and/or inventory windows are open
- (Optional) You can specify your own the search command (default command is /s)
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
Some Configuration Options (these are the default values):
Code:
SearchCmd = "/s"; //don't include a trailing space in the search command
ShowResultsWhileTyping = true; //when the search term is at least MinimumSearchLength characters long, automatically start showing search results
MinimumSearchLength = 2;
Installation:
InventoryStashSearch.cs goes in this folder --> TurboHUD \ plugins \ Razor \
Last edited by Razorfish; 03-30-2021 at 10:16 PM.
Reason: removed attachment
-
Post Thanks / Like - 11 Thanks
RNN,
SeaDragon,
mois,
johnbl,
cpl666k9,
gadasoft,
HugeTorque,
Ashikaga,
iEatAss,
BeeAntOS,
s4000 (11 members gave Thanks to Razorfish for this useful post)
-
Legendary
Very good. I love that I tell you the items found in each tab
-
Post Thanks / Like - 1 Thanks
gadasoft (1 members gave Thanks to RNN for this useful post)
-
Contributor
TurboMGR has a similar search function. Maybe it inspired Blizzard.
This plugin is easier to use, but it came too late.
BTW, it can't work on language client other than English . It may be a coding problem.
-
Contributor
Originally Posted by
SeaDragon
BTW, it can't work on language client other than English
Yeah, unfortunately I am not multilingual enough to write and test a text-searching feature that supports different languages Also before version 9.0, (as far as I can tell) there was very limited plugin access to the language strings used by the game client, and when I wrote it, I saw a documented limitation in TH's interface files that said it returns the strings "ancient" and "primal" in English regardless of game client language settings. When I saw that, I didn't try to write my own solution because I don't know the names for that in other languages.
Last edited by Razorfish; 04-06-2019 at 12:36 PM.
-
Member
Wow, very nicely done.
Noobz
-
Savvy ? 🐒
Originally Posted by
Noobz
Wow, very nicely done.
I can only second that..
Haven't look at the code yet, but.. wow, great job man!
-
Member
This is easily the best plugin to come out lately, i dare say its superior to the new blizzard functionality, as it actually shows you the results in the tabs. Great job man !
-
Member
How to change the language to german strings?
The locolizedname property of IITEM is not the german name in german client?
-
Contributor
Originally Posted by
Ashikaga
How to change the language to german strings?
The locolizedname property of IITEM is not the german name in german client?
From RNN's plugin comments, I saw this:
// To change the language of TH and also the one of this plugin :
// Rename the file TurboHUD\data\selected_language_example.txt to selected_language.txt and edit it after to
// change the last line (example: replace enUS by esES for Spanish/Spain).
You would also have to change the text strings in my InventoryStashSearch.cs file to your language, because I had to write them in manually for naming data that I could not access through TH. (But not everything was done this way because I originally wrote the plugin for myself and as a learning exercise).
It is possible that I don't know the proper way to access item set name strings to keep it easily localized. If anyone does know how to do this, please let me know.
-
Post Thanks / Like - 1 Thanks
Ashikaga (1 members gave Thanks to Razorfish for this useful post)
-
Active Member
Delete this (my post). misread.
Last edited by iThinkiWin; 04-15-2019 at 12:16 PM.
-
Member
Thx for tip, your plugin works as intended, without any changes to InventoryStashSearch.cs
-
Active Member
curious if kj is capable of adding his own UI element addresses, I want this to work with the inventory Search chat entry.
-
Member
This really should have implemented in the original game, I feel sorry for blizzard that I am seeing this feature in a thrid party plugin. But thanks a lot for the feature!