How to not show Leg names before ID'ing them? menu

User Tag List

Results 1 to 9 of 9
  1. #1
    amcentee85's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    9
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to not show Leg names before ID'ing them?

    I would like to know if anyone has been able to remove naming before ID'ing for the legendarys.

    something like this?How to not show Leg names before ID'ing them?-unid-png

    How to not show Leg names before ID'ing them?
  2. #2
    amcentee85's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    9
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, so i found this is plugins/default/Items/ItemsPlugin.cs


    using System.Collections.Generic;
    using System.Linq;

    namespace Turbo.Plugins.Default
    {

    public class ItemsPlugin : BasePlugin, IInGameWorldPainter, ILootGeneratedHandler
    {

    public WorldDecoratorCollection LegendaryDecorator { get; set; }
    public WorldDecoratorCollection AncientDecorator { get; set; }
    public WorldDecoratorCollection PrimalDecorator { get; set; }
    public WorldDecoratorCollection SetDecorator { get; set; }
    public WorldDecoratorCollection AncientSetDecorator { get; set; }
    public WorldDecoratorCollection PrimalSetDecorator { get; set; }
    public WorldDecoratorCollection UtilityDecorator { get; set; }
    public WorldDecoratorCollection NormalKeepDecorator { get; set; }
    public WorldDecoratorCollection MagicKeepDecorator { get; set; }
    public WorldDecoratorCollection RareKeepDecorator { get; set; }
    public WorldDecoratorCollection LegendaryKeepDecorator { get; set; }
    public WorldDecoratorCollection BookDecorator { get; set; }
    public WorldDecoratorCollection DeathsBreathDecorator { get; set; }
    public WorldDecoratorCollection InArmorySetDecorator { get; set; }

    public bool EnableCustomSpeak { get; set; }
    public Dictionary<ISnoItem, string> CustomSpeakTable { get; private set; }

    public bool EnableSpeakLegendary { get; set; }
    public bool EnableSpeakAncient { get; set; }
    public bool EnableSpeakPrimal { get; set; }
    public bool EnableSpeakSet { get; set; }
    public bool EnableSpeakAncientSet { get; set; }
    public bool EnableSpeakPrimalSet { get; set; }

    public ItemsPlugin()
    {
    Enabled = true;

    EnableSpeakLegendary = false;
    EnableSpeakAncient = false;
    EnableSpeakPrimal = false;
    EnableSpeakSet = false;
    EnableSpeakAncientSet = false;
    EnableSpeakPrimalSet = false;

    If i change the true to false it gets me the effect i would like, but i see that you shouldn't mess with the default theme, how would i turn this into a plugin?

  3. #3
    Csavo's Avatar Active Member
    Reputation
    30
    Join Date
    Mar 2017
    Posts
    121
    Thanks G/R
    17/29
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    insert into \User\PluginEnablerOrDisablerPlugin.cs
    PHP Code:
    Hud.RunOnPlugin<ItemsPlugin>(plugin => plugin.LegendaryDecorator.ToggleDecorators<GroundLabelDecorator>(false));
    Hud.RunOnPlugin<ItemsPlugin>(plugin => plugin.AncientDecorator.ToggleDecorators<GroundLabelDecorator>(false));
    Hud.RunOnPlugin<ItemsPlugin>(plugin => plugin.PrimalDecorator.ToggleDecorators<GroundLabelDecorator>(false));
    Hud.RunOnPlugin<ItemsPlugin>(plugin => plugin.SetDecorator.ToggleDecorators<GroundLabelDecorator>(false));
    Hud.RunOnPlugin<ItemsPlugin>(plugin => plugin.AncientSetDecorator.ToggleDecorators<GroundLabelDecorator>(false));
    Hud.RunOnPlugin<ItemsPlugin>(plugin => plugin.PrimalSetDecorator.ToggleDecorators<GroundLabelDecorator>(false)); 

  4. Thanks amcentee85 (1 members gave Thanks to Csavo for this useful post)
  5. #4
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    534
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    51/490
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP Code:
                Hud.RunOnPlugin<Plugins.Default.ItemsPlugin>(plugin =>
                {
                    
    plugin.LegendaryDecorator.ToggleDecorators<GroundLabelDecorator>(false);
                    
    plugin.AncientDecorator.ToggleDecorators<GroundLabelDecorator>(false);
                    
    plugin.PrimalDecorator.ToggleDecorators<GroundLabelDecorator>(false);
                    
    plugin.SetDecorator.ToggleDecorators<GroundLabelDecorator>(false);
                    
    plugin.AncientSetDecorator.ToggleDecorators<GroundLabelDecorator>(false);
                    
    plugin.PrimalSetDecorator.ToggleDecorators<GroundLabelDecorator>(false);
                }); 
    Default theme customization 101

    Edit : beaten to it, but anyway, there is no reason to call RunOnPlugin() 6 times.
    Hide the Rum! --> Default theme customization 101 <--

  6. Thanks amcentee85 (1 members gave Thanks to JackCeparou for this useful post)
  7. #5
    amcentee85's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    9
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome, thank you! works like i wanted it too, but i am getting execption errors, (2) now,
    d:\TurboHud\plugins\User\PluginEnablerOrDisablerPlugin.cs(36,2) : error CS0116: A namespace cannot directly contain members such as fields or methods
    2017.04.10 08:34:51.012 error while initializing plugins
    anything to be worried about?

  8. #6
    Csavo's Avatar Active Member
    Reputation
    30
    Join Date
    Mar 2017
    Posts
    121
    Thanks G/R
    17/29
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    whats the 36th line in your PluginEnablerOrDisablerPlugin.cs? because your exception is triggered from there.

  9. #7
    amcentee85's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    9
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmmm odd... 36 is completly blank,

    35. Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled = false;
    36.
    37. // disable arcane affix label

    This was the stuff that was on there as the examples from the file when first downloaded, should i delete the example stuff?

  10. #8
    amcentee85's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    9
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for the time and info, i figured it out! i had put in outside the brackets at the bottom of the file instead of inside them, derp. haha, thanks again! i used

    Hud.RunOnPlugin<Plugins.Default.ItemsPlugin>(plugin =>
    {
    plugin.LegendaryDecorator.ToggleDecorators<GroundLabelDecorator>(false);
    plugin.AncientDecorator.ToggleDecorators<GroundLabelDecorator>(false);
    plugin.PrimalDecorator.ToggleDecorators<GroundLabelDecorator>(false);
    plugin.SetDecorator.ToggleDecorators<GroundLabelDecorator>(false);
    plugin.AncientSetDecorator.ToggleDecorators<GroundLabelDecorator>(false);
    plugin.PrimalSetDecorator.ToggleDecorators<GroundLabelDecorator>(false);
    });

    if anyone else wants it!

  11. #9
    prrovoss's Avatar Contributor
    Reputation
    152
    Join Date
    Jan 2013
    Posts
    420
    Thanks G/R
    23/130
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    could you post your complete PluginEnablerOrDisablerPlugin.cs? you can surround it by [code] tags also.

    //edit
    okay, works now^^

Similar Threads

  1. How to change Acc Region that's not in your name
    By Madness657 in forum World of Warcraft General
    Replies: 3
    Last Post: 12-08-2015, 04:33 PM
  2. How to not move ur legs when ur walking/flying with mount
    By Lankus in forum World of Warcraft Exploits
    Replies: 11
    Last Post: 07-07-2007, 06:21 PM
  3. How To Not Lose Arrmor Con When u Die (All Classes)
    By Slinky118 in forum World of Warcraft Exploits
    Replies: 8
    Last Post: 08-16-2006, 12:54 PM
All times are GMT -5. The time now is 08:09 AM. 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