Remove AncientRank (A & P) from unidentified items only menu

User Tag List

Results 1 to 8 of 8
  1. #1
    cow_kng's Avatar Member
    Reputation
    1
    Join Date
    Sep 2018
    Posts
    5
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Remove AncientRank (A & P) from unidentified items only

    Hello All!

    Is it possible to remove the AncientRank text "A" for ancient and "P" for primal from unidentified items only?

    I know absolutely zero about programming and code, but I did notice "item.Unidentified" mentioned, which leads me to believe it's possible...

    I love having the AncientRank present on the gear that is already identified but I find myself wanting to slightly prolong the disappointment that the item I just found isn't the primal I wanted... Looking to build suspense I suppose?

    Any help will be greatly appreciated!

    Thanks

    Remove AncientRank (A & P) from unidentified items only
  2. #2
    Xewl's Avatar Active Member CoreCoins Purchaser
    Reputation
    56
    Join Date
    May 2015
    Posts
    95
    Thanks G/R
    24/19
    Trade Feedback
    6 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Just need to add this line to the file in plugins/User/PluginEnablerOrDisablePlugin.cs

    Code:
    Hud.GetPlugin<InventoryAndStashPlugin>().AncientRankEnabled = false;
    Here's the whole file:

    Code:
    // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    // *.txt files are not loaded automatically by TurboHUD
    // you have to change this file's extension to .cs to enable it
    // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    using Turbo.Plugins.Default;
    
    namespace Turbo.Plugins.User
    {
    
        public class PluginEnablerOrDisablerPlugin : BasePlugin, ICustomizer
        {
    
            public PluginEnablerOrDisablerPlugin()
            {
                Enabled = true;
            }
    
            public override void Load(IController hud)
            {
                base.Load(hud);
            }
    
            // "Customize" methods are automatically executed after every plugin is loaded.
            // So these methods can use Hud.GetPlugin<class> to access the plugin instances' public properties (like decorators, Enabled flag, parameters, etc)
            // Make sure you test the return value against null!
            public void Customize()
            {
    		/*
                // basic examples
    
                // turn on MultiplayerExperienceRangePlugin
                Hud.TogglePlugin<MultiplayerExperienceRangePlugin>(true);
    
                // turn off sell darkening
                Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled = false;
    
                // disable arcane affix label
                Hud.GetPlugin<EliteMonsterAffixPlugin>().AffixDecorators.Remove(MonsterAffix.Arcane);
    
                // override an elite affix's text
                Hud.GetPlugin<EliteMonsterAffixPlugin>().CustomAffixNames.Add(MonsterAffix.Desecrator, "DES");
    			*/
    			
    			Hud.GetPlugin<InventoryAndStashPlugin>().AncientRankEnabled = false;
            }
    
        }
    
    }
    Edit: Just noticed you mentioned on unidentified only. That would take a custom plugin I believe.

  3. Thanks cow_kng (1 members gave Thanks to Xewl for this useful post)
  4. #3
    cow_kng's Avatar Member
    Reputation
    1
    Join Date
    Sep 2018
    Posts
    5
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yea I had already tried your suggestion and I agree, whatever it is that needs to be done is beyond my ability. Thanks for responding though!

  5. #4
    cow_kng's Avatar Member
    Reputation
    1
    Join Date
    Sep 2018
    Posts
    5
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just checking back! Anyone have a solution?

  6. #5
    Klamist's Avatar Member
    Reputation
    7
    Join Date
    Mar 2018
    Posts
    41
    Thanks G/R
    1/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Add this in InventoryAndStashPlugin.cs, right after
    var ancientRankText = ancientRank == 1 ? "AAA" : "PPP";
    if (!item.Unidentified) { ancientRankText = " " }

  7. #6
    cow_kng's Avatar Member
    Reputation
    1
    Join Date
    Sep 2018
    Posts
    5
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey thanks for the response! No luck on my end though. It is a possibility that I have made some rookie mistake while inputting your suggestion, but I have since attempted a few format variations and still nothing. Well, not nothing, but not the desired effect.

    The result (somehow) removed the ancient rank from all identified items in my stash and inventory while still leaving the Caldessan's rank.

    Somehow or another it almost did the exact opposite of what I was shooting for hahaha...

    I'm not able to include a screenshot because my .png image is the wrong .jpeg fornat? Wtf does that mean?? Of course it's wrong... it's a .png... SIlly forum.


    It is attempting to do something - I just have to figure out how to change it from my currently equipped items, to unidentified ones .

  8. #7
    Klamist's Avatar Member
    Reputation
    7
    Join Date
    Mar 2018
    Posts
    41
    Thanks G/R
    1/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sorry, I got two mistakes.
    var ancientRankText = ancientRank == 1 ? "A" : "P"; // find this line
    if (item.Unidentified) { ancientRankText = " "; } // just add this line after that.
    this will work fine

  9. Thanks cow_kng, slipslop (2 members gave Thanks to Klamist for this useful post)
  10. #8
    cow_kng's Avatar Member
    Reputation
    1
    Join Date
    Sep 2018
    Posts
    5
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Works like a charm! Thank you very much .

Similar Threads

  1. [Database] Removing the red question mark from custom items
    By sora2810 in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 12-06-2010, 06:14 PM
  2. [ArcEmu] How To Change/Remove Price from Vendor Items?
    By Astonix in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 06-27-2010, 08:40 AM
  3. [Tut] How to remove the red ? mark from custom items! [/Tut]
    By God-Of-War in forum WoW EMU Guides & Tutorials
    Replies: 14
    Last Post: 11-30-2009, 11:06 AM
  4. Gold From Twink Items
    By Rosulm in forum World of Warcraft Guides
    Replies: 18
    Last Post: 06-01-2009, 11:18 AM
  5. remove the 24 hour duration from festive mug
    By freak4ever in forum World of Warcraft Exploits
    Replies: 21
    Last Post: 08-11-2007, 06:59 PM
All times are GMT -5. The time now is 11:08 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