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

Totemizer - A Totem Routine

Ok I will try that when I use it later. What range do you use for incendiary with faster casting?
 
I guess you mean Flame Totem? I've never tried it but play with a different number and see how well it works.
 
Yes flame totem sorry haha. Don't know all the skill names etc. Changed it to higher and seems to work better. Just need some logic to run after tossing them or something... or just better gear on my side. Need to get rid of the tabula.
 
I have no idea how to get a better logic for Kitting, what it can help is adding some summons or adding some cold snap traps.
 
It still spams the Flame totem even when i change it to any range possible. it even spams more than the example routine at the moment.
 
Last edited:
I just tried it out now and it is working without any problem. What range are you talking about?

Combat range : this is the same thing as example routine
MaxDistanceBetweenTargetAndTotem : is the range that is required, from an active totem to the current target, to recast a totem.

Have you tried with default values?
 
Last edited:
I just tried it out now and it is working without any problem. What range are you talking about?

Combat range : this is the same thing as example routine
MaxDistanceBetweenTargetAndTotem : is the range that is required, from an active totem to the current target, to recast a totem.

Have you tried with default values?

I have tried it with default values
I have tried it with changing the MaxDistanceBetweenTargetAndTotem to any i could think of, same as the Combat Range.
If i put the combat range too high the bot wouldn't function at all. But i see no difference in the bot performing differently on my end when i change any values. Can it be that i only am alllowed one totem for the time being?
 
I have tried it with default values
I have tried it with changing the MaxDistanceBetweenTargetAndTotem to any i could think of, same as the Combat Range.
If i put the combat range too high the bot wouldn't function at all. But i see no difference in the bot performing differently on my end when i change any values. Can it be that i only am alllowed one totem for the time being?

Yes, it only works for dual totem.

You shouldn't play single totem at all. There is not enough damage to just play single totem, what you can do is play with any other regular spell and have a totem supporting your damage, for that, use ExampleRoutine, you don't need to setup any key for your Totem, it will detect it automatically and use it.
 
Last edited:
Yes, it only works for dual totem.

You shouldn't play single totem at all. There is not enough damage to just play single totem, what you can do is play with any other regular spell and have a totem supporting your damage, for that, use ExampleRoutine, you don't need to setup any key for your Totem, it will detect it automatically and use it.

My mistake, i'm leveling a totem marauder so i only have acces to 1 totem untill i unlock that skill that lets me use 2. It's going pretty good overall using 1 totem and just leap slam. Will test out your Routine when i got the node for 2 totems. Thanks for that info!
 
I've found due to setting of max distance. It wants to keep two totems on it's target at all times. If you keep it set it low (max dist), it is going to spam totems.
 
Probably for the reason I stated on the previous post. Do you have Dual Totem? If you don't, it won't work.
 
Last edited:
Here's an updated version working with ExileBuddy BETA.

Known Issues

The current logic doesn't work so well against hard targets because it tries to Line of Sight monsters before casting totems( this also happens on live ) and causes you to expose too much and die.
What I'm trying to do is add a way to cast a totem in a place that has the line of sight of the monster that we want to attack(POS A) . So we only need to move until we have LOS for POS A then cast a totem. Here's a picture showing the possibilities for POS A.


Cast Range is the circle that includes all the points where I can cast a totem.

MaxDistBetweenTargetAndTotem is the max distance at where a totem can be in order to be able to hit a monster. This is userdefined on the CC config because it can change based on which totem you are using, its projectile speed if it is a projectile spell, or personal preferance.

The POS A possibilities are the intersection of those 2 circles.

LZT4QM5.jpg


If anyone has any idea how can I do this I would love to get that help. Thanks in advance.
 

Attachments

Last edited:
Here's an updated version working with ExileBuddy BETA.

Known Issues

The current logic doesn't work so well against hard targets because it tries to Line of Sight monsters before casting totems( this also happens on live ) and causes you to expose too much and die.
What I'm trying to do is add a way to cast a totem in a place that has the line of sight of the monster that we want to attack(POS A) . So we only need to move until we have LOS for POS A then cast a totem. Here's a picture showing the possibilities for POS A.


Cast Range is the circle that includes all the points where I can cast a totem.

MaxDistBetweenTargetAndTotem is the max distance at where a totem can be in order to be able to hit a monster. This is userdefined on the CC config because it can change based on which totem you are using, its projectile speed if it is a projectile spell, or personal preferance.

The POS A possibilities are the intersection of those 2 circles.

LZT4QM5.jpg


If anyone has any idea how can I do this I would love to get that help. Thanks in advance.
Heya,

This should help

Code:
var myLoc = LokiPoe.Me.Position;
                var bestTarget = CombatTargeting.Targets<Monster>().FirstOrDefault();
                int maxSkillDistance = 10;// change this with a skill distance
                var randomLocBetween = Utility.Random.Next(10,maxSkillDistance)
                Vector2i pBewteenToCast = Utility.CalculatePointAtDistanceBeforeEnd(myLoc, bestTarget, randomLocBetween);
 
Heya,

This should help

Code:
var myLoc = LokiPoe.Me.Position;
                var bestTarget = CombatTargeting.Targets<Monster>().FirstOrDefault();
                int maxSkillDistance = 10;// change this with a skill distance
                var randomLocBetween = Utility.Random.Next(10,maxSkillDistance)
                Vector2i pBewteenToCast = Utility.CalculatePointAtDistanceBeforeEnd(myLoc, bestTarget, randomLocBetween);

Thanks, I'll see what I can do with it.
 
That code doesn't vary much from what I've had before, I used to cast the totems based on

Code:
 LokiPoe.InGameState.SkillBarPanel.UseAt(_totemSlot, true, Utility.CalculatePointAtDistanceAfterStart(myPos, cachedPosition, cachedDistance - 3));

Which from my understanding it still "draws" a line between character's position and target, and picks a point anywhere on that lane based on the third argument, on your code it does before end point, in my code it does after start.

What I wanted to do is to be able to cast totems even though I had no LOS to my target(var canSee = ExilePather.CanObjectSee(LokiPoe.Me, pos);) which is usually used for other builds, if you can't see the target you need to move to him, as you are doing this you will eventually be able to see him, therefore cast whatever skill you want.

This type of algorithm would also help ranged characters not to facetank monsters. If you have a monster that is right behind an object, with the current DefaultRoutine logic it will walk towards that monster until it has LOS of him, which will end up being at melee range.

Maybe this explains it better.


xWEbVgB.png


Green circumference shows all the possible positions I can cast the totem.

Red circumference shows all the possible totem positions that can reach the target.

So if there was no obstacle I could just cast in whatever position inside the intersection of those 2 circumferences.

Since there is an obstacle it needs to be a position inside that intersection and have LOS to ME and MONSTER at the same time.

As shown as yellow in this pic

Dj6GoYk.png



It would be something like:

  • CC defines our bestTarget(MONSTER)
  • Function that finds a position that can:

  1. See ME
  2. See Monster
  3. Distance to ME < MaxRangeToCastTotem which is the highest distance that I can cast a totem.
  4. Distance to MONSTER < MaxDistanceBetweenTargetAndTotem which is the max distance at which a totem can attack the target
 
i like the idea of doing the idea but can u make it so it don't face tank everything and make it like place a totem and then run around the totem so it kills the target? sorry im pretty new to the bot :(
 
i like the idea of doing the idea but can u make it so it don't face tank everything and make it like place a totem and then run around the totem so it kills the target? sorry im pretty new to the bot :(

I wish I knew how.
 
I wish I knew how.
I think that's the only small thing lacking with exile buddy. Not really any combat routines for different builds. the standard works well for most skills. totems cyclone and summoner are a bit left out. There are some cut toget her things that work. I think thw totemizer roUtne is pretry good..
Thanks for helping with totem routine. I always enjoy making a mf totem char as can get lots of mf stats
 
Back
Top