Spirit Barrage Plugin update menu

User Tag List

Page 1 of 3 123 LastLast
Results 1 to 15 of 42
  1. #1
    EpicPhil's Avatar Member
    Reputation
    1
    Join Date
    May 2017
    Posts
    9
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Spirit Barrage Plugin update

    Is there anybody that could update this plugin by SeaDragon ?
    SpiritBarragePhantasmPlugin.cs - Pastebin.com


    Link to origional thread about this plugin
    https://www.ownedcore.com/forums/dia...t-barrage.html (Damage & Count down circle of Spirit barrage)
    Thanks

    Spirit Barrage Plugin update
  2. #2
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,041
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Line 49

    Code:
    	case 181880:
    replace by

    Code:
    	case ActorSnoEnum._wd_spiritbarragerune_aoe_ghostmodel:
    and ..

    Lines 28 & 33

    Code:
    CountDownFrom = 5,
    replace

    Code:
    CountDownFrom = 10,
    Last edited by RNN; 03-10-2020 at 08:17 AM.

  3. Thanks QianLei, BeeAntOS (2 members gave Thanks to RNN for this useful post)
  4. #3
    EpicPhil's Avatar Member
    Reputation
    1
    Join Date
    May 2017
    Posts
    9
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks RNN

  5. #4
    cafe1326's Avatar Member
    Reputation
    1
    Join Date
    Feb 2018
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can barbarians see it too?

  6. #5
    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)
    thjis o ne need also update ?

    using System.Globalization;
    using Turbo.Plugins.Default;
    using System.Linq;

    namespace Turbo.Plugins.glq
    {
    public class SpiritBarrageAttackSpeedChannelDelayPlugin : BasePlugin, IInGameTopPainter
    {

    public TopLabelWithTitleDecorator AttackSpeedDecorator { get; set; }
    public IBrush CHANNELBackgroundBrush { get; set; }
    public IBrush DELAYBackgroundBrush { get; set; }
    public SpiritBarrageAttackSpeedChannelDelayPlugin()
    {
    Enabled = true;
    }

    public override void Load(IController hud)
    {
    base.Load(hud);
    CHANNELBackgroundBrush = Hud.Render.CreateBrush(160, 255, 255, 255, 0);
    DELAYBackgroundBrush = Hud.Render.CreateBrush(160, 255, 0, 0, 0);

    AttackSpeedDecorator = new TopLabelWithTitleDecorator(Hud)
    {
    BackgroundBrush = CHANNELBackgroundBrush,
    BorderBrush = Hud.Render.CreateBrush(255, 0, 0, 0, -1),
    TextFont = Hud.Render.CreateFont("tahoma", 8, 255, 0, 0, 0, true, false, false),
    };
    }

    public void PaintTopInGame(ClipState clipState)
    {
    if (Hud.Render.UiHidden) return;
    if (!Hud.Game.Me.Powers.UsedSkills.Any(s => s.SnoPower.Sno == 108506)) return;

    if (clipState == ClipState.BeforeClip)
    {

    var w = Hud.Window.Size.Width * 0.08f;
    var h = Hud.Window.Size.Height * 0.06f;

    var x = Hud.Window.Size.Width * 0.5f - w/2;
    var y = Hud.Window.Size.Height * 0.70f + Hud.Window.Size.Height * 0.01f;
    var AttackSpeed = Hud.Game.Me.Offense.AttackSpeed;
    if(AttackSpeed <= 2.380)
    {
    AttackSpeedDecorator.BackgroundBrush = CHANNELBackgroundBrush;
    AttackSpeedDecorator.Paint(x, y, w, h, "CHANNEL " + AttackSpeed.ToString("F2", CultureInfo.InvariantCulture) + "/s");
    }
    if (AttackSpeed >= 2.381 && AttackSpeed <= 3.400)
    {
    AttackSpeedDecorator.BackgroundBrush = DELAYBackgroundBrush;
    AttackSpeedDecorator.Paint(x, y, w, h, "DELAY " + AttackSpeed.ToString("F2", CultureInfo.InvariantCulture) + "/s");
    }
    if (AttackSpeed >= 3.401 && AttackSpeed <= 4.32
    {
    AttackSpeedDecorator.BackgroundBrush = CHANNELBackgroundBrush;
    AttackSpeedDecorator.Paint(x, y, w, h, "CHANNEL " + AttackSpeed.ToString("F2", CultureInfo.InvariantCulture) + "/s");
    }
    if (AttackSpeed >= 4.329)
    {
    AttackSpeedDecorator.BackgroundBrush = DELAYBackgroundBrush;
    AttackSpeedDecorator.Paint(x, y, w, h, "DELAY " + AttackSpeed.ToString("F2", CultureInfo.InvariantCulture) + "/s");
    }

    }
    }

    }

    }

  7. #6
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,041
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cafe1326 View Post
    Can barbarians see it too?
    Download it again and change (line 22)
    ShowOthers = false;
    to
    ShowOthers = true;:


    Originally Posted by knight84 View Post
    thjis o ne need also update ?
    It works, but I don't know what it does, you'll have to ask the author
    Last edited by RNN; 03-04-2020 at 10:24 PM.

  8. #7
    s4000's Avatar Contributor
    Reputation
    284
    Join Date
    Oct 2018
    Posts
    489
    Thanks G/R
    18/271
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by knight84 View Post
    thjis o ne need also update ?
    you can try in game, ask if you get exception

  9. #8
    Romanmas's Avatar Member
    Reputation
    11
    Join Date
    Mar 2017
    Posts
    187
    Thanks G/R
    9/9
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by s4000 View Post
    you can try in game, ask if you get exception
    SpiritBarrageAttackSpeedChannelDelayPlugin.cs(56,4 : error CS1026: ) expected

    can y help?

  10. #9
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,041
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    It is caused by smileys. Line 56 should be like this:

    Code:
              if (AttackSpeed >= 3.401 && AttackSpeed <= 4.328)
    If you press in "Reply With Quote" you will copy the original text
    Last edited by RNN; 03-05-2020 at 08:54 AM.

  11. #10
    hoyamix's Avatar Member
    Reputation
    1
    Join Date
    Mar 2019
    Posts
    15
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by RNN View Post
    Line 49

    Code:
    	case 181880:
    replace by

    Code:
    	case ActorSnoEnum._wd_spiritbarragerune_aoe_ghostmodel:
    and ..

    Lines 28 & 33

    Code:
    CountDownFrom = 5,
    replace

    Code:
    CountDownFrom = 10,

    or you can download the file with those modifications from here:

    plugins\glq\glq_SpiritBarragePhantasmPlugin.cs

    Can I display skill counts separately as stick figures?
    Last edited by hoyamix; 03-07-2020 at 01:55 AM.

  12. #11
    hkjhkh's Avatar Member
    Reputation
    9
    Join Date
    Mar 2018
    Posts
    82
    Thanks G/R
    0/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes,
    define seperate decorator and add count in to the foreach of actor of phantom .

  13. #12
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,041
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    I included a counter like the one you wrote in another post and it will also show an additional circle of radius 15y the last 2 seconds (configurable time) .

    In the original plugin the decorators are really maintained for 11 seconds although the damage is only applied for 10, in addition it is only possible to have 3 active but it can show up to 5 because they take a while to disappear.

    I will separate it into 2 versions:

    plugins\glq\GLQ_SpiritBarragePhantasmPlugin.cs (no restrictions)
    plugins\glq\glq_SpiritBarragePhantasmPlugin.cs (Circles for 10-5 seconds and maximum 3 for each player. I prefer this version)

    Code:
    Hud.RunOnPlugin<glq.SpiritBarragePhantasmPlugin>(plugin =>
    {	
    	plugin.ShowOthers = true;		// Also show for other players.
    	plugin.ShowCounter = true;		// Counter
    	plugin.ShowExplosionCircle = true;	// Show  additional circle the  LAST "CircleSeconds"
    	plugin.CircleSeconds = 2;		// 1 .. 5 ,   It will also be verified (in the second plugin only) that you use The Barber
    }   );
    Attached Files Attached Files
    Last edited by RNN; 05-21-2020 at 07:31 PM. Reason: Attachment

  14. Thanks BeeAntOS, mois, PTS_TDS, Gilavar (4 members gave Thanks to RNN for this useful post)
  15. #13
    RNN's Avatar Legendary
    Reputation
    801
    Join Date
    Sep 2018
    Posts
    1,041
    Thanks G/R
    102/764
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    I updated the previous two plugins:
    Phantasm timer fixed. The timer will be hidden if the phantasm is not on the screen
    Circle for Countdown clock looks small at high resolutions, fixed. Edit the file and change radius_countdown to your liking

    I have used the same procedure to also fix the timer of an old code for the worm hole plugin: plugins\RNN\WormHolePlugin.cs
    Last edited by RNN; 03-22-2020 at 07:52 AM.

  16. Thanks mois, bm206, BeeAntOS, jorgurorf (4 members gave Thanks to RNN for this useful post)
  17. #14
    DeepTerminal's Avatar Member
    Reputation
    1
    Join Date
    Oct 2017
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, just wanna say thank you for this plugin. Helps a lot!

  18. #15
    Khaine40K's Avatar Member
    Reputation
    1
    Join Date
    Jul 2019
    Posts
    11
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could someone explain how to change the colours of these circles??? The light blue is pretty hard to distinguish during a GR on my screen. I know that these type of codes (150, 0, 128, 255, 3) stand for colours, just don't know which ones to alter in order to get a colour that works for me.

Page 1 of 3 123 LastLast

Similar Threads

  1. [Request] WD Spirit Barrage Macro
    By housefox in forum Diablo 3 Bots Questions & Requests
    Replies: 4
    Last Post: 02-14-2020, 09:08 AM
  2. [Request] Damage & Count down circle of Spirit barrage
    By superkenlam2003 in forum TurboHUD Discussions
    Replies: 5
    Last Post: 06-28-2017, 01:11 AM
  3. Looking for help updating an Old Plugin for honorbuddy
    By durpige in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 10-23-2014, 12:29 AM
  4. [DB] Keywardens plugin+profiles updates for 2.0
    By tiptopz in forum D3 Gold profiles
    Replies: 2
    Last Post: 03-20-2014, 06:36 PM
  5. Dota 2: Three Spirits update! つ ◕_◕ ༽つ
    By Xel in forum Defense of the Ancients 2
    Replies: 0
    Last Post: 11-14-2013, 07:03 AM
All times are GMT -5. The time now is 05:30 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