[ENGLISH] [Prrovoss] PopupNotifications menu

User Tag List

Page 5 of 5 FirstFirst 12345
Results 61 to 75 of 75
  1. #61
    2003VB12's Avatar Member
    Reputation
    1
    Join Date
    Feb 2018
    Posts
    32
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello provoss, thank you for this amazing plugin.
    I have 2 questions: 1) Is it possible to customize the background color of certain popups? I want the pylon appear to have yello background(or frame), and pylon activated to have a green background (or frame). What should I put in the customization part? 2) Also is it possible to create popup on 'buff expired'? Combined with previous idea, we can have red for shield pylon buff expire and green for cheat death cooldown expire.

    [ENGLISH] [Prrovoss] PopupNotifications
  2. #62
    evan6944's Avatar Member
    Reputation
    7
    Join Date
    Aug 2018
    Posts
    20
    Thanks G/R
    10/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Heya prrovoss, I've a question similar to what 2003VB12 was asking. I tried working with your example in ItemDroppedPopup to customise others, but the syntax appears to be different. Specifically, this is what I see for customising ItemDroppedPopup:

    Code:
    sno (put null if not needed), itemQuality (put null if not needed), ancientRank (put null if not needed), hint, title, duration (in ms), custom decorator (ignore if not needed)
    Following the syntax here,

    Code:
    sno, icon, name, hint, title, duration (in ms), custom decorator (ignore if not needed)
    I copypasta-ed what you did for a custom decorator in ItemDroppedPopup and tried to adapt the notification with this decorator.

    Code:
    var PylonBuffDecorator = new TopLabelWithTitleDecorator(Hud)
    {
    BorderBrush = Hud.Render.CreateBrush(255, 255, 0, 0, 5),
    BackgroundBrush = Hud.Render.CreateBrush(200, 255, 0, 0, 0),
    TextFont = Hud.Render.CreateFont("Century Gothic", 8, 255, 255, 255, 255, true, false, false),
    TitleFont = Hud.Render.CreateFont("Century Gothic", 6, 255, 180, 147, 109, true, false, false),
    };
    
    
    //sno, icon, name, hint, title, duration (in ms), custom decorator (ignore if not needed)
    plugin.Add(262935, 0, "Power", "", "Buff", 4000, PylonBuffDecorator);
    1. Can you please tell me what I've done wrong here?

    2. What does "icon" refer to? In your example, "0", "1" and "2" have been used for Power Pylon buff, Final Service and Oculus, respectively.

    3. I tried adding Speed and Conduit pylon buffs using the SNOs 266271 and 263029/398655 respectively. They don't seem to work like the rest of the buffs you've included. Am I using the wrong SNOs?

    4. If I'm not wrong, you mentioned that these notifications are triggered on activation of a buff, so 2003VB12's idea of having a "buff expired" notification won't be something this plugin covers. I've tried extending the duration of these notifications to match the length of the buff, but it's a clumsy attempt at best. Is there a way to write a custom notification with a delay from when the buff is activated? For example, taking a power pylon could raise a green notification. For me, this would be a great visual indicator so I can focus on targeting monsters once the buff comes up. After a 25-second delay, the green notification would drop, and a fresh orange one will appear to warn that the buff will expire in 5 seconds. Can you show how to do this in order for the second notification to appear after a fixed delay?


    Thanks again for your help, and for the awesome plugin!

  3. #63
    iThinkiWin's Avatar Active Member
    Reputation
    28
    Join Date
    Oct 2018
    Posts
    104
    Thanks G/R
    25/25
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As I spend most my time farming watching the mini-map i prefer the popups at top closer to the map
    In case anyone else does the same this will make the popups appear left of the mini-map and flow downward.

    Code:
    public override void Load(IController hud)
            {
                base.Load(hud);
    
                RatioX = 0.67f;
                RatioY = 0.02f;
                RatioW = 0.24f;
                RatioH = 0.05f;
                VerticalGap = 1.20f;
            }
    
            public void PaintWorld(WorldLayer layer)
            {
                var w = Hud.Window.Size.Height * RatioW;
                var h = Hud.Window.Size.Height * RatioH;
                var x = Hud.Window.Size.Width * RatioX;
                var y = Hud.Window.Size.Height * RatioY;
    
                foreach (Popup p in Hud.Queue.GetItems<Popup>().Take(13))
                {
                        p.Decorator.Paint(x, y , w, h, p.Text, p.Title, p.Hint);
                        y += h * VerticalGap;
                }
            }
    popupfromtop.png

  4. #64
    Silkdog569's Avatar Member
    Reputation
    3
    Join Date
    Apr 2017
    Posts
    39
    Thanks G/R
    11/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Prrovoss, it seems your good work has finally been broken with the new impending version 9 Hud update. If you are still monitoring these threads would it be possible for you to update your plugin to V9 of Hud. Your party Inspector plugin also does not work in v9 but I will post that in that thread separately. Exception errors for the plugin are

    TurboHUD 19.2.13.0 (v9.0) BETA for Diablo III 2.6.4.55430 (64 bit)\Plugins\Prrovoss\Popups\ActorAppearedPopup.cs(57,61) : error CS0019: Operator '==' cannot be applied to operands of type 'ActorSnoEnum' and 'uint'

    TurboHUD 19.2.13.0 (v9.0) BETA for Diablo III 2.6.4.55430 (64 bit)\Plugins\Prrovoss\Popups\ActorAppearedPopup.cs(60,50) : error CS1579: foreach statement cannot operate on variables of type '?' because '?' does not contain a public instance definition for 'GetEnumerator'

    TurboHUD 19.2.13.0 (v9.0) BETA for Diablo III 2.6.4.55430 (64 bit)\Plugins\Prrovoss\Popups\MonsterAppearedPopup.cs(49,61) : error CS0019: Operator '==' cannot be applied to operands of type 'ActorSnoEnum' and 'uint'

    TurboHUD 19.2.13.0 (v9.0) BETA for Diablo III 2.6.4.55430 (64 bit)\Plugins\Prrovoss\Popups\MonsterAppearedPopup.cs(52,52) : error CS1579: foreach statement cannot operate on variables of type '?' because '?' does not contain a public instance definition for 'GetEnumerator'

    Thanks in advanced if you can fix the plugin. If not then thanks for the use of the plugin while it lasted.

    Silkdog.

  5. #65
    Glex's Avatar Member
    Reputation
    4
    Join Date
    Apr 2017
    Posts
    37
    Thanks G/R
    2/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    TurboHUD version 9.0

    19.2.18.0 BETA 2.6.4.55430 (v9.0)

    Download

    virustotal
    -----------------------------
    plugins\Prrovoss\Popups
    -----------------------------
    AcientDroppedPopupPopup.cs
    Code:
    using Turbo.Plugins.Default;
    
    namespace Turbo.Plugins.Prrovoss
    {
    
        public class AcientDroppedPopup : BasePlugin, ILootGeneratedHandler
        {
    
            public void OnLootGenerated(IItem item, bool gambled)
            {
               if (item.AncientRank >= 1)
                    Hud.RunOnPlugin<PopupNotifications>(plugin =>
                        {
                            plugin.Show(item.SnoItem.NameLocalized + (item.AncientRank == 1 ? " (A)" : (item.AncientRank == 2 ? " (P)" : "")) , "Acient dropped", 10000, "Hurray");
                        });
            }
    
            public AcientDroppedPopup()
            {
                Enabled = true;
            }
    
        }
    
    }
    LegendaryDroppedPopupPopup.cs
    Code:
    using Turbo.Plugins.Default;
    
    namespace Turbo.Plugins.Prrovoss
    {
    
        public class LegendaryDroppedPopupPopup : BasePlugin, ILootGeneratedHandler
        {
    
            public void OnLootGenerated(IItem item, bool gambled)
            {
                if (item.AncientRank == 2)
                    Hud.RunOnPlugin<PopupNotifications>(plugin =>
                    {
                        plugin.Show(item.SnoItem.NameLocalized + " (P)", "Primal dropped", 10000, "Hurray", PopupNotifications.EnumPopupDecoratorToUse.Primal);
                    });
    
                else if (item.AncientRank == 1)
                    Hud.RunOnPlugin<PopupNotifications>(plugin =>
                    {
                        plugin.Show(item.SnoItem.NameLocalized + " (A)", "Ancient dropped", 10000, "Hurray", PopupNotifications.EnumPopupDecoratorToUse.Ancient);
                    });
    
                else if (item.Quality == ItemQuality.Legendary)
                    Hud.RunOnPlugin<PopupNotifications>(plugin =>
                        {
                            plugin.Show(item.SnoItem.NameLocalized, "Legendary dropped", 10000, "Hurray");
                        });
    
                
    
                
            }
    
            public LegendaryDroppedPopupPopup()
            {
                Enabled = true;
            }
    
        }
    
    }
    PopupNotifications.cs
    Code:
    using System;
    using System.Linq;
    
    using Turbo.Plugins.Default;
    
    namespace Turbo.Plugins.Prrovoss
    {
    
        public class PopupNotifications : BasePlugin, IInGameWorldPainter 
        {
    
            public enum EnumPopupDecoratorToUse {Default, Ancient, Primal };
    
            public TopLabelWithTitleDecorator PrimalPopupDecorator { get; set; }
            public TopLabelWithTitleDecorator AcientPopupDecorator { get; set; }
            public TopLabelWithTitleDecorator DefaultPopupDecorator { get; set; }
    
            public float RatioX { get; set; }
            public float RatioY { get; set; }
            public float RatioW { get; set; }
            public float RatioH { get; set; }
            public float VerticalGap { get; set; }
    
            public class Popup : IQueueItem
            {
                public string Text { get; set; }
                public string Title { get; set; }
                public string Hint { get; set; }
                public DateTime QueuedOn { get; private set; }
                public TimeSpan LifeTime { get; private set; }
                public EnumPopupDecoratorToUse PopUpDecoratorTouse { get; private set; }
                public Popup(string text, string title, TimeSpan lifetime, string hint, EnumPopupDecoratorToUse popupDecoratorToUse = EnumPopupDecoratorToUse.Default)
                {
                    this.Text = text;
                    this.Title = title;
                    this.LifeTime = lifetime;
                    this.Hint = hint;
                    this.QueuedOn = DateTime.Now;
                    this.PopUpDecoratorTouse = popupDecoratorToUse;
                }
            }
    
    
            public void Show(string text, string title, int duration, string hint = null, EnumPopupDecoratorToUse popupDecoratorToUse = EnumPopupDecoratorToUse.Default)
            {
                Hud.Queue.AddItem(new Popup(text, title, new TimeSpan(0, 0, 0, 0, duration), hint, popupDecoratorToUse));
            }
    
            public PopupNotifications()
            {
                Enabled = true;
            }
    
            public override void Load(IController hud)
            {
                base.Load(hud);
    
                PrimalPopupDecorator = new TopLabelWithTitleDecorator(Hud)
                {
                    BorderBrush = Hud.Render.CreateBrush(255, 255, 0, 0, -1),
               
                    BackgroundBrush = Hud.Render.CreateBrush(200, 0, 0, 0, 0),
                    TextFont = Hud.Render.CreateFont("tahoma", 8, 255, 255, 255, 255, true, false, false),
                    TitleFont = Hud.Render.CreateFont("tahoma", 6, 255, 180, 147, 109, true, false, false),
                };
    
                AcientPopupDecorator = new TopLabelWithTitleDecorator(Hud)
                {
                    BorderBrush = Hud.Render.CreateBrush(255, 255, 165, 0, -1),
    
                    BackgroundBrush = Hud.Render.CreateBrush(200, 0, 0, 0, 0),
                    TextFont = Hud.Render.CreateFont("tahoma", 8, 255, 255, 255, 255, true, false, false),
                    TitleFont = Hud.Render.CreateFont("tahoma", 6, 255, 180, 147, 109, true, false, false),
                };
    
                DefaultPopupDecorator = new TopLabelWithTitleDecorator(Hud)
                {
                    BorderBrush = Hud.Render.CreateBrush(255, 180, 147, 109, -1),
    
                    BackgroundBrush = Hud.Render.CreateBrush(200, 0, 0, 0, 0),
                    TextFont = Hud.Render.CreateFont("tahoma", 8, 255, 255, 255, 255, true, false, false),
                    TitleFont = Hud.Render.CreateFont("tahoma", 6, 255, 180, 147, 109, true, false, false),
                };
    
                RatioX = 0.6f;
                RatioY = 0.75f;
                RatioW = 0.18f;
                RatioH = 0.05f;
                VerticalGap = 1.20f;
            }
    
            public void PaintWorld(WorldLayer layer)
            {
                var w = Hud.Window.Size.Height * RatioW;
                var h = Hud.Window.Size.Height * RatioH;
                var x = Hud.Window.Size.Width * RatioX;
                var y = Hud.Window.Size.Height * RatioY;
    
                foreach (Popup p in Hud.Queue.GetItems<Popup>().Take(13))
                {
                    switch (p.PopUpDecoratorTouse)
                    {
                        case EnumPopupDecoratorToUse.Ancient:
                            AcientPopupDecorator.Paint(x, y, w, h, p.Text, p.Title, p.Hint);
                            break;
                        case EnumPopupDecoratorToUse.Primal:
                            PrimalPopupDecorator.Paint(x, y, w, h, p.Text, p.Title, p.Hint);
                            break;
    
                        case EnumPopupDecoratorToUse.Default:
                        default:
                            DefaultPopupDecorator.Paint(x, y, w, h, p.Text, p.Title, p.Hint);
                            break;
    
                    }
                    
                    y -= h * VerticalGap;
                }
            }
    
    
        }
    
    }
    -------------------------------
    Help my by this

    MonsterAppearedPopup.cs
    Code:
    using System.Collections.Generic;
    using System.Linq;
    using Turbo.Plugins.Default;
    
    
    namespace Turbo.Plugins.Prrovoss.Popups
    {
    
        public class MonsterAppearedPopup : BasePlugin, IInGameWorldPainter
        {
            public class MyMonster
            {
                public List<double> MaxHitpoints { get; set; }
                public uint Sno { get; set; }
                public string Name { get; set; }
                public string Hint { get; set; }
                public string Title { get; set; }
                public int Duration { get; set; }
                public TopLabelWithTitleDecorator Decorator { get; set; }
    
                public MyMonster(uint sno, string name, string hint, string title, int duration, TopLabelWithTitleDecorator decorator = null)
                {
                    MaxHitpoints = new List<double>();
                    this.Sno = sno;
                    this.Hint = hint;
                    this.Name = name;
                    this.Title = title;
                    this.Duration = duration;
                    this.Decorator = decorator;
                }
            }
    
            public List<MyMonster> MonstersToWatch { get; set; }
    
            public override void Load(IController hud)
            {
                base.Load(hud);
                MonstersToWatch = new List<MyMonster>();            
            }
    
            public void Add(uint sno, string name, string hint, string title, int duration, TopLabelWithTitleDecorator decorator = null)
            {
                MonstersToWatch.Add(new MyMonster(sno, name, hint, title, duration, decorator));
            }
    
            public void PaintWorld(WorldLayer layer)
            {
                foreach (MyMonster monster in MonstersToWatch)
                { var candidates = Hud.Game.Monsters.Where(m => m.SnoActor.Sno == monster.Sno && !monster.MaxHitpoints.Contains(m.MaxHealth));
                    if (candidates.Count() != 0)
                    {
                        foreach (IMonster candidate in candidates)
                        {
                            Hud.RunOnPlugin<PopupNotifications>(plugin =>
                            {
                                plugin.Show(monster.Name, monster.Title, monster.Duration, monster.Hint);
                            });
                            monster.MaxHitpoints.Add(candidate.MaxHealth);
                        }
                    }
                }
    
            }
    
            public MonsterAppearedPopup()
            {
                Enabled = true;
            }
    
        }
    
    }
    +

    Code:
                Hud.RunOnPlugin<Prrovoss.Popups.MonsterAppearedPopup>(plugin =>
                {
                    //sno, name, hint, title, duration (in ms), custom decorator (ignore if not needed)
                    plugin.Add(451002, "Sir William", "", "Appeared", 5000);
                    plugin.Add(450999, "Princess Lilian", "", "Appeared", 5000);
                });
    Last edited by Glex; 02-23-2019 at 01:59 AM.

  6. Thanks LazyDruid (1 members gave Thanks to Glex for this useful post)
  7. #66
    jaeheung09's Avatar Active Member
    Reputation
    23
    Join Date
    Nov 2017
    Posts
    109
    Thanks G/R
    8/21
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First of all, thanks for your beautiful plugin. I've been using your PopupNotification plugin and often have overlay related exceptions so that I downloaded the latest one today, but still have the same exceptions.
    Will you check what's wrong with it, Prrovoss?

    2019.03.03 19:48:17.805 19.2.11.0 overlay paint error (System.InvalidOperationException: 컬렉션이 수정되었습니다. 열거 작업이 실행되지 않을 수도 있습니다.
    위치: System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
    위치: System.Collections.Generic.List`1.Enumerator.MoveNextRare()
    위치: YD6t^E"(i@J0'YE\]\.\*uwU\&-5).wm8J nN8MUhQsM98^>DCT^:T!`1.MoveNext()
    위치: System.Linq.Enumerable.<TakeIterator>d__25`1.MoveNext()
    위치: Turbo.Plugins.Prrovoss.Popups.PopupNotifications.PaintWorld(WorldLayer layer)
    위치: *‏*​*‎​‬‪*‪**​‬‫‎*‬*‪‏‎*‪‬*.‫‎**‬***‎*‬‏‏‪‫‬‫‫**‬‪*‪*​​ **.****‏‪*‎‫*‪*‫*‪‫‫***‪‫​***()
    위치: *‏*​*‎​‬‪*‪**​‬‫‎*‬*‪‏‎*‪‬*.‪‬‎*‫‬*‪***‫​‫‪*​**‬*​*‬*​‬ **(IPlugin , String , Action , Boolean )
    위치: *‏*​*‎​‬‪*‪**​‬‫‎*‬*‪‏‎*‪‬*.‏*‫‎‫‪​‏‏​*****‎‫** *(Object , EventArgs )
    위치: **‎‫‫**‎‫****‪*‎‬*​**‎*****.*‏*‬‏‪‎***‪***​***‬* *())
    2019.03.03 19:48:18.022 19.2.11.0 overlay paint notification (SharpDX.SharpDXException: HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: 개체가 메서드를 처리할 수 있는 올바른 상태에 있지 않습니다.

    위치: **‎‫‫**‎‫****‪*‎‬*​**‎*****.*‏*‬‏‪‎***‪***​***‬* *())

  8. #67
    Kasztan100's Avatar Member
    Reputation
    1
    Join Date
    Mar 2017
    Posts
    9
    Thanks G/R
    5/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can someone use this texture for item drop, in notification popup window?

    praimal.png

  9. #68
    kleks's Avatar Member
    Reputation
    1
    Join Date
    Sep 2019
    Posts
    25
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any1 got this plugin working with cursed chest ?

  10. #69
    LazyDruid's Avatar Member
    Reputation
    3
    Join Date
    Sep 2019
    Posts
    53
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I keep getting errors on certain plugins:

    Code:
    2020.12.09 17:38:04.016	20.12.8.0	error while initializing plugins
    2020.12.09 17:38:04.017	20.12.8.0		D:\TurboHud\Plugins\Prrovoss\Popups\MonsterAppearedPopup.cs(49,61) : error CS0019: Operator '==' cannot be applied to operands of type 'ActorSnoEnum' and 'uint'
    2020.12.09 17:38:04.017	20.12.8.0		D:\TurboHud\Plugins\Prrovoss\Popups\MonsterAppearedPopup.cs(52,52) : error CS1579: foreach statement cannot operate on variables of type '?' because '?' does not contain a public instance definition for 'GetEnumerator'

  11. #70
    RNN's Avatar Legendary
    Reputation
    813
    Join Date
    Sep 2018
    Posts
    1,055
    Thanks G/R
    104/776
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Code:
    var candidates = Hud.Game.Actors.Where(a => a.SnoActor.Sno == actor.Sno && !(actor.FloorCoords.Any(c => EqualCoordinates(c, a.FloorCoordinate))) && !(actor.CreatedTicks.Contains(a.CreatedAtInGameTick)) );
    cast
    Code:
    var candidates = Hud.Game.Actors.Where(a => a.SnoActor.Sno == (ActorSnoEnum) actor.Sno && !(actor.FloorCoords.Any(c => EqualCoordinates(c, a.FloorCoordinate))) && !(actor.CreatedTicks.Contains(a.CreatedAtInGameTick)) );
    or replace all previous uint sno with ActorSnoEnum sno

  12. Thanks LazyDruid (1 members gave Thanks to RNN for this useful post)
  13. #71
    LazyDruid's Avatar Member
    Reputation
    3
    Join Date
    Sep 2019
    Posts
    53
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome... I have ALL the notification plugins for Prrovoss notify sysytem working...

    Including the additions by Glex.

  14. #72
    LazyDruid's Avatar Member
    Reputation
    3
    Join Date
    Sep 2019
    Posts
    53
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can someone explain to me why I'm not getting an exception on compile.. but it will NOT log the ID and NAME to a file....

    I go to the logs folder.. file does not exist... but no errors occur.

    Ok.. i'm specifying the name of the file TEST.. and dumping the data... but the file never gets created....

    No exceptions on compile... i know the data is good because it displays within the notification system... and just passing the same data thats output on screen back through the plugin.. to the call for logging....


    Is there any method in place that might turn off or disable logging???
    if there some global config for Thud that would prevent it from creating files from the script?

    Code:
            public void PaintWorld(WorldLayer layer)
            {
                foreach (MyMonster monster in MonstersToWatch)
                { var candidates = Hud.Game.Monsters.Where(m => (uint) m.SnoActor.Sno == monster.Sno && !monster.MaxHitpoints.Contains(m.MaxHealth));
                    if (candidates.Count() != 0)
                    {
                        foreach (IMonster candidate in candidates)
                        {
                            Hud.RunOnPlugin<PopupNotifications>(plugin =>
                            {
                                plugin.Show(monster.Name, monster.Title, monster.Duration, monster.Hint);
        
                                Hud.TextLog.Log("TEST", (monster.Name + " " + monster.Title + " " +  monster.Duration + " " +  monster.Hint), true, true);
                                
                            });
                            monster.MaxHitpoints.Add(candidate.MaxHealth);
                        }
                    }
                }
    
            }
    Last edited by LazyDruid; 12-10-2020 at 11:34 AM.

  15. #73
    LazyDruid's Avatar Member
    Reputation
    3
    Join Date
    Sep 2019
    Posts
    53
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Crud...

    20.8.19.0 STABLE for Diablo III 2.6.9.68722 (v9.2)
    - changed: IController.Log and IController.Debug no longer works in special areas and above T1 difficulty

    Think this might be the reason... will test it on a low level and see what happens.

    Update:
    Nope... no log file is ever created ....
    None of the plugins that are using the log function are working... even in normal or master mode.
    Last edited by LazyDruid; 12-10-2020 at 04:47 PM.

  16. #74
    LazyDruid's Avatar Member
    Reputation
    3
    Join Date
    Sep 2019
    Posts
    53
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well .. it was just an off shoot of what i wanted to accomplish in the long run.. but here is a list of all in game goblins...

    This is the result that has been verified. I did not see a posting of the correct goblin id's via sno calls anywhere.. and wanted to add them to the watchlist.
    I however came across a repository of Jack Ceparou .. which was a fork of RNN's ... that had an old GoblinPlugin.cs in it.

    Thanks to RNN for that nifty sucker.

    The code needs tweaking to get to work correctly.. but i just ripped the id's out of it to use in the above MonsterAppearedPopup.cs

    the addition to the TurboHud\plugins\User\PluginEnablerOrDisablerPlugin.cs for plugin control / customization ... and in this case.. a watchlist to add.

    Code:
    				    Hud.GetPlugin<Prrovoss.Popups.MonsterAppearedPopup>().Enabled = true;
    				    Hud.RunOnPlugin<Prrovoss.Popups.MonsterAppearedPopup>(plugin =>
    				    {				 
    					 plugin.Add(5987, "Gem Hoarder", "", "Appeared", 5000); // treasureGoblin_C 5987 - Special Greed Zone
    					 plugin.Add(5985, "Odious Collector", "", "Appeared", 5000); // treasureGoblin_B 5985 - Special Greed Zone
    					 plugin.Add(5984, "Treasure Goblin", "", "Appeared", 5000); // TreasureGoblin_A 5984 - Special Greed Zone
    					 
    					 plugin.Add(451059, "Menagerist Goblin", "", "Appeared", 5000); // TreasureGoblin_K 451059
    					 plugin.Add(434748, "Herald to the Queen", "", "Appeared", 5000); // TreasureGoblin_Anniversary_Event 434748			
    					 plugin.Add(429803, "Gilded Baron", "", "Appeared", 5000); // treasuregoblin_j 429161
    					 plugin.Add(429797, "Gelatinous Spawn", "", "Appeared", 5000); // treasuregoblin_d_splitter_03 429797
    					 plugin.Add(429796, "Gelatinous Spawn", "", "Appeared", 5000); // treasuregoblin_d_splitter_02 429796					 
    					 plugin.Add(429795, "Treasure Goblin", "", "Appeared", 5000); // TreasureGoblin_A 5984
    					 plugin.Add(429794, "Odious Collector", "", "Appeared", 5000); // treasureGoblin_B 5985
    					 plugin.Add(429793, "Gem Hoarder", "", "Appeared", 5000); // treasureGoblin_C 5987
    					 plugin.Add(429792, "Gelatinous Sire", "", "Appeared", 5000); // treasuregoblin_d_splitter 429792
    					 plugin.Add(429789, "Insufferable Miscreant", "", "Appeared", 5000); // treasuregoblin_e 429789
    					 plugin.Add(429787, "Blood Thief", "", "Appeared", 5000); // treasureGoblin_F 429787
    					 plugin.Add(429786, "Reprehensible Fiend", "", "Appeared", 5000); // treasureGoblin_G 429786
    					 plugin.Add(429785, "Malevolent Tormentor", "", "Appeared", 5000); // treasureGoblin_H 429785
    					 plugin.Add(405624, "Rainbow Goblin", "", "Appeared", 5000); // treasureGoblin_tentacle_A 405624
    					 plugin.Add(380658, "Treasure Fiend", "", "Appeared", 5000); // p1_treasureGobin_A_Unique_GreedMinion 380658
    					 plugin.Add(343048, "Snitchley", "", "Appeared", 5000); // Treasure_Goblin_C_Unique_DevilsHand 343048
    					 
    				         plugin.Add(451002, "Sir William", "", "Appeared", 75000);
    					 plugin.Add(450999, "Princess Lilian", "", "Appeared", 75000);
    				    });

    I also wanted to get notified on runs for Staff of Herding bounty run drops.. so i made the entries as well for BountyAppearedPopup.cs

    Code:
    				    Hud.GetPlugin<Prrovoss.Popups.BountyAppearedPopup>().Enabled = false;
    				    Hud.RunOnPlugin<Prrovoss.Popups.BountyAppearedPopup>(plugin => //interfaces\controllers\sno\ISnoQuestList.cs
    				    {
    					    plugin.Add(346190, "Clear the Caverns of Frost", "", "Bounty available", 5000);
    					    plugin.Add(349220, "Kill Chiltara", "", "Bounty available", 5000);
    					    plugin.Add(347598, "The Mysterious Cave", "", "Bounty available", 5000);
    				    } );
    Last edited by LazyDruid; 12-11-2020 at 02:19 PM.

  17. #75
    LazyDruid's Avatar Member
    Reputation
    3
    Join Date
    Sep 2019
    Posts
    53
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Removed... fixed error
    Last edited by LazyDruid; 12-13-2020 at 05:17 PM. Reason: Error

Page 5 of 5 FirstFirst 12345

Similar Threads

  1. English --> Chinese
    By Login Error in forum Community Chat
    Replies: 4
    Last Post: 02-04-2008, 07:00 PM
  2. [Guide] Proper English Language
    By aggiish in forum Community Chat
    Replies: 31
    Last Post: 02-04-2008, 02:29 PM
  3. Omg,Funniest Thing I ever saw!!! ENGLISH PWNED!!!!
    By anmer in forum Screenshot & Video Showoff
    Replies: 10
    Last Post: 11-12-2007, 10:15 AM
  4. Chinese Names in English WoW
    By pandaman in forum World of Warcraft Exploits
    Replies: 8
    Last Post: 08-12-2006, 05:40 AM
All times are GMT -5. The time now is 02:43 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