-
Contributor
[ENG] [JarJar] InventoryArmorySetItemsPlugin
This replaces this plugin.
I noticed that there was a request to show (highlight) Armory Set Items so that you don't accidentally salvage them.
And anyway it is easy to get confused with your build variations for different tasks when only few items change etc. mental bookkeeping.
So I copied InventoryAndStashPlugin as base and modified it to highlight items in armory sets and if shit key is pressed, show armory set number(s) where the item belong(s).
By default it shows everything but you can limit display by:
- StashBorderEnabled = false;
- InventoryhBorderEnabled = false;
- EquippedhBorderEnabled = false;
- KeyboardEnabled = false;
pastebin link: InventoryArmorySetItemsPlugin.cs "$Revision: 3674 $" "$Date: 2018-01-13 20:28:18 +0200 (Sat, 13 Jan 2018 ) $"
Last edited by JarJarD3; 01-16-2018 at 07:45 AM.
Reason: OBSOLETE
-
Post Thanks / Like - 3 Thanks
-
Member
For some reason I can not get this to work.
I have it in JarJar folder and named it InventoryArmorySetItemsPlugin saved as .cs
I saw jack made one like this one and got that one to work.
His only works on items in armory for the current guy you are on but items saved on a different guy's armory are not highlighted.
I wonder, does yours work on all items saved in all armorys?
-
Contributor
It's so funny when everything works on developers machine but not elsewhere.
If you are a programmer then dealing with probs would be easy, for others maybe not so.
Look at this forum post (Install Plugins and run TurboHUD) if it helps?
THUD is designed so that it exposes only current players Armory sets at runtime, the same info you can see by yourself when started playing.
I've heard that TurboMGR.exe is designed to handle your stuff at large, including all your players, but never investigated that further as I can manage with current design.
-
Member
Haven't gotten this to work either". Admittedly I will tell you that I'm not a programmer either. Can you give me suggestions on how to fix. Thanks for your work, This is a needed application if using the armory.
Do you install in the -plugin/default/inventory folder
exception listed as follows
2018.01.22 16:43:39.412 error while initializing plugins
2018.01.22 16:43:39.413 c:\Smokey\plugins\Default\Inventory\InventoryArmorySetItemsPlugin.cs(12,1 : error CS0101: The namespace 'Turbo.Plugins.Default' already contains a definition for 'InventoryAndStashPlugin'
Or in plugin/user folders
exception listed are as follows
2018.01.22 13:32:21.855 error while initializing plugins
2018.01.22 13:32:21.855 c:\Smokey\plugins\Default\Inventory\InventoryArmorySetItemsPlugin.cs(12,1 : error CS0101: The namespace 'Turbo.Plugins.Default' already contains a definition for 'InventoryAndStashPlugin'
-
Contributor
This post (Install Plugins and run TurboHUD) is helpful about installing plugins.
Every plugin (a C#source code file) goes into a directory that must match where plugin writer intended it to go and THUD enforces this rule by discarding plugins that are in wrong directory.
This plugin should be in a directory named "JarJar" under Plugins directory.
-
Member
JarJar, Thanks for your prompt reply
I now understand the location where you stuff is placed
in a folder named JarJar in the plugin folder.
You have an extra subfolder named ".Stolen" do you need this to be added also or instead of
Also, in one of your earlier messages you stated the following
As this is a fork - the original InventoryAndStashPlugin must be disabled and this one must be explicitly be enabled as follows:
Code:
// New InventoryAndStashPlugin config!
Hud.TogglePlugin<HoveredItemInfoPlugin>(false);
Hud.TogglePlugin<InventoryAndStashPlugin>(false);
Hud.RunOnPlugin<JarJar.Stolen.InventoryAndStashPlugin>(plugin =>
{
plugin.Enabled = true;
plugin.ShowRedStarEnabled = true;
plugin.ArmoryBordersEnabled = true;
});
not exactly sure what you want done here,
unless
you want hovered changed to false
you want inventory and stash plugin to false
Where is the rest changed
Hud.RunOnPlugin<JarJar.Stolen.InventoryAndStashPlugin>(plugin =>
{
plugin.Enabled = true;
plugin.ShowRedStarEnabled = true;
plugin.ArmoryBordersEnabled = true;
});
Sorry for the noob response, but this is an important plugin that helps not only me but others that have deleted item in stash where used on a armory configuration
Thanks so much for the assistance
-
Contributor
Originally Posted by
JollyTex
JarJar, Thanks for your prompt reply
I now understand the location where you stuff is placed
in a folder named JarJar in the plugin folder.
You have an extra subfolder named ".Stolen" do you need this to be added also or instead of
You can add it for completeness sake but THUD does not enforce deeper folder hierarchies.
As I have lots of stuff I prefer to put things in separate folders.
Originally Posted by
JollyTex
Also, in one of your earlier messages you stated the following
As this is a fork - the original InventoryAndStashPlugin must be disabled and this one must be explicitly be enabled as follows:
THIS IS NOT a FORK!
But I have created a fork of original Default.InventoryAndStashPlugin in above mentioned separate thread which I like more.
This plugin does only this: "highlight items in armory sets" and should be discussed here.
-
Post Thanks / Like - 1 Thanks
JollyTex (1 members gave Thanks to JarJarD3 for this useful post)