Ctrl+f, " case 217142: " no quotes obv
replace line with " case ActorSnoEnum._wizard_meteor_pending_cost: " again no quotes
go to the first post and on this and redownload it, you don't need to change anything for it to work in hud9
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
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.
Nice thanks for that I couldnt work out how to do it
updated to v9.0 --19.03.18--
just redownload it
thank you
Last edited by mumungan; 03-29-2019 at 09:53 AM.
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.
Can you add Ray Of Frost buff to the StarPactCircle plugin? Now there are only buffs for Arcane Torrent and Desintegrate. Thanks
4 posts above its already there
This plugin seems to not work with the 9.1 update.
Hope there will be an update.
Anyone feel like the meteor is not landing accurately? I would click on the middle of a pack and it would land very low sometimes... Is it lag?
Nope its mostly mob type that causes this