-
-
Post Thanks / Like - 3 Thanks
-
Contributor
What the heck is pexing?
-
Savvy ? 🐒
Originally Posted by
Stormreaver
What the heck is pexing?
Well, leveling ;p
-
Active Member
Can you add Kanai's cube for searching the right set name?
-
Savvy ? 🐒
Originally Posted by
bm206
Can you add Kanai's cube for searching the right set name?
Nope, there is only items in ArmorySet (in hud)
PHP Code:
public interface IPlayerArmorySet
{
IPlayer Player { get; }
int Index { get; }
string Name { get; }
IEnumerable<uint> ItemAnnIds { get; }
bool ContainsItem(IItem item);
}
Edit : btw, you can display all set names with the exact same panoply :
PHP Code:
Hud.RunOnPlugin<Jack.Inventory.InventoryEquippedArmorySetPlugin>(plugin => plugin.FirstSetOnly = false);
Last edited by JackCeparou; 07-29-2017 at 01:36 PM.
-
Active Member
Thx for your answer, but i get an exception:
Der Typ- oder Namespacename 'Inventory' ist im Namespace 'Turbo.Plugins.Jack' nicht vorhanden. (Fehlt ein Assemblyverweis?)
-
Savvy ? 🐒
Originally Posted by
bm206
Thx for your answer, but i get an exception:
Der Typ- oder Namespacename 'Inventory' ist im Namespace 'Turbo.Plugins.Jack' nicht vorhanden. (Fehlt ein Assemblyverweis?)
Redownload it, namespace was wrong : namespace fix * JackCeparou/JackCeparouCompass@e9721c1 * GitHub
-
Active Member
Thx, works! Haven't seen the p <-> P...
-
Member
Jack, just wondering if something is possible.
Could a plugin be made to have a marker on items that are currently saved in the armory? Kind of like the "A" and "P" marker for ancient and primal, but an "S" or something just letting you know that the item is part of a saved build.
I have salvaged a few items that were actually in use in different builds thinking they were just taking up space. Don't know if the game info would allow something like this.
[Edit] Looking at it, I think the game would allow something like this, just saw that HUD lets you know when you drop an item on the ground that is saved as a set when you are using the toon that it is saved for, but not for all toons. (Does not show when a necro drops something saved in the armory for my barb etc). So maybe a marker for items in the inventory that are saved on the current toon. Not as awesome as I would have liked, but still useful.
Last edited by WyrmKin; 12-01-2017 at 07:01 AM.
-
Contributor
Originally Posted by
WyrmKin
Jack, just wondering if something is possible.
Could a plugin be made to have a marker on items that are currently saved in the armory? Kind of like the "A" and "P" marker for ancient and primal, but an "S" or something just letting you know that the item is part of a saved build.
I have salvaged a few items that were actually in use in different builds thinking they were just taking up space. Don't know if the game info would allow something like this.
[Edit] Looking at it, I think the game would allow something like this, just saw that HUD lets you know when you drop an item on the ground that is saved as a set when you are using the toon that it is saved for, but not for all toons. (Does not show when a necro drops something saved in the armory for my barb etc). So maybe a marker for items in the inventory that are saved on the current toon. Not as awesome as I would have liked, but still useful.
Find InventoryAndStashPlugin.cs and PaintTopInGame() method.
There is a loop over all items: foreach (var item in items) { ... }
Add this code to end of the code block (curly braces) just after DrawItemCanCubed(item, rect);
Code:
if (item.Location == ItemLocation.Stash || item.Location == ItemLocation.Inventory)
{
foreach (var set in Hud.Game.Me.ArmorySets)
{
if (set.ContainsItem(item))
{
InventoryLockBorderBrush.DrawRectangle(rect.X, rect.Y, rect.Width, rect.Height);
break;
}
}
}
If you leave the first if statement away, even equipped items will be "highlighted"!
-
Savvy ? 🐒
That's rarely a good idea to modify default plugins code.
I made an update to this plugin to highlight 'armory items'
Last edited by JackCeparou; 01-14-2018 at 02:55 PM.
-
Post Thanks / Like - 1 Thanks
johnbl (1 members gave Thanks to JackCeparou for this useful post)
-
Contributor
Originally Posted by
JackCeparou
That's rarely a good idea to modify default plugins code.
That's true, it was just a proof of concept.
I created a simple plugin to highlight Armory Set Items.
-
Member
Originally Posted by
JackCeparou
That's rarely a good idea to modify default plugins code.
I made an update to this plugin to highlight 'armory items'
I like this plugin was wondering if you could include all armory items from all characters
-
Savvy ? 🐒
Originally Posted by
SoftcoreOnly
I like this plugin was wondering if you could include all armory items from all characters
Nope, at least not atm because we have only access to armory items of currently played hero.
-
Member
Does this still work? I'm having trouble getting it working. I have your other plugins working...