[ENG] Combin Plugin of Party Cooldown & Archon Downtime menu

User Tag List

Page 4 of 6 FirstFirst 123456 LastLast
Results 46 to 60 of 78
  1. #46
    Saico's Avatar Active Member
    Reputation
    21
    Join Date
    Apr 2019
    Posts
    379
    Thanks G/R
    35/20
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    ClassFont = Hud.Render.CreateFont("tahoma", 10, 255, 255, 255, 255, true, false, 255, 0, 0, 0, true);
    SkillPainter = new DAV_SkillPainter(Hud);
    _classShortName = new Dictionary<HeroClass, string> {
    {HeroClass.Barbarian, "\n(Barb)"},
    {HeroClass.Monk, "\n(Monk)"},
    {HeroClass.Necromancer, "\n(Necro)"},
    {HeroClass.Wizard, "\n(Wiz)"},
    {HeroClass.WitchDoctor, "\n(WD)"},
    {HeroClass.Crusader, "\n(Sader)"},
    {HeroClass.DemonHunter, "\n(DH)"}
    Delete content inside < " " >
    Like
    {HeroClass.Wizard, "\n(Wiz)"},
    gonna be
    {HeroClass.Wizard, ""},

    [ENG] Combin Plugin of Party Cooldown &amp; Archon Downtime
  2. #47
    s4000's Avatar Contributor
    Reputation
    285
    Join Date
    Oct 2018
    Posts
    489
    Thanks G/R
    18/272
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    fixed buff reminding time bug :
    - Archon (error in first few sec)
    - & Epiphany (double duration)

  3. #48
    JarJarD3's Avatar Contributor
    Reputation
    106
    Join Date
    Oct 2017
    Posts
    395
    Thanks G/R
    41/101
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Hi

    I changed default sorting to be more "sensible"for me:

    Sort players by class and battle tag name (line 84):
    Code:
    var players = Hud.Game.Players.ToList();
    players.Sort((a, b) => (a.HeroClassDefinition.HeroClass + a.BattleTagAbovePortrait).CompareTo(b.HeroClassDefinition.HeroClass + b.BattleTagAbovePortrait));
    foreach (var player in players)
    Sort used skills by their order in configuration array (line 89):
    Code:
    var usedSkills = player.Powers.UsedSkills.Where(x => WatchedSnos.Contains(x.SnoPower.Sno)).ToList();
    usedSkills.Sort((a, b) => WatchedSnos.IndexOf(a.SnoPower.Sno).CompareTo(WatchedSnos.IndexOf(b.SnoPower.Sno)));
    foreach (var skill in usedSkills)
    If you want the centered labels instead of left-aligned, change lines 95 and 118 to:
    Code:
    ClassFont.DrawText(layout, xPos + _size/2f - layout.Metrics.Width/2f, yPos);
    As the plugin has a special hack for archon, I added an other hack to count number of alive sentries for Demon Hunter (lines 179-184):
    Code:
    if (skill.SnoPower.Sno == Hud.Sno.SnoPowers.Wizard_Archon.Sno)
    {
    	if (skill.BuffIsActive)
    	{
    		var ActiveTime = skill.Buff.TimeLeftSeconds[2];
    
    		if (ActiveTime > 0)
    			remainingSeconds = skill.CalculateCooldown(skill.Rune == 3.0 ? 100 : 120) - 20 + ActiveTime;
    	}
    }
    else if (skill.SnoPower.Sno == Hud.Sno.SnoPowers.DemonHunter_Sentry.Sno)
    {
    	remainingSeconds = 0;
    	foreach (var actor in Hud.Game.Actors)
    	{
    		if (actor.SummonerAcdDynamicId == summonerId)
    		{
    			switch (actor.SnoActor.Sno)
    			{
    				case ActorSnoEnum._dh_sentry:
    				case ActorSnoEnum._dh_sentry_addsmissiles:
    				case ActorSnoEnum._dh_sentry_addsduration:
    				case ActorSnoEnum._dh_sentry_tether:
    				case ActorSnoEnum._dh_sentry_addsheals:
    				case ActorSnoEnum._dh_sentry_addsshield:
    					remainingSeconds += 1.0;
    					break;
    			}
    		}
    	}
    }

    This is really nice and well done plugin!

    Tested with:
    Code:
    //--- Barbarian (Speed WW)
    Hud.Sno.SnoPowers.Barbarian_Sprint.Sno,
    Hud.Sno.SnoPowers.Barbarian_WrathOfTheBerserker.Sno,
    Hud.Sno.SnoPowers.Barbarian_CallOfTheAncients.Sno,      // For HotA
    Hud.Sno.SnoPowers.Barbarian_BattleRage.Sno,
    Hud.Sno.SnoPowers.Barbarian_WarCry.Sno,
    Hud.Sno.SnoPowers.Barbarian_IgnorePain.Sno,
    //--- Demon Hunter
    Hud.Sno.SnoPowers.DemonHunter_RainOfVengeance.Sno,
    Hud.Sno.SnoPowers.DemonHunter_Companion.Sno,
    Hud.Sno.SnoPowers.DemonHunter_Sentry.Sno,

  4. #49
    Saico's Avatar Active Member
    Reputation
    21
    Join Date
    Apr 2019
    Posts
    379
    Thanks G/R
    35/20
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I changed default sorting to be more "sensible"for me:
    Sort players by class and battle tag name (line 84):
    Code:
    var players = Hud.Game.Players.ToList();
    players.Sort((a, b) => (a.HeroClassDefinition.HeroClass + a.BattleTagAbovePortrait).CompareTo(b.HeroClassDefinition.HeroClass + b.BattleTagAbovePortrait));
    foreach (var player in players)
    Seems nice improvements JarJar, I am trying to insert your lines, but, do I delete only the line 84 in this case, or the "group" below it ? I copied to exaclty line you said and got some exceptions.
    Also copied other lines, but Im pretty sure I copied them wrong as well. =(

    Could you help or maybe, share a github with entire code ?
    Last edited by Saico; 06-03-2019 at 01:13 PM.

  5. #50
    JarJarD3's Avatar Contributor
    Reputation
    106
    Join Date
    Oct 2017
    Posts
    395
    Thanks G/R
    41/101
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    [QUOTE=Saico;4042777]
    Originally Posted by JarJarD3 View Post
    Hi

    I changed default sorting to be more "sensible"for me:

    Sort players by class and battle tag name (line 84):
    Code:
    var players = Hud.Game.Players.ToList();
    players.Sort((a, b) => (a.HeroClassDefinition.HeroClass + a.BattleTagAbovePortrait).CompareTo(b.HeroClassDefinition.HeroClass + b.BattleTagAbovePortrait));
    foreach (var player in players)
    Seems nice improvements JarJar, I am trying to insert your lines, but, do I delete only the line 84 in this case, or the "group" below it ? I copied to exaclty line you said and got some exceptions.
    Also copied other lines, but Im pretty sure I copied them wrong as well. =(

    Could you help or maybe, share a github with entire code ?
    I don't want change whole plugin or provide code for it.
    You just replace the lines I advised, basically the foreach loop lines or other lines I mentioned.
    I thought it would be dead simple to replace the lines but ofc non-programmers can have hard time with C# code.
    Let's hope the plugin author provides options to control sorting, original implementation is kind of random way to sort items.

  6. #51
    Saico's Avatar Active Member
    Reputation
    21
    Join Date
    Apr 2019
    Posts
    379
    Thanks G/R
    35/20
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    [QUOTE=JarJarD3;4042789]
    Originally Posted by Saico View Post

    I don't want change whole plugin or provide code for it.
    You just replace the lines I advised, basically the foreach loop lines or other lines I mentioned.
    I thought it would be dead simple to replace the lines but ofc non-programmers can have hard time with C# code.
    Let's hope the plugin author provides options to control sorting, original implementation is kind of random way to sort items.
    Yup, I clearly understand, later I gonna try to modify one more time these lines in my VisualStudio to check your mods, maybe I can get all of them in correct place and w some luck I`ll have no exceptions. =)

    edit: Actually, put 3 first codes correctly, but, code for Archon/Sentries and the last for buffs. Got me exception when I put this part>

    else if (skill.SnoPower.Sno == Hud.Sno.SnoPowers.DemonHunter_Sentry.Sno)
    {
    remainingSeconds = 0;
    foreach (var actor in Hud.Game.Actors)
    {
    if (actor.SummonerAcdDynamicId == summonerId)
    {
    switch (actor.SnoActor.Sno)
    {
    case ActorSnoEnum._dh_sentry:
    case ActorSnoEnum._dh_sentry_addsmissiles:
    case ActorSnoEnum._dh_sentry_addsduration:
    case ActorSnoEnum._dh_sentry_tether:
    case ActorSnoEnum._dh_sentry_addsheals:
    case ActorSnoEnum._dh_sentry_addsshield:
    remainingSeconds += 1.0;
    break;
    }
    }
    }
    }
    Exception I got

    error CS0103: The name 'summonerId' does not exist in the current context
    Thanks for attention
    Last edited by Saico; 06-03-2019 at 03:42 PM.

  7. #52
    kleks's Avatar Member
    Reputation
    1
    Join Date
    Sep 2019
    Posts
    25
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is there any way to sort the icon from left to right horizontal only?

    ok nvm i find it
    102 line i change to xPos += _size*1.1f;
    Last edited by kleks; 09-21-2019 at 10:39 AM.

  8. #53
    knight84's Avatar Active Member
    Reputation
    19
    Join Date
    Mar 2017
    Posts
    270
    Thanks G/R
    24/18
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi, i want to add squirts neckless, and disable cheat death, someone can help ?

  9. #54
    gksgudtjr's Avatar Member
    Reputation
    1
    Join Date
    Aug 2019
    Posts
    14
    Thanks G/R
    5/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by s4000 View Post
    - Added buff reminding time
    - Fixed Archon form bug
    - Icon in vertical
    Attachment 67505

    Copy to TurboHUD\plugins\DavPlayer
    [C#] DAV_PartyCDPlugin.cs - Pastebin.com

    Original Plugin

    dia...t-zerobug.html
    https://www.ownedcore.com/forums/dia...ndowntime.html

    BUG fixed
    Cood down time error when using Arcane Blast in Archon form
    I love it!! Thank you! But I have one question, is there any way I can add the "Archon Stacks" inside the Archon button after the cooldown is finished? If so please let me know =)

  10. #55
    s4000's Avatar Contributor
    Reputation
    285
    Join Date
    Oct 2018
    Posts
    489
    Thanks G/R
    18/272
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by gksgudtjr View Post
    I love it!! Thank you! But I have one question, is there any way I can add the "Archon Stacks" inside the Archon button after the cooldown is finished? If so please let me know =)
    please use gigi's buff for that, the rule of the iconindex is too complicate that i can't add them (the code will be so long or hard to customizate)

  11. Thanks gksgudtjr (1 members gave Thanks to s4000 for this useful post)
  12. #56
    gksgudtjr's Avatar Member
    Reputation
    1
    Join Date
    Aug 2019
    Posts
    14
    Thanks G/R
    5/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by s4000 View Post
    please use gigi's buff for that, the rule of the iconindex is too complicate that i can't add them (the code will be so long or hard to customizate)
    Wow.. You've replied so fast lol! Okay, I will check it out =) Thanks!

  13. #57
    gksgudtjr's Avatar Member
    Reputation
    1
    Join Date
    Aug 2019
    Posts
    14
    Thanks G/R
    5/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've tried Gigi's plugin. It doesn't work 100%. for example, when I add the archon icon to "all" it only shows on the Wizard... Same thing with Ignore Pain from barb's buff to show on all members that's affected but it only shows on Barb and etc.. do you by any chance know a fix for this?

    Also, I guess this plugin has been created when Necro wasn't out yet.

  14. #58
    Gilavar's Avatar Member
    Reputation
    1
    Join Date
    Dec 2017
    Posts
    67
    Thanks G/R
    17/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there a way to dynamically change the Archon cooldown value shown in the icon when its cooldown is being reset by Zodiac ring?

  15. #59
    s4000's Avatar Contributor
    Reputation
    285
    Join Date
    Oct 2018
    Posts
    489
    Thanks G/R
    18/272
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    minor update:
    - code clean up

  16. #60
    Jembo's Avatar Active Member
    Reputation
    33
    Join Date
    Nov 2018
    Posts
    112
    Thanks G/R
    28/30
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    How to add AkaratsChampion Prophet Rune Cheat Death Tracker ?

    AkaratsChampion: 269032
    Prophet Rune (cheat death proc): Icon Index 11

    I tried but no luck:
    Code:
    (269032, 11)
    Code:
    {HeroClass.Crusader, new Tuple<uint, ITexture>(Hud.Sno.SnoPowers.Crusader_AkaratsChampion.Sno,[11] Hud.Texture.GetTexture(4261224958))},
    Any ideas S4?

Page 4 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. [Selling] Account 23 ENG + 2 weeks of gameplay
    By tillox in forum WildStar Buy Sell Trade
    Replies: 0
    Last Post: 07-17-2014, 10:17 AM
  2. [Class] [Warrior] Using Intervene on friendly NPCs instead of party members
    By The Devil in forum World of Warcraft Guides
    Replies: 0
    Last Post: 07-06-2014, 02:02 PM
  3. Angel of Death cooldown reset using iceblock
    By flashburn in forum World of Warcraft Exploits
    Replies: 2
    Last Post: 09-30-2012, 03:34 AM
  4. Combined MPQ of Tauren male > NiF including forms
    By bentk in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 09-30-2009, 02:41 PM
  5. Keep Greater Blessing out of Party / Raid
    By zeroflow in forum World of Warcraft Exploits
    Replies: 2
    Last Post: 08-15-2009, 01:37 PM
All times are GMT -5. The time now is 01:03 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