What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Plugin] Trinity Fork (Kite/Avoidance)

Edit: Also issues using the channeling pylons, it use them. But for some reason it gets to quick or fast or something it just tries to shoot but nothing shoots out.

I've got the same problem. But after giving this bot multiple tries, even when I got it to work after switching smokescreen out with Vault, I deleted it again. It's simply just not good enough for me.
I die too much in mobs AoE, also against Grotesque mob when they explode, or map damage. It often vaults into a whole new pack of mobs when avoiding another, which also causes me many deaths.

I can't proceed to more than Grift 37 max, cause I simply run out of time due to that I either die too much, or it is killing too slowly.
 
My main issue with the routine right now is a major drop in TPS around doors. This is really bad in act3/5 type levels where there are multiple doors, and if there is avoidance to be done while shooting into these doors or standing in them, I will get huge 100-700ms delays for each avoidance (which is death lol)

I've noticed a lot of the same Cael. Try putting vault only out of combat on and it will help a lot. When he fixes smoke screen to work that will be the best option I think, it works out wayyy better. Regardless of how it is doing, is the default trinity really working better for you? Even with the bugs this one seems a lot more consistent.

For grotesque mobs you can go in the avoidance file in Trinity/UI/Combat and set the max to 60 instead of 30 then raise up the avoidance sliders in the dh tab of the bot and that seemed to help a bunch.

I've updated my sentry logic to the following to place turrets 40 units from the target (zei's dmg on each turret is based on turret to target, not player to target so putting them under the target is a waste)
Location: Trinity\Combat\Abilities\DemonHunterCombat
Code:
// Sentry Turret
            if (!Player.IsIncapacitated && CanCast(SNOPower.DemonHunter_Sentry, CanCastFlags.NoTimer) && TargetUtil.AnyMobsInRange(65))
            {
                if (Trinity.PlayerOwnedDHSentryCount < _maxSentryCount)
                {	
					Vector3 vNewSentryTarget = MathEx.CalculatePointFrom(Player.Position, CurrentTarget.Position, 40f);
					return new TrinityPower(SNOPower.DemonHunter_Sentry, 55f, vNewSentryTarget);
                }
            }
I would prefer if it dropped one on the target for the slow/trapped proc instantly but I cant figure it out yet, it doesn't seem to recognize the actor (or i'm doing it wrong is more likely) but it still works for my polar stations as they shoot the frost elemental arrows out anyhow at that range.

Ive also added logic to some skills to avoid reflect damage. You can swap this code into any skill to make it automatically shoot the opposite direction when reflect is up. Im sure there is a 100% better way to implement this for every skill, but im a noob and this works lol.
Code:
            // Cluster Arrow
            if (CanCast(SNOPower.DemonHunter_ClusterArrow))
            {
			if (CurrentTarget.MonsterAffixes.HasFlag(MonsterAffixes.ReflectsDamage)){
				Vector3 vNewClusterTarget = MathEx.CalculatePointFrom(CurrentTarget.Position, Player.Position, -55f);
				return new TrinityPower(SNOPower.DemonHunter_ClusterArrow, 55f, vNewClusterTarget);
			}
			else
                	return new TrinityPower(SNOPower.DemonHunter_ClusterArrow, 55f, CurrentTarget.Position);
            }
 
Always nice with some good updates from you DB User, I guess I could give this a try. How far does your bot allow your character to go in Grifts, after you made those changes?
 
Where my trials stop gives me a 37/38 key most of the time and it clears those a pretty good amount of the time. I have seen it ahead of the clock by a good margin on up to a 41, but I have never seen it clear over a 40 within the time. It does a decent job at finishing those higher ones eventually though. I get a lot of rift fails due to door TPS lag or just getting fk'd with bad mobs right when you enter a level.

What are you clearing with the normal routine vs this one?
 
On the normal routine it could clear 36-37, with this about the same. But now I installed this again, and added the changes you made, so we'll see. :)
 
Also, keep the following settings UNCHECKED

Try to pick up health globes
Give higher priority to health globes
Give higher priority to chests
Give higher priority to shrines

those seem to really mess with the kiting and often cause the random 'dive into a pack' effect.
 
Right now it's doing a 41 Grift and it still dies a lot on trash mobs. Like Excorcists and Moonclan Impalers, also Frozen Pulse seems to be a problem.

But I guess 41 is quite high, and it's acceptable it does a lot on that?
 
41 is quite high for a bot to be doing in my opinion, how far have you cleared by hand?

You also have to think about the fact that DH are 99% glass cannon right now as well. On top of that, with vault out of combat only checked we lose are only mitigation as well, when smoke screen is fixed it uses it very well for avoidance and that will help a bunch for a lot of those affix's that are a pain right now.
 
Well considering people can solo up to around tier 52.

Tbh I haven't really manually soloed, so I don't know if the bot is actually better than me. But I seem to do great in group Grifts, going up to around 46 so far.
 
I've updated my sentry logic to the following to place turrets 40 units from the target (zei's dmg on each turret is based on turret to target, not player to target so putting them under the target is a waste)
Location: Trinity\Combat\Abilities\DemonHunterCombat
Code:
// Sentry Turret
            if (!Player.IsIncapacitated && CanCast(SNOPower.DemonHunter_Sentry, CanCastFlags.NoTimer) && TargetUtil.AnyMobsInRange(65))
            {
                if (Trinity.PlayerOwnedDHSentryCount < _maxSentryCount)
                {	
					Vector3 vNewSentryTarget = MathEx.CalculatePointFrom([B][COLOR="#FF0000"]CurrentTarget.Position, Player.Position, 40f[/COLOR][/B]);
					return new TrinityPower(SNOPower.DemonHunter_Sentry, 55f, vNewSentryTarget);
                }
            }

You need to switch the player pos & target pos !
edit : and add a line of sight check for the new target > && NavHalper.ObjectIsInLosOfPoint(vNewSentryTarget, CurrentTarget)

Thanks all for report, i work on a new version right now. db user, i have to look at this :)
(sry english)
 
Last edited:
But I don't know if my DPS is just too low for these high rifts, which could be why it also kills too slow. I'm using multishot and got 1,41 mill DPS unbuffed.
 
Same, multishot and bot close 43/44 max :D really fat
 
But I can't wrap my head around why it many times run into Mobs AoE, or Grotesque mobs exploding and dies, when it's set to keep a distance from these?
 
You need to switch the player pos & target pos !
edit : and add a line of sight check for the new target > && NavHalper.ObjectIsInLosOfPoint(vNewSentryTarget, CurrentTarget)

Thanks all for report, i work on a new version right now. db user, i have to look at this :)
(sry english)

I am not good with C# where would you add the NavHelper.ObjectIsInLosOfPoint?
 
How is the kite working for WD ? Im having issues with mine, usingh your settings and downloaded version from your Git. The bot does not kite or try to avoid dmg, so is it on my half or the plugin not ready for WD?
 
it wont go past demonic furnace walks 2 feet then vaults back, is there any solution for this problem?
 
also when it picks up conduit shrine it will kite mobs :P



+ not moving from green aids puddles
efgJ1LP.jpg




its not even clearing grift 33 :S
 
Last edited:
You need to switch the player pos & target pos !
edit : and add a line of sight check for the new target > && NavHalper.ObjectIsInLosOfPoint(vNewSentryTarget, CurrentTarget)

Thanks all for report, i work on a new version right now. db user, i have to look at this :)
(sry english)

Ty for the LOS check, I am not sure about switching the player and target though, I want it 40f from the target not 40f from me which it currently does :)

Thanks for checking into it! I really dont know how you get 43/44, im pretty damn geared lol
 
Back
Top