Need help with a few plugins menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Thekid5678's Avatar Member
    Reputation
    1
    Join Date
    Feb 2007
    Posts
    37
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with a few plugins

    Hey all, just looking for a little help with a couple plugins.

    Number 1: I used to have a plugin that showed elites health bars under their feet. This made them much easier to track, and also helped me pinpoint which ones were real if they were an illusionist pack. However, I cannot seem to be able to find a plugin that does this. Any help directing me to a plugin that does this would be greatly appreciated.

    2: I have the plugin for the new season buff that puts an icon near the middle of your screen that helps you track the season journey stack. Could any of you help me resize the icon? I like where it's at, however I often lose track of it in large packs because of how small the icon is.

    3: The elite info plugin that shows affixes and health bars of all elites in the upper left hand side of screen.. For some reason this addon no longer tells me what affixes the elites have. If anyone could tell me how to add that feature back, that would be awesome.

    4: Monster count plugin that shows density count/progress in I believe its 60 and 120 yard range. This addon overlaps another of my addons that displays at what percentage I spawned pylons under the progression bar. If anyone could help me shift the density count/progress display down a little bit, that would be greatly appreciated.


    Thank you to anyone in advance that can assist.

    Need help with a few plugins
  2. #2
    s4000's Avatar Contributor
    Reputation
    286
    Join Date
    Oct 2018
    Posts
    490
    Thanks G/R
    18/273
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    spend some time on Community Plugins & you can get them ALL

    https://www.ownedcore.com/forums/dia...unity-plugins/

  3. #3
    Thekid5678's Avatar Member
    Reputation
    1
    Join Date
    Feb 2007
    Posts
    37
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for the reply. However I have scoured the plugins part of the forum, and cannot for the life of me find the elite health bar plugin that I referenced in my OP.
    As for the other requests in my OP. I'm not looking for the plugins themselves, rather the modifications I am wanting to make to them

  4. #4
    Thekid5678's Avatar Member
    Reputation
    1
    Join Date
    Feb 2007
    Posts
    37
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok, update.. I went into the code and changed x,y coords for the season theme buff icon and got it where I want it.
    However, I went into the Monstercountplugin to try to move it down on the y axis some, however I don't see anywhere in the code where you can move it. any help with that would be greatly appreciated.. I will link the code here.


    using SharpDX.DirectInput;
    using System.Linq;
    using System;
    using System.Collections.Generic;
    using Turbo.Plugins.Default;

    namespace Turbo.Plugins.glq
    {
    using System.Text;

    // by 我想静静 黑白灰 小米 Jack Céparou
    public class MonstersCountPlugin : BasePlugin, IInGameTopPainter, IInGameWorldPainter, IKeyEventHandler
    {
    public IFont DefaultTextFont { get; set; }
    public IFont OrangeTextFont { get; set; }
    public IFont RedTextFont { get; set; }
    public WorldDecoratorCollection StatisticalRangeDecorator { get; set; }
    public WorldDecoratorCollection MaxStatisticalRangeDecorator { get; set; }
    private float currentYard;
    public float BaseYard
    {
    get { return baseMapShapeDecorator.Radius; }
    set {
    baseMapShapeDecorator.Radius = value;
    currentYard = BaseYard;
    }
    }
    public float MaxYard
    {
    get { return maxMapShapeDecorator.Radius; }
    set { maxMapShapeDecorator.Radius = value; }
    }
    public bool ShowCircle { get; set; }
    public IKeyEvent ToggleKeyEvent { get; set; }
    public bool ShowMonstersCount { get; set; }

    public bool ShowTotalProgression { get; set; }
    public bool ShowTrashProgression { get; set; }
    public bool ShowEliteProgression { get; set; }
    public bool ShowRareMinionProgression { get; set; }
    public bool ShowRiftGlobeProgression { get; set; }

    public bool ShowLlocustCount { get; set; }
    public bool ShowHauntedCount { get; set; }
    public bool ShowPalmedCount { get; set; }
    public bool ShowPhoenixedCount { get; set; }
    public bool ShowStrongarmedCount { get; set; }
    public bool ShowTime { get; set; }
    public bool ToggleEnable { get; set; }
    public float XWidth { get; set; }
    public float YHeight { get; set; }

    private IFont currentFont;
    private bool TurnedOn;

    private MapShapeDecorator baseMapShapeDecorator;
    private MapShapeDecorator maxMapShapeDecorator;

    private StringBuilder textBuilder;

    public MonstersCountPlugin()
    {
    Enabled = true;
    ShowCircle = true;
    ToggleEnable = true;
    }

    public override void Load(IController hud)
    {
    base.Load(hud);
    ToggleKeyEvent = Hud.Input.CreateKeyEvent(true, Key.LeftControl, true, false, false);
    DefaultTextFont = Hud.Render.CreateFont("tahoma", 9, 255, 180, 147, 109, false, false, 250, 0, 0, 0, true);
    OrangeTextFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 128, 0, false, false, 250, 0, 0, 0, true);
    RedTextFont = Hud.Render.CreateFont("tahoma", 9, 255, 255, 0, 0, false, false, 250, 0, 0, 0, true);

    TurnedOn = false;
    ShowMonstersCount = true;
    ShowTotalProgression = true;
    ShowTrashProgression = true;
    ShowEliteProgression = true;
    ShowRareMinionProgression = true;
    ShowRiftGlobeProgression = true;
    ShowTime = true;
    ShowLlocustCount = true;
    ShowHauntedCount = true;
    ShowPalmedCount = true;
    ShowPhoenixedCount = false;
    ShowStrongarmedCount = true;

    XWidth = 0.84f;
    YHeight = 0.61f;
    textBuilder = new StringBuilder();

    baseMapShapeDecorator = new MapShapeDecorator(Hud)
    {
    Brush = Hud.Render.CreateBrush(150, 180, 147, 109, 1),
    ShapePainter = new CircleShapePainter(Hud),
    Radius = 40,
    };
    StatisticalRangeDecorator = new WorldDecoratorCollection(baseMapShapeDecorator);
    currentYard = BaseYard;
    maxMapShapeDecorator = new MapShapeDecorator(Hud)
    {
    Brush = Hud.Render.CreateBrush(150, 180, 147, 109, 1),
    ShapePainter = new CircleShapePainter(Hud),
    Radius = 120,
    };
    MaxStatisticalRangeDecorator = new WorldDecoratorCollection(maxMapShapeDecorator);
    }

    public void OnKeyEvent(IKeyEvent keyEvent)
    {
    if (keyEvent.IsPressed && ToggleKeyEvent.Matches(keyEvent) && ToggleEnable)
    {
    TurnedOn = !TurnedOn;
    currentYard = TurnedOn ? MaxYard : BaseYard;
    }
    }

    public void PaintWorld(WorldLayer layer)
    {
    if (Hud.Game.IsInTown || !ShowCircle) return;
    if (TurnedOn)
    {
    MaxStatisticalRangeDecorator.Paint(layer, null, Hud.Game.Me.FloorCoordinate, null);
    }
    else
    {
    StatisticalRangeDecorator.Paint(layer, null, Hud.Game.Me.FloorCoordinate, null);
    }
    }

    public void PaintTopInGame(ClipState clipState)
    {
    if (clipState != ClipState.BeforeClip) return;
    var inRift = Hud.Game.SpecialArea == SpecialArea.Rift || Hud.Game.SpecialArea == SpecialArea.GreaterRift;
    var inGR = Hud.Game.SpecialArea == SpecialArea.GreaterRift;
    if (DefaultTextFont == null)
    {
    return;
    }

    double totalMonsterRiftProgression = 0;
    double TrashMonsterRiftProgression = 0;
    double EliteProgression = 0;
    double RareMinionProgression = 0;
    double RiftGlobeProgression = 0;

    int monstersCount = 0;
    int EliteCount = 0;
    int RareMinionCount = 0;
    int ElitePackCount = 0;
    // locust
    int locustCount = 0;
    int ElitelocustCount = 0;
    // haunted
    int hauntedCount = 0;
    int ElitehauntedCount = 0;
    //Palmed
    int palmedCount = 0;
    int ElitepalmedCount = 0;
    //Phoenixed BUG? TOS Deletion - TurboHUD
    int phoenixedCount = 0;
    int ElitephoenixedCount = 0;
    //Strongarmed Obsolete
    int strongarmedCount = 0;
    int ElitestrongarmedCount = 0;
    float XPos = Hud.Window.Size.Width * XWidth;
    float YPos = Hud.Window.Size.Height * YHeight;

    var monsters = Hud.Game.AliveMonsters.Where(m => ((m.SummonerAcdDynamicId == 0 && m.IsElite) || !m.IsElite) && m.FloorCoordinate.XYDistanceTo(Hud.Game.Me.FloorCoordinate) <= currentYard);
    Dictionary<IMonster, string> eliteGroup = new Dictionary<IMonster, string>();
    foreach (var monster in monsters)
    {
    var Elite = monster.Rarity == ActorRarity.Rare || monster.Rarity == ActorRarity.Champion || monster.Rarity == ActorRarity.Unique || monster.Rarity == ActorRarity.Boss;
    monstersCount++;
    if (!monster.IsElite)
    {
    if (inRift) TrashMonsterRiftProgression += monster.SnoMonster.RiftProgression * 100.0d / this.Hud.Game.MaxQuestProgress;
    }
    else
    {
    if (monster.Rarity == ActorRarity.RareMinion)
    {
    RareMinionCount++;
    if (inRift) RareMinionProgression += monster.SnoMonster.RiftProgression * 100.0d / this.Hud.Game.MaxQuestProgress;
    }
    else
    {
    if (monster.Rarity == ActorRarity.Unique || monster.Rarity == ActorRarity.Boss)
    {
    EliteCount++;
    ElitePackCount++;
    }

    if (monster.Rarity == ActorRarity.Champion)
    {
    EliteCount++;
    eliteGroup.Add(monster, String.Join(", ", monster.AffixSnoList));
    if (inRift) EliteProgression += monster.SnoMonster.RiftProgression * 100.0d / this.Hud.Game.MaxQuestProgress;
    }

    if (monster.Rarity == ActorRarity.Rare)
    {
    EliteCount++;
    ElitePackCount++;
    if (inRift)
    {
    EliteProgression += 4 * 1.15d;
    EliteProgression += monster.SnoMonster.RiftProgression * 100.0d / this.Hud.Game.MaxQuestProgress;
    }
    }
    }
    }
    if (monster.Locust && ShowLlocustCount)
    {
    locustCount++;
    if (Elite) ElitelocustCount++;
    }
    if (monster.Haunted && ShowHauntedCount)
    {
    hauntedCount++;
    if (Elite) ElitehauntedCount++;
    }
    if (monster.Palmed && ShowPalmedCount)
    {
    palmedCount++;
    if (Elite) ElitepalmedCount++;
    }
    if (monster.Phoenixed && ShowPhoenixedCount)
    {
    phoenixedCount++;
    if (Elite) ElitephoenixedCount++;
    }
    if (monster.Strongarmed && ShowStrongarmedCount)
    {
    strongarmedCount++;
    if (Elite) ElitestrongarmedCount++;
    }
    }
    Dictionary<IMonster, string> eliteGroup1 = eliteGroup.OrderBy(p => p.Value).ToDictionary(p => p.Key, o => o.Value);
    if (monstersCount == 0) return;
    var actors = Hud.Game.Actors.Where(x => x.SnoActor.Kind == ActorKind.RiftOrb);
    foreach (var actor in actors)
    {
    RiftGlobeProgression += 1.15d;
    }
    string preStr = null;
    foreach (var elite in eliteGroup1)
    {
    if (elite.Key.Rarity == ActorRarity.Champion)
    {
    if (preStr != elite.Value)
    {

    EliteProgression += 3 * 1.15f;
    ElitePackCount++;
    }
    preStr = elite.Value;
    }
    }
    textBuilder.Clear();
    if (ShowMonstersCount)
    {
    textBuilder.AppendFormat("{0} BaseYard Monster Count: {1}", currentYard, monstersCount);
    textBuilder.AppendLine();
    if (EliteCount > 0) textBuilder.AppendFormat("Elite: {0}(Pack: {1})", EliteCount, ElitePackCount);
    if (RareMinionCount > 0) textBuilder.AppendFormat("Minion: {0}", RareMinionCount);
    textBuilder.AppendLine();
    textBuilder.AppendLine();
    }

    if (inRift)
    {
    totalMonsterRiftProgression = TrashMonsterRiftProgression + EliteProgression + RareMinionProgression + RiftGlobeProgression;
    long totalTime = (long)totalMonsterRiftProgression * 90000000;
    long TrashTime = (long)TrashMonsterRiftProgression * 90000000;
    long EliteTime = (long)EliteProgression * 90000000;
    long RareMinionTime = (long)RareMinionProgression * 90000000;
    long RiftGlobeTime = (long)RiftGlobeProgression * 90000000;
    if (totalMonsterRiftProgression > 0 && ShowTotalProgression)
    {
    if (ShowTime && inGR)
    {
    textBuilder.AppendFormat("TotalRP: {0}% = {1}", totalMonsterRiftProgression.ToString("f2"), ValueToString((long)totalTime, ValueFormat.LongTime));
    }
    else
    {
    textBuilder.AppendFormat("TotalRP: {0}%", totalMonsterRiftProgression.ToString("f2"));
    }
    textBuilder.AppendLine();
    }

    if (TrashMonsterRiftProgression > 0 && ShowTrashProgression)
    {
    if (ShowTime && inGR)
    {
    textBuilder.AppendFormat("TrashRP: {0}% = {1}", TrashMonsterRiftProgression.ToString("f2"), ValueToString((long)TrashTime, ValueFormat.LongTime));
    }
    else
    {
    textBuilder.AppendFormat("TrashRP: {0}%", TrashMonsterRiftProgression.ToString("f2"));
    }
    textBuilder.AppendLine();
    }
    if (EliteProgression > 0 && ShowEliteProgression)
    {
    if (ShowTime && inGR)
    {
    textBuilder.AppendFormat("EliteRP: {0}% = {1}", EliteProgression.ToString("f2"), ValueToString((long)EliteTime, ValueFormat.LongTime));
    }
    else
    {
    textBuilder.AppendFormat("EliteRP: {0}%", EliteProgression.ToString("f2"));
    }
    textBuilder.AppendLine();
    }
    if (RareMinionProgression > 0 && ShowRareMinionProgression)
    {
    if (ShowTime && inGR)
    {
    textBuilder.AppendFormat("MinionRP: {0}% = {1}", RareMinionProgression.ToString("f2"), ValueToString((long)RareMinionTime, ValueFormat.LongTime));
    }
    else
    {
    textBuilder.AppendFormat("MinionRP: {0}%", RareMinionProgression.ToString("f2"));
    }
    textBuilder.AppendLine();
    }
    if (RiftGlobeProgression > 0 && ShowRiftGlobeProgression)
    {
    if (ShowTime && inGR)
    {
    textBuilder.AppendFormat("GlobeRP: {0}% = {1}", RiftGlobeProgression.ToString("f2"), ValueToString((long)RiftGlobeTime, ValueFormat.LongTime));
    }
    else
    {
    textBuilder.AppendFormat("GlobeRP: {0}%", RiftGlobeProgression.ToString("f2"));
    }
    textBuilder.AppendLine();
    }
    textBuilder.AppendLine();
    }
    if (locustCount > 0 && ShowLlocustCount)
    {
    textBuilder.AppendFormat("Locust: {0}/{1}", locustCount, monstersCount);
    if (ElitelocustCount > 0) textBuilder.AppendFormat(" (Elite: {0}/{1})", ElitelocustCount, EliteCount);
    textBuilder.AppendLine();
    }
    if (hauntedCount > 0 && ShowHauntedCount)
    {
    textBuilder.AppendFormat("Haunted: {0}/{1}", hauntedCount, monstersCount);
    if (ElitehauntedCount > 0) textBuilder.AppendFormat(" (Elite: {0}/{1})", ElitehauntedCount, EliteCount);
    textBuilder.AppendLine();
    }
    if (palmedCount > 0 && ShowPalmedCount)
    {
    textBuilder.AppendFormat("Palmed: {0}/{1}", palmedCount, monstersCount);
    if (ElitepalmedCount > 0) textBuilder.AppendFormat(" (Elite: {0}/{1})", ElitepalmedCount, EliteCount);
    textBuilder.AppendLine();
    }
    if (phoenixedCount > 0 && ShowPhoenixedCount)
    {
    textBuilder.AppendFormat("Phoenixed: {0}/{1}", phoenixedCount, monstersCount);
    if (ElitephoenixedCount > 0) textBuilder.AppendFormat(" (Elite: {0}/{1})", ElitephoenixedCount, EliteCount);
    textBuilder.AppendLine();
    }
    if (strongarmedCount > 0 && ShowStrongarmedCount)
    {
    textBuilder.AppendFormat("Strongarmed: {0}/{1}", strongarmedCount, monstersCount);
    if (ElitestrongarmedCount > 0) textBuilder.AppendFormat(" (Elite: {0}/{1})", ElitestrongarmedCount, EliteCount);
    textBuilder.AppendLine();
    }

    if (totalMonsterRiftProgression >= 100d - Hud.Game.RiftPercentage && Hud.Game.RiftPercentage != 100 || TrashMonsterRiftProgression >= 100d - Hud.Game.RiftPercentage && Hud.Game.RiftPercentage != 100)
    {
    if (totalMonsterRiftProgression >= 100d - Hud.Game.RiftPercentage && Hud.Game.RiftPercentage != 100) currentFont = OrangeTextFont;
    if (TrashMonsterRiftProgression >= 100d - Hud.Game.RiftPercentage && Hud.Game.RiftPercentage != 100) currentFont = RedTextFont;
    }
    else
    {
    currentFont = DefaultTextFont;
    }
    var layout = currentFont.GetTextLayout(textBuilder.ToString());
    currentFont.DrawText(layout, XPos, YPos);
    }
    }
    }

  5. #5
    Thekid5678's Avatar Member
    Reputation
    1
    Join Date
    Feb 2007
    Posts
    37
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So from doing a little more digging, I found that all you have to do is add this code
    Using custom code
    Code:
    Hud.GetPlugin<MonstersCountPlugin>().XWidth = 0.84f;
    Hud.GetPlugin<MonstersCountPlugin>().YHeight = 0.61f;

    However, I'm not sure where to add this code

Similar Threads

  1. need Help with a few offsets
    By muschz123456 in forum WoW Memory Editing
    Replies: 2
    Last Post: 08-17-2011, 08:30 AM
  2. Need help with a few things please
    By Lestat- in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 10-28-2008, 10:47 PM
  3. A Few Bugs I Need Help With Please
    By BillyBob31 in forum World of Warcraft Emulator Servers
    Replies: 17
    Last Post: 03-22-2008, 12:14 AM
  4. need help with shammy talents
    By jason in forum World of Warcraft General
    Replies: 5
    Last Post: 07-19-2006, 02:02 AM
  5. Need Help with WoW Glider
    By paypal in forum World of Warcraft General
    Replies: 2
    Last Post: 07-07-2006, 02:08 AM
All times are GMT -5. The time now is 07:45 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