[7.2] [ENGLISH] [ZX] BuffSideBarPlugin menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Zerious's Avatar Active Member
    Reputation
    27
    Join Date
    Mar 2017
    Posts
    15
    Thanks G/R
    3/20
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [7.2] [ENGLISH] [ZX] BuffSideBarPlugin

    Hi Guys,

    Haven't been able to play D3 lately, real-life was too busy
    This is just a quick update to make the necessary adjustment to THUD's new 7.2 plugin system
    Forum went down before I was able to learn the stuff that got changed in 7.2 so this was like coding blindfolded

    [C#] BuffSideBarPlugin - Pastebin.com
    (Save to "THUD\plugins\ZX" directory)

    To-do : Rewrite the code to use VerticalTopLabelList, someday!



    Description from the old forum :

    This is a plugin to add Buff buttons as a bar at the right of the screen. The button will light up when the respective buff SNO is active.
    For example, I use it to know whether I have my Nemesis Bracer equipped, or a Flying Dragon is active or not, or whether I am standing inside the Oculus Ring and the damage buff is active.



    To modify the list of buffs, just modify these part of the code :

    Code:
    BuffBarsList.Add(new IBuffBarsList("NB", "Nemesis Bracers", 318820, -1));
    BuffBarsList.Add(new IBuffBarsList("GW", "Goldwrap", 318875, 1));
    BuffBarsList.Add(new IBuffBarsList("OR", "Oculus Ring", 402461, 2));
    BuffBarsList.Add(new IBuffBarsList("IS", "Inner Sanctuary", 317076, -1));
    BuffBarsList.Add(new IBuffBarsList("FD", "Flying Dragon", 246562, 1));
    BuffBarsList.Add(new IBuffBarsList("SM", "Swiftmount", 359537, -1));
    //BuffBarsList.Add(new IBuffBarsList("BP", "Broken Promises", 402462, 2));
    //BuffBarsList.Add(new IBuffBarsList("CE", "Convention of Elements", 430674, 5)); //1 Arcane, 2 Cold, 3 Fire, 4 Holy, 5 Lightning, 6 Physical, 7 Poison
    The order is :
    1. Shorthand (what actually displayed on the buttons)
    2. Description (long name when your mouse cursor hovers over the button)
    3. Buff SNO
    4. Buff IconIndex

    I am a C# noob and I know virtually nothing about optimizations, so any constructive input is much appreciated. Bug reports too, I'll fix it if I can.
    Special thanks to KillerJohn and prrovoss , and all the THUD community for the code hints, I definitely stole some of your codes

    HTH

    Update 2017-07-30
    SNOs for Necromancer's Command Skeleton and Dayntee Binding
    Code:
    BuffBarsList.Add(new IBuffBarsList("CS", "Command Skeleton", 453801, -1, HeroClass.Necromancer));			
    BuffBarsList.Add(new IBuffBarsList("DB", "Dayntee Binding DR", 476689, 1, HeroClass.Necromancer));

    Update 2017-08-04
    Updated the code for a new feature, Horizontal Alignment
    When enabled, the buff bar will move to be like this :
    Last edited by Zerious; 08-03-2017 at 01:59 PM.

    [7.2] [ENGLISH] [ZX] BuffSideBarPlugin
  2. Thanks cherouvim13, johnbl, cellat94, RNN (4 members gave Thanks to Zerious for this useful post)
  3. #2
    denismax7's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    4
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The link is not working

  4. #3
    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)
    Hi Z!

    No review yet but welcome back and take a look at what your dangerous affixes plugin has evolved ;p
    [v7.2] [INTERNATIONAL] [Jack] DangerousAffixMonsterPlugin
    Hide the Rum! --> Default theme customization 101 <--

  5. #4
    SeaDragon's Avatar Contributor
    Reputation
    321
    Join Date
    Aug 2016
    Posts
    1,041
    Thanks G/R
    140/299
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Once, I would like to upgrade it to V7.1, but unfortunately failed haha
    I'm glad to see you upgrade it

  6. #5
    Zerious's Avatar Active Member
    Reputation
    27
    Join Date
    Mar 2017
    Posts
    15
    Thanks G/R
    3/20
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello Jack,

    Yes I had noticed that plugin of yours, thank you so much for upgrading that one.
    Real-life got the better part of free time so I was couldn't play with THUD and D3.

    The loss of the old forum was very unfortunate too.

  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 Zerious View Post
    Hello Jack,

    Yes I had noticed that plugin of yours, thank you so much for upgrading that one.
    Real-life got the better part of free time so I was couldn't play with THUD and D3.
    irl > all
    I'll let you the time to upgrade this one, if you need/want advice, get in touch ; )

    Originally Posted by Zerious View Post
    The loss of the old forum was very unfortunate too.
    hud is stronger than ever!
    Hide the Rum! --> Default theme customization 101 <--

  8. #7
    Zerious's Avatar Active Member
    Reputation
    27
    Join Date
    Mar 2017
    Posts
    15
    Thanks G/R
    3/20
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A quick update for the new class, the Necromancer

    I find that it is useful to have these indicators on by buff bar
    So these are the Buff SNO for :
    Command Skeleton active buff
    Dayntee's Binding Damage Reduction buff from a Decrepified enemy

    Code:
    BuffBarsList.Add(new IBuffBarsList("CS", "Command Skeleton", 453801, -1, HeroClass.Necromancer));			
    BuffBarsList.Add(new IBuffBarsList("DB", "Dayntee Binding DR", 476689, 1, HeroClass.Necromancer));
    Also updated the Pastebin code if you want to paste everything

    Hope that helps!

  9. Thanks everknown, johnbl, pipon2323 (3 members gave Thanks to Zerious for this useful post)
  10. #8
    smoochy84's Avatar Member
    Reputation
    10
    Join Date
    Jul 2017
    Posts
    44
    Thanks G/R
    1/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for updating the plugin.

    May I ask for an additional improvement?

    I would rather have this plugin being shown in a horizontal way than in a vertical (so I can have it below my feet)

    Would it be possible to add an option like "showVertical = false;" or something similar?

    Thanks

  11. #9
    JohnWick's Avatar Member
    Reputation
    12
    Join Date
    Mar 2017
    Posts
    102
    Thanks G/R
    82/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi, thank you for this plugin, it's pretty useful

    is it possible to make labels visible only if you are currently using item or skill ?

    i just want to get rid of extra labels on screen when i dont need them

    can anyone give me example for one skill and item, so i can customize it all myself ?

    thank you in advance

  12. #10
    Zerious's Avatar Active Member
    Reputation
    27
    Join Date
    Mar 2017
    Posts
    15
    Thanks G/R
    3/20
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The plugin at its current state, it can not filter the buff bars according to equipped skill.
    It can only filter it by hero class that is currently being played

    Though of course it is possible to code it, if someone would like to try.

  13. #11
    Zerious's Avatar Active Member
    Reputation
    27
    Join Date
    Mar 2017
    Posts
    15
    Thanks G/R
    3/20
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thinking about it again, I think it should be possible to make the labels go invisible when it is inactive, simply comment out all the contents of the BuffBar_Inactive_Label like this in the Load method:
    Code:
                BuffBar_Inactive_Label = new TopLabelDecorator(Hud)
                {
                    // TextFont = Hud.Render.CreateFont("tahoma", 7, 100, 192, 192, 192, false, false, false),
                    // BackgroundTexture1 = Hud.Texture.ButtonTextureGray,
                    // BackgroundTexture2 = Hud.Texture.BackgroundTextureOrange,
                    // BackgroundTextureOpacity2 = 0.5f
                };

  14. #12
    Zerious's Avatar Active Member
    Reputation
    27
    Join Date
    Mar 2017
    Posts
    15
    Thanks G/R
    3/20
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry this took a while, but I have just updated the Pastebin code, implementing your suggestion.

    To enable horizontal alignment, please change these value in the Customize method :
    Code:
                ShowAsVertical = true;
                HorizontalShowCentered = true;
    HorizontalShowCentered is for determining whether the starting X coordinate value is for the first buff or where the point of the center is

    I've updated the first post with a screenshot, if you want a quick preview.


    Edit : This is supposed to be a reply for smoochys post
    Last edited by Zerious; 08-03-2017 at 02:00 PM.

  15. Thanks smoochy84 (1 members gave Thanks to Zerious for this useful post)
  16. #13
    smoochy84's Avatar Member
    Reputation
    10
    Join Date
    Jul 2017
    Posts
    44
    Thanks G/R
    1/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much!

  17. #14
    JohnWick's Avatar Member
    Reputation
    12
    Join Date
    Mar 2017
    Posts
    102
    Thanks G/R
    82/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Zerious View Post
    Thinking about it again, I think it should be possible to make the labels go invisible when it is inactive, simply comment out all the contents of the BuffBar_Inactive_Label like this in the Load method:
    Code:
                BuffBar_Inactive_Label = new TopLabelDecorator(Hud)
                {
                    // TextFont = Hud.Render.CreateFont("tahoma", 7, 100, 192, 192, 192, false, false, false),
                    // BackgroundTexture1 = Hud.Texture.ButtonTextureGray,
                    // BackgroundTexture2 = Hud.Texture.BackgroundTextureOrange,
                    // BackgroundTextureOpacity2 = 0.5f
                };
    Thank you for your reply, but actually i'm already did it )

    Apparently I did not correctly put it

    Due to the fact that I do not understand programming and I do not know the better way, I have changed this plugin for my needs in a rather perverted way - it shows me only one shortcut and only in the absence of a buff - as a warning

    And the problem is that if you use a different build in which there is no item giving the buff, this warning is shown continuously

    At the moment, as an intermediate solution, I made this plug-in switchable at the click of a button, but it would be great to automate this process )

  18. #15
    mrjayaur's Avatar Member
    Reputation
    1
    Join Date
    Jul 2017
    Posts
    33
    Thanks G/R
    18/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is it possible to add Tal Rasha to this with a 3 element rotation so I know that when it lights up to use Archon for the 4th element? If so, how?

Page 1 of 2 12 LastLast

Similar Threads

  1. English --> Chinese
    By Login Error in forum Community Chat
    Replies: 4
    Last Post: 02-04-2008, 07:00 PM
  2. [Guide] Proper English Language
    By aggiish in forum Community Chat
    Replies: 31
    Last Post: 02-04-2008, 02:29 PM
  3. Omg,Funniest Thing I ever saw!!! ENGLISH PWNED!!!!
    By anmer in forum Screenshot & Video Showoff
    Replies: 10
    Last Post: 11-12-2007, 10:15 AM
  4. Chinese Names in English WoW
    By pandaman in forum World of Warcraft Exploits
    Replies: 8
    Last Post: 08-12-2006, 05:40 AM
All times are GMT -5. The time now is 01:55 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