[v7.6] [INTERNATIONAL] [Stone] StarpactcirclePlugin menu

These ads disappear when you log in.

Page 4 of 4 FirstFirst 1234
Results 46 to 58 of 58
  1. #46
    gabinator's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    28
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Originally Posted by hkjhkh View Post
    v9.0 -> starpactcircle.cs, then all fine for me.

    case ActorSnoEnum._wizard_meteor_pending_cost:
    Trying to get this plugin working in V9

    Do you have a working one or what I need to change?

    Edit

    Open with notepad ++

    Replace line 74 case 217142:

    to case ActorSnoEnum._wizard_meteor_pending_cost:
    Last edited by gabinator; 03-08-2019 at 07:02 PM. Reason: found solution

  2. #47
    Jamy1979's Avatar Member
    Reputation
    1
    Join Date
    Mar 2019
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Originally Posted by gabinator View Post
    Trying to get this plugin working in V9

    Do you have a working one or what I need to change?

    Edit

    Open with notepad ++

    Replace line 74 case 217142:

    to case ActorSnoEnum._wizard_meteor_pending_cost:
    I cant get it to work, can somebody please explain more which line i need to change? Or have the working file?

    Thanks.

  3. #48
    iThinkiWin's Avatar Active Member CoreCoins User
    Reputation
    17
    Join Date
    Oct 2018
    Posts
    65
    Thanks G/R
    16/15
    Trade Feedback
    0 (0%)
    Ctrl+f, " case 217142: " no quotes obv

    replace line with " case ActorSnoEnum._wizard_meteor_pending_cost: " again no quotes

  4. #49
    Jamy1979's Avatar Member
    Reputation
    1
    Join Date
    Mar 2019
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Originally Posted by iThinkiWin View Post
    Ctrl+f, " case 217142: " no quotes obv

    replace line with " case ActorSnoEnum._wizard_meteor_pending_cost: " again no quotes
    Thanks for the replie.

    When i search for the case 217142 it says "not found"...

  5. #50
    iThinkiWin's Avatar Active Member CoreCoins User
    Reputation
    17
    Join Date
    Oct 2018
    Posts
    65
    Thanks G/R
    16/15
    Trade Feedback
    0 (0%)
    go to the first post and on this and redownload it, you don't need to change anything for it to work in hud9

  6. #51
    gabinator's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    28
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Originally Posted by Jamy1979 View Post
    I cant get it to work, can somebody please explain more which line i need to change? Or have the working file?

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

    namespace Turbo.Plugins.Stone
    {
    public class StarpactcirclePlugin : BasePlugin, IInGameWorldPainter
    {
    public WorldDecoratorCollection meteorcircleDeco { get; set; }
    public WorldDecoratorCollection meteorstringDeco { get; set; }
    public WorldDecoratorCollection meteorvisionstringDeco { get; set; }
    public WorldDecoratorCollection meteortimerDecorator { get; set; }
    public bool timeron { get; set; }
    public float remaining { get; set; }
    public float starpactstarttict { get; set; }
    private bool starpacttimerRunning = false;

    public StarpactcirclePlugin()
    {
    Enabled = true;
    }

    public override void Load(IController hud)
    {
    base.Load(hud);

    timeron = true;
    meteorcircleDeco = new WorldDecoratorCollection(
    new GroundCircleDecorator(Hud)
    {
    Brush = Hud.Render.CreateBrush(255, 0, 140, 255, 6),
    Radius = 13,
    }
    );
    meteorstringDeco = new WorldDecoratorCollection(
    new GroundLabelDecorator(Hud)
    {
    BackgroundBrush = Hud.Render.CreateBrush(255, 255, 255, 0, 0),
    BorderBrush = Hud.Render.CreateBrush(255, 112, 48, 160, -1),
    TextFont = Hud.Render.CreateFont("tahoma", 11, 255, 0, 140, 255, true, false, 128, 0, 0, 0, true),
    }
    );
    meteorvisionstringDeco = new WorldDecoratorCollection(
    new GroundLabelDecorator(Hud)
    {
    BackgroundBrush = Hud.Render.CreateBrush(255, 255, 128, 0, 0),
    BorderBrush = Hud.Render.CreateBrush(255, 112, 48, 160, -1),
    TextFont = Hud.Render.CreateFont("tahoma", 11, 255, 120, 0, 120, true, false, 128, 0, 0, 0, true),
    }
    );
    meteortimerDecorator = new WorldDecoratorCollection(
    new GroundLabelDecorator(Hud)
    {
    CountDownFrom = 1.25f,
    TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 100, 255, 150, true, false, 128, 0, 0, 0, true),
    },
    new GroundTimerDecorator(Hud)
    {
    CountDownFrom = 1.25f,
    BackgroundBrushEmpty = Hud.Render.CreateBrush(100, 0, 0, 0, 0),
    BackgroundBrushFill = Hud.Render.CreateBrush(200, 223, 47, 2, 0),
    Radius = 25,
    }
    );
    }

    public void PaintWorld(WorldLayer layer)
    {
    var actors = Hud.Game.Actors;
    var me = Hud.Game.Me;
    remaining = 1.25f - ((Hud.Game.CurrentGameTick - starpactstarttict) / 60.0f);
    if (starpacttimerRunning == true && remaining <= 0) starpacttimerRunning = false;
    if (remaining < 0) remaining = 0;
    foreach (var actor in actors)
    {
    switch (actor.SnoActor.Sno)
    {
    case ActorSnoEnum._wizard_meteor_pending_cost:
    meteorcircleDeco.Paint(layer, actor, actor.FloorCoordinate, null);
    if (Hud.Game.Me.HeroClassDefinition.HeroClass != HeroClass.Wizard)
    {
    meteortimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
    break;
    }
    if (Hud.Game.Me.HeroClassDefinition.HeroClass == HeroClass.Wizard)
    {
    if (Hud.Game.Me.HeroClassDefinition.HeroClass == HeroClass.Wizard && me.Stats.ResourceCurArcane == 0)
    {
    if (!starpacttimerRunning)
    {
    starpactstarttict = Hud.Game.CurrentGameTick;
    starpacttimerRunning = true;
    }
    meteorstringDeco.Paint(layer, actor, actor.FloorCoordinate, Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized);
    if (timeron) meteortimerDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(0, 0, -3), null);
    break;
    }
    if (Hud.Game.Me.HeroClassDefinition.HeroClass == HeroClass.Wizard && remaining >= 0.1)
    {
    if (starpacttimerRunning)
    {
    starpacttimerRunning = false;
    }
    meteorstringDeco.Paint(layer, actor, actor.FloorCoordinate, Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized);
    if (timeron) meteortimerDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(0, 0, -3), null);
    break;
    }
    if (Hud.Game.Me.HeroClassDefinition.HeroClass == HeroClass.Wizard && remaining < 0.1 && remaining > 0)
    {
    if (timeron) meteortimerDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(0, 0, -3), null);
    if (starpacttimerRunning)
    {
    starpacttimerRunning = false;
    }
    if (me.Powers.BuffIsActive(430674, 1) && me.Powers.BuffIsActive(134456))
    {
    meteorvisionstringDeco.Paint(layer, actor, actor.FloorCoordinate, "VIS" + Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized + " + " + Hud.Sno.SnoPowers.Wizard_ArcaneTorrent.NameLocalized);
    break;
    }
    if (me.Powers.BuffIsActive(134456))
    {
    meteorstringDeco.Paint(layer, actor, actor.FloorCoordinate, Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized + " + " + Hud.Sno.SnoPowers.Wizard_ArcaneTorrent.NameLocalized);
    break;
    }
    if (me.Powers.BuffIsActive(430674, 1) && me.Powers.BuffIsActive(91549))
    {
    meteorvisionstringDeco.Paint(layer, actor, actor.FloorCoordinate, "VIS" + Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized + " + " + Hud.Sno.SnoPowers.Wizard_Disintegrate.NameLocalized);
    break;
    }
    if (me.Powers.BuffIsActive(91549))
    {
    meteorstringDeco.Paint(layer, actor, actor.FloorCoordinate, Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized + " + " + Hud.Sno.SnoPowers.Wizard_Disintegrate.NameLocalized);
    break;
    }
    if (me.Powers.BuffIsActive(430674, 1) && me.Powers.BuffIsActive(93395))
    {
    meteorvisionstringDeco.Paint(layer, actor, actor.FloorCoordinate, "VIS" + Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized + " + " + Hud.Sno.SnoPowers.Wizard_RayOfFrost.NameLocalized);
    break;
    }
    if (me.Powers.BuffIsActive(93395))
    {
    meteorstringDeco.Paint(layer, actor, actor.FloorCoordinate, Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized + " + " + Hud.Sno.SnoPowers.Wizard_RayOfFrost.NameLocalized);

    break;


    }
    }
    }
    break;
    }
    }
    }
    }
    }
    Last edited by gabinator; 08-01-2019 at 09:32 PM. Reason: Highlight Change added RoF Buff

  7. #52
    intellilogic's Avatar Member
    Reputation
    1
    Join Date
    Aug 2014
    Posts
    24
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Correct formatting:
    Code:
    using System.Linq;
    using Turbo.Plugins.Default;
    
    namespace Turbo.Plugins.Stone
    {
        public class StarpactcirclePlugin : BasePlugin, IInGameWorldPainter
        {
            public WorldDecoratorCollection meteorcircleDeco { get; set; }
            public WorldDecoratorCollection meteorstringDeco { get; set; }
            public WorldDecoratorCollection meteorvisionstringDeco { get; set; }
            public WorldDecoratorCollection meteortimerDecorator { get; set; }
    		public bool timeron { get; set; }
            public float remaining { get; set; }
            public float starpactstarttict { get; set; }
            private bool starpacttimerRunning = false;
    
            public StarpactcirclePlugin()
            {
                Enabled = true;
            }
    
            public override void Load(IController hud)
            {
                base.Load(hud);
    
    			timeron = true;
                meteorcircleDeco = new WorldDecoratorCollection(
                    new GroundCircleDecorator(Hud)
                    {
                        Brush = Hud.Render.CreateBrush(255, 0, 140, 255, 6),
                        Radius = 13,
                    }
                    );
                meteorstringDeco = new WorldDecoratorCollection(
                    new GroundLabelDecorator(Hud)
                    {
                        BackgroundBrush = Hud.Render.CreateBrush(255, 255, 255, 0, 0),
                        BorderBrush = Hud.Render.CreateBrush(255, 112, 48, 160, -1),
                        TextFont = Hud.Render.CreateFont("tahoma", 11, 255, 0, 140, 255, true, false, 128, 0, 0, 0, true),
                    }
                );
                meteorvisionstringDeco = new WorldDecoratorCollection(
                new GroundLabelDecorator(Hud)
                    {
                        BackgroundBrush = Hud.Render.CreateBrush(255, 255, 128, 0, 0),
                        BorderBrush = Hud.Render.CreateBrush(255, 112, 48, 160, -1),
                        TextFont = Hud.Render.CreateFont("tahoma", 11, 255, 120, 0, 120, true, false, 128, 0, 0, 0, true),
                    }
                    );
                meteortimerDecorator = new WorldDecoratorCollection(
                    new GroundLabelDecorator(Hud)
                    {
                        CountDownFrom = 1.25f,
                        TextFont = Hud.Render.CreateFont("tahoma", 9, 255, 100, 255, 150, true, false, 128, 0, 0, 0, true),
                    },
                    new GroundTimerDecorator(Hud)
                    {
                        CountDownFrom = 1.25f,
                        BackgroundBrushEmpty = Hud.Render.CreateBrush(100, 0, 0, 0, 0),
                        BackgroundBrushFill = Hud.Render.CreateBrush(200, 223, 47, 2, 0),
                        Radius = 25,
                    }
                );
            }
    
            public void PaintWorld(WorldLayer layer)
            {
                var actors = Hud.Game.Actors;
                var me = Hud.Game.Me;
                remaining = 1.25f - ((Hud.Game.CurrentGameTick - starpactstarttict) / 60.0f);
    			if (starpacttimerRunning == true && remaining <= 0) starpacttimerRunning = false;
                if (remaining < 0) remaining = 0;
                foreach (var actor in actors)
                {
                        switch (actor.SnoActor.Sno)
                        {
                            case ActorSnoEnum._wizard_meteor_pending_cost:
                                meteorcircleDeco.Paint(layer, actor, actor.FloorCoordinate, null);
                                if (Hud.Game.Me.HeroClassDefinition.HeroClass != HeroClass.Wizard)
                                {
                                    meteortimerDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
                                    break;
                                }
                                if (Hud.Game.Me.HeroClassDefinition.HeroClass == HeroClass.Wizard)
                                {
                                    if (Hud.Game.Me.HeroClassDefinition.HeroClass == HeroClass.Wizard && me.Stats.ResourceCurArcane == 0)
                                    {
                                        if (!starpacttimerRunning)
                                        {
                                            starpactstarttict = Hud.Game.CurrentGameTick;
                                            starpacttimerRunning = true;
                                        }
                                        meteorstringDeco.Paint(layer, actor, actor.FloorCoordinate, Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized);
                                        if (timeron) meteortimerDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(0, 0, -3), null);
    									break;
                                    }
                                    if (Hud.Game.Me.HeroClassDefinition.HeroClass == HeroClass.Wizard && remaining >= 0.1)
                                    {
    								    if (starpacttimerRunning)
                                        {
                                            starpacttimerRunning = false;
                                        }
                                        meteorstringDeco.Paint(layer, actor, actor.FloorCoordinate, Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized);
                                        if (timeron) meteortimerDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(0, 0, -3), null);
    									break;
                                    }
                                    if (Hud.Game.Me.HeroClassDefinition.HeroClass == HeroClass.Wizard && remaining < 0.1 && remaining > 0)
                                    {
    									if (timeron) meteortimerDecorator.Paint(layer, actor, actor.FloorCoordinate.Offset(0, 0, -3), null);
                                        if (starpacttimerRunning)
                                        {
                                            starpacttimerRunning = false;
                                        }
                                        if (me.Powers.BuffIsActive(430674, 1) && me.Powers.BuffIsActive(134456))
                                        {
                                            meteorvisionstringDeco.Paint(layer, actor, actor.FloorCoordinate, "VIS" + Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized + " + " + Hud.Sno.SnoPowers.Wizard_ArcaneTorrent.NameLocalized);
                                            break;
                                        }
                                        if (me.Powers.BuffIsActive(134456))
                                        {
                                            meteorstringDeco.Paint(layer, actor, actor.FloorCoordinate, Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized + " + " + Hud.Sno.SnoPowers.Wizard_ArcaneTorrent.NameLocalized);
                                            break;
                                        }
                                        if (me.Powers.BuffIsActive(430674, 1) && me.Powers.BuffIsActive(91549))
                                        {
                                            meteorvisionstringDeco.Paint(layer, actor, actor.FloorCoordinate, "VIS" + Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized + " + " + Hud.Sno.SnoPowers.Wizard_Disintegrate.NameLocalized);
                                            break;
                                        }
                                        if (me.Powers.BuffIsActive(91549))
                                        {
                                            meteorstringDeco.Paint(layer, actor, actor.FloorCoordinate, Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized + " + " + Hud.Sno.SnoPowers.Wizard_Disintegrate.NameLocalized);
                                            break;
    										}
                                        if (me.Powers.BuffIsActive(430674, 1) && me.Powers.BuffIsActive(93395))
                                        {
                                            meteorvisionstringDeco.Paint(layer, actor, actor.FloorCoordinate, "VIS" + Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized + " + " + Hud.Sno.SnoPowers.Wizard_RayOfFrost.NameLocalized);
                                            break;
                                        }
                                        if (me.Powers.BuffIsActive(93395))
                                        {
                                            meteorstringDeco.Paint(layer, actor, actor.FloorCoordinate, Hud.Sno.SnoPowers.Wizard_Meteor.NameLocalized + " + " + Hud.Sno.SnoPowers.Wizard_RayOfFrost.NameLocalized);
                                            break;
    																								
    										
                                        }
                                    }
                                }
                                break;
                        }
                }
            }
        }
    }
    Last edited by intellilogic; 03-26-2019 at 06:32 PM.

  8. #53
    gabinator's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    28
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Nice thanks for that I couldnt work out how to do it

  9. #54
    mumungan's Avatar Member CoreCoins User
    Reputation
    15
    Join Date
    Jul 2017
    Posts
    46
    Thanks G/R
    6/14
    Trade Feedback
    0 (0%)
    updated to v9.0 --19.03.18--
    just redownload it
    thank you
    Last edited by mumungan; 03-29-2019 at 09:53 AM.

  10. #55
    Comcast2140's Avatar Member
    Reputation
    1
    Join Date
    Feb 2018
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    I cant get any of these plugins working. I tried copy and pasting the code from intel above into starpactcircleplugin.cs and no dice. I also tried downloading the "new" version of WizardArchonPlugin listed in the changelog and that doesnt work either. Can anyone help me? I'm prob missing something simple.

    All I really care about is seeing the archon cooldown and CoE somewhere around my character.

  11. #56
    Gilavar's Avatar Member CoreCoins User
    Reputation
    1
    Join Date
    Dec 2017
    Posts
    34
    Thanks G/R
    6/0
    Trade Feedback
    0 (0%)
    Can you add Ray Of Frost buff to the StarPactCircle plugin? Now there are only buffs for Arcane Torrent and Desintegrate. Thanks

  12. #57
    gabinator's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    28
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    4 posts above its already there

  13. #58
    Guigui92i's Avatar Member
    Reputation
    1
    Join Date
    Jul 2019
    Posts
    6
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    This plugin seems to not work with the 9.1 update.

    Hope there will be an update.

Page 4 of 4 FirstFirst 1234

Similar Threads

  1. [V7.2][International][Grischu] Override for InventoryAndStashPlugin.cs
    By Grischu in forum TurboHUD Community Plugins
    Replies: 27
    Last Post: 05-21-2019, 08:32 PM
  2. [v7.2] [INTERNATIONAL] [glq] MonsterRiftProgressionPlugin
    By SeaDragon in forum TurboHUD Community Plugins
    Replies: 22
    Last Post: 08-08-2017, 02:55 PM
  3. [v7.2] [INTERNATIONAL] [Jack] ItemDropSoundAlertPlugin
    By JackCeparou in forum TurboHUD Community Plugins
    Replies: 22
    Last Post: 07-17-2017, 08:27 PM
  4. [V7.2][International][Grischu] Buffstatistics
    By Grischu in forum TurboHUD Community Plugins
    Replies: 20
    Last Post: 04-05-2017, 02:27 AM
  5. [v7.2] [INTERNATIONAL] MonstersCountPlugin
    By ch25 in forum TurboHUD Archives
    Replies: 1
    Last Post: 03-26-2017, 01:00 PM
All times are GMT -5. The time now is 03:29 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search