add another circle in plugin ZeiCircleForBoss menu

User Tag List

Results 1 to 6 of 6
  1. #1
    somanoske's Avatar Member
    Reputation
    7
    Join Date
    Aug 2017
    Posts
    32
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    add another circle in plugin ZeiCircleForBoss

    Hello, i would like add another circle (a seconde) for 30 yard in this script for all mobs, how i can do?
    Anybody can helpe me?
    using System.Linq;
    using Turbo.Plugins.Default;

    namespace Turbo.Plugins.glq
    {
    public class ZeiCircleForBoss : BasePlugin, IInGameWorldPainter
    {
    public GroundCircleDecorator ZeiDecorator { get; set; }
    public bool OnlyEquiped { get; set; }
    public ZeiCircleForBoss()
    {
    Enabled = true;
    OnlyEquiped = true;
    }
    public override void Load(IController hud)
    {
    base.Load(hud);

    ZeiDecorator = new GroundCircleDecorator(Hud)
    {
    Brush = Hud.Render.CreateBrush(255,192,96,0, 1.5f),
    Radius = 50f
    };
    }

    public void PaintWorld(WorldLayer layer)
    {
    var me = Hud.Game.Me;
    var monsters = Hud.Game.AliveMonsters.Where(x => x.SnoMonster.Priority == MonsterPriority.boss);
    foreach (var monster in monsters)
    {
    if (me.Powers.BuffIsActive(403468, 0) || !OnlyEquiped)
    ZeiDecorator.Paint(monster, monster.FloorCoordinate, null);
    }

    }

    }

    }
    Thank you for answer and herlp ^^
    Last edited by somanoske; 08-03-2019 at 11:37 AM.

    add another circle in plugin ZeiCircleForBoss
  2. #2
    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)
    NOT TESTED, but should be OK

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

    namespace Turbo.Plugins.glq
    {
    public class ZeiCircleForBoss : BasePlugin, IInGameWorldPainter
    {
    public GroundCircleDecorator ZeiDecorator { get; set; }
    public GroundCircleDecorator Zei2Decorator { get; set; }
    public bool OnlyEquiped { get; set; }
    public ZeiCircleForBoss()
    {
    Enabled = true;
    OnlyEquiped = true;
    }
    public override void Load(IController hud)
    {
    base.Load(hud);

    ZeiDecorator = new GroundCircleDecorator(Hud)
    {
    Brush = Hud.Render.CreateBrush(255,192,96,0, 1.5f),
    Radius = 50f
    };
    }

    Zei2Decorator = new GroundCircleDecorator(Hud)
    {
    Brush = Hud.Render.CreateBrush(255,192,96,0, 1.5f),
    Radius = 30f
    };
    }


    public void PaintWorld(WorldLayer layer)
    {
    var me = Hud.Game.Me;
    var monsters = Hud.Game.AliveMonsters.Where(x => x.SnoMonster.Priority == MonsterPriority.boss);
    foreach (var monster in monsters)
    {
    if (me.Powers.BuffIsActive(403468, 0) || !OnlyEquiped) {
    ZeiDecorator.Paint(monster, monster.FloorCoordinate, null);
    Zei2Decorator.Paint(monster, monster.FloorCoordinate, null);
    }

    }

    }

    }

    }

  3. #3
    somanoske's Avatar Member
    Reputation
    7
    Join Date
    Aug 2017
    Posts
    32
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok i've teste your script and new line is ok ! TY
    Last edited by somanoske; 08-04-2019 at 09:09 AM.

  4. #4
    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 have been using this ZeiCircle plugin that shows circle for Steady Aim damage buff (on/off) as well.
    Zei circle radius is calculated on the fly from nearest monster.
    Maybe you find it useful?

  5. #5
    somanoske's Avatar Member
    Reputation
    7
    Join Date
    Aug 2017
    Posts
    32
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ty JarJar thid script is ok

  6. #6
    Mundzso's Avatar Member
    Reputation
    14
    Join Date
    Feb 2018
    Posts
    84
    Thanks G/R
    28/6
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    For s4000 solution I got this error:
    Plugins\GLQ\zeicircleforboss.cs(27,21) : error CS1519: Invalid token '=' in class, struct, or interface member declaration
    \Plugins\GLQ\zeicircleforboss.cs(27,52) : error CS1001: Identifier expected
    \Plugins\GLQ\zeicircleforboss.cs(29,67) : error CS1002: ; expected
    \Plugins\GLQ\zeicircleforboss.cs(29,67) : error CS1513: } expected
    \Plugins\GLQ\zeicircleforboss.cs(30,29) : error CS1002: ; expected
    \Plugins\GLQ\zeicircleforboss.cs(31,14) : error CS1597: Semicolon after method or accessor block is not valid
    \Plugins\GLQ\zeicircleforboss.cs(49,1) : error CS1022: Type or namespace definition, or end-of-file expected
    No idea whats wrong

    Anyways, what I want is a circle from me 30yard for chantodo, but can't seem to find a solution
    Last edited by Mundzso; 08-30-2019 at 05:58 PM.

Similar Threads

  1. How to add flying mounts in azeroth!
    By Le Froid in forum WoW EMU Guides & Tutorials
    Replies: 80
    Last Post: 05-18-2008, 05:06 PM
  2. How to add another DB to a privite server?
    By pokepoke9 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 05-12-2008, 08:01 PM
  3. [Question] How to add multiple files in MWCS
    By Randie in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 04-21-2008, 03:52 PM
  4. Another explore in Karazhan
    By Opirity1 in forum World of Warcraft Exploration
    Replies: 2
    Last Post: 01-08-2008, 08:28 AM
  5. Yet another discovery in Arathi Basin
    By hurripaska in forum World of Warcraft Exploration
    Replies: 3
    Last Post: 08-13-2007, 07:48 AM
All times are GMT -5. The time now is 02:24 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