Which plugin to show Demon Hunter sentries buff while playing another class?
Which plugin to show Demon Hunter sentries buff while playing another class?
THUD default plugin PlayerSkillPlugin shows your own sentries only!
But you could try to modify it to include all players sentries.
If you comment out line 270 you should be able to see all actors PlayerSkillPlugin can show summoned by anybody. Or it might throw lots of exceptions?
Code://if (actor.SummonerAcdDynamicId == Hud.Game.Me.SummonerId)
I took out line 270 and gave me 2 exception. Is there any plugins that will tell me if I'm getting sentries buff if I'm playing another class?
I did the same and even logged to the game with my DH and placed few sentries without exceptions (solo).
What exceptions did you get?
Compile errors or runtime errors?
Did yo play solo or in a group?
BTW, what important bufs sentries do give to other/all players?
For me it seems that Guardian Turret reduces damage if you stand near it. But you should be able to see if you stand in the shield to give you protection.
When doing it solo while playing as DH I can see the sentry counters. When I'm playing as Wiz and someone else does sentry it's really hard to see and I have to rely on the DH to make sure they put down guardian sentry. It's like the same concept as monk sanctuary but theres already a plug-in for that. Just need one for DH to make sure they are putting down guardian turret.
I see, from programmers point of view the plugin must do two things to work properly:
- find the guardian sentries: actor.SnoActor.Sno == ActorSnoEnum._dh_sentry_addsshield and draw indicator (circle) to show where they are, and
- check if the player is in the radius and have the guardian effect active: Hud.Game.Me.Powers.BuffIsActive(xxxxxx, y) and indicate it somehow.
I assume the Monk Sanctuary plugin works just it like that?
It should be pretty easy to test if the buff is active on yourself because it does not matter who placed the guardian sentry. Can be tested in solo easily.
But having other player sentries requires two players for testing it. But I guess this is the easier part of the code as this can be partially tested in solo (how the guardian sentry indicator shows on mini map or world map).
Maybe somebody that has done similar plugins should be able to do it?
I haven't seen any plugins for Demon Hunters or Sentries in these forums while browsing here.
[Gigi] PartyBuffPlugin ([INTERNATIONAL] [Gigi] PartyBuffPlugin) can show if Sentry is active, but there is now special icon for different sentry types.
Here's example how it shows on me.
First icon shows # active sentries I have, second icon shows that I stand within sentry buff limit (I guess).
DH Guardian Sentry - Album on Imgur
Here's my customization code.
You should comment line with "plugin.DisplayOnMe" as you are interested in other players buff in this case.
This is how much can be achieved with my knowledge without writing custom plugin for this very specific purpose.Code:Hud.RunOnPlugin<Gigi.PartyBuffPlugin>(plugin => { // https://www.ownedcore.com/forums/diablo-3/turbohud/turbohud-community-plugins/612963-international-gigi-partybuffplugin.html //define buffs you want to see on OTHER specific Classes ISnoPower[] onDH = { Hud.Sno.SnoPowers.DemonHunter_Sentry, }; //pass buffs to plugin -> apply them plugin.DisplayOnMe(onDH); plugin.DisplayOnClassExceptMe(HeroClass.DemonHunter, onDH); });
Thank you I will try it out!