[V7.2][International][Grischu] Override for InventoryAndStashPlugin.cs menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 28
  1. #1
    Grischu's Avatar Member
    Reputation
    10
    Join Date
    Mar 2017
    Posts
    23
    Thanks G/R
    3/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [V7.2][International][Grischu] Override for InventoryAndStashPlugin.cs

    Shows a blue S in the bottom right corner if item is in at least one saved itemset.
    Credits for default plugin goes to KillerJohn.



    Link



    Place this File into /plugins/Grischu/Overrides
    Attached Thumbnails Attached Thumbnails [V7.2][International][Grischu] Override for InventoryAndStashPlugin.cs-setitems-jpg  
    Last edited by Grischu; 04-01-2017 at 03:36 AM. Reason: link

    [V7.2][International][Grischu] Override for InventoryAndStashPlugin.cs
  2. Thanks cherouvim13, prrovoss, bobbydigital12, johnbl, gjuz (5 members gave Thanks to Grischu for this useful post)
  3. #2
    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)
    Not a bad idea, but it's doable without forking the whole inventory plugin.
    Hide the Rum! --> Default theme customization 101 <--

  4. #3
    bm206's Avatar Active Member
    Reputation
    73
    Join Date
    Mar 2017
    Posts
    285
    Thanks G/R
    57/64
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +1 for a steal by KJ for default plugin.

  5. #4
    bm206's Avatar Active Member
    Reputation
    73
    Join Date
    Mar 2017
    Posts
    285
    Thanks G/R
    57/64
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JackCeparou View Post
    Not a bad idea, but it's doable without forking the whole inventory plugin.
    And +1 for this idea!

  6. #5
    Grischu's Avatar Member
    Reputation
    10
    Join Date
    Mar 2017
    Posts
    23
    Thanks G/R
    3/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JackCeparou View Post
    Not a bad idea, but it's doable without forking the whole inventory plugin.
    I know, but i secretly hope KJ will put it into Default Plugin *Hint*

  7. #6
    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)
    Originally Posted by Grischu View Post
    I know, but i secretly hope KJ will put it into Default Plugin *Hint*
    Ok
    One remark so far :
    PHP Code:
            private void DrawItemArmorySet(IItem itemSystem.Drawing.RectangleF rect)
            {
                if (!
    ArmorySetEnabled) return;
                var 
    setstring "";
                foreach (
    IPlayerArmorySet set in Hud.Game.Me.ArmorySets)
                {
                    if (
    set.ContainsItem(item))
                    {
                        
    setstring "S";
                    }
                }
                if (!
    String.IsNullOrEmpty(setstring))
                {
                    var 
    textLayout ArmorySetFont.GetTextLayout(setstring);
                    
    ArmorySetFont.DrawText(textLayoutrect.2rect.Bottom rv 35.0f textLayout.Metrics.Height);
                }
            } 
    =>
    PHP Code:
            private void DrawItemArmorySet(IItem itemSystem.Drawing.RectangleF rect)
            {
                if (!
    ArmorySetEnabled) return;
                if (!
    Hud.Game.Me.ArmorySets.Any(set => set.ContainsItem(item))) return;

                var 
    textLayout ArmorySetFont.GetTextLayout("S");
                
    ArmorySetFont.DrawText(textLayoutrect.2rect.Bottom rv 35.0f textLayout.Metrics.Height);
            } 
    Hide the Rum! --> Default theme customization 101 <--

  8. Thanks madbmax (1 members gave Thanks to JackCeparou for this useful post)
  9. #7
    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)
    yep, it should be marked somehow which items are used in an armory build. good idea.

  10. #8
    Grischu's Avatar Member
    Reputation
    10
    Join Date
    Mar 2017
    Posts
    23
    Thanks G/R
    3/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have done it in HoveredItemInfoPlugin.cs too, but there i have a problem. I only get 4 sets, not 5

    Attached Thumbnails Attached Thumbnails [V7.2][International][Grischu] Override for InventoryAndStashPlugin.cs-hoversets-jpg  
    Last edited by Grischu; 03-30-2017 at 12:09 PM.

  11. #9
    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)
    Originally Posted by Grischu View Post
    I have done it in HoveredItemInfoPlugin.cs too, but there i have a problem. I only get 4 sets, not 5
    Just tested, you are right, the set.ContainsItem(item) return always false on the 5th.
    Also, the set detection seems to not work on amulet.
    Hide the Rum! --> Default theme customization 101 <--

  12. #10
    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)
    A little placement issue with your current implementation (no clue how to resolve)
    It overlap AncientRank on enchanted rings.
    Hide the Rum! --> Default theme customization 101 <--

  13. #11
    Grischu's Avatar Member
    Reputation
    10
    Join Date
    Mar 2017
    Posts
    23
    Thanks G/R
    3/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I also don't know. Upper right corner is the cube decorator. This is a bad position too

  14. #12
    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)
    hm maybe a thin frame around the item?

    edit
    might look ugly for equipped items...

  15. #13
    Stormreaver's Avatar Contributor
    Reputation
    152
    Join Date
    Jul 2012
    Posts
    290
    Thanks G/R
    40/136
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    instead maybe you can just draw a thin teal border around the item or a thin corner at lower left?

  16. #14
    Grischu's Avatar Member
    Reputation
    10
    Join Date
    Mar 2017
    Posts
    23
    Thanks G/R
    3/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How is it like this

    Attached Thumbnails Attached Thumbnails [V7.2][International][Grischu] Override for InventoryAndStashPlugin.cs-armory-jpg  

  17. Thanks bobbydigital12 (1 members gave Thanks to Grischu for this useful post)
  18. #15
    Mendacium's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    2
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice! (I.e. your plugin, and the new position/design.)

Page 1 of 2 12 LastLast

Similar Threads

  1. [V7.2][International][Grischu] Buffstatistics
    By Grischu in forum TurboHUD Community Plugins
    Replies: 20
    Last Post: 04-05-2017, 02:27 AM
  2. [Trading] Dota 2 The international 3 staff for a Hearthstone beta key EU
    By Jintao in forum Hearthstone Buy Sell Trade
    Replies: 0
    Last Post: 10-16-2013, 02:36 PM
  3. WoW internal function for visual hotspot flagging?
    By Viano in forum WoW Memory Editing
    Replies: 2
    Last Post: 06-28-2010, 01:28 PM
  4. Item Sheath Display - An override for Ranged to show for all players?
    By KinkyKing in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 08-17-2009, 12:14 PM
  5. Internal Error With Wamp? +Rep for Help
    By Corosive720 in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 05-30-2008, 01:54 PM
All times are GMT -5. The time now is 04:16 PM. 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