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

Ignore enemies while Vaal Spark is active

Platoo

New Member
Joined
May 9, 2014
Messages
43
Reaction score
0
Hi,

I've been looking through the code of OldRoutine and think that I should add stuff to the 'Logic' method.
Now I want the bot to ignore all monsters while Vaal Spark is active and just rush through the map.

I thought of 2 solutions:
1) Add all monsters you 'see' to the blacklist so the monsters will be ignored. (MapRunner does this for ignore)
2) Set the Combat Range of OldRoutine to 0 while Vaal Spark is active.

Does anyone know which will work better and maybe help me out with the solution?

Thanks in advance!
 
1) This solution is not possible, ignoring mobs would result in a crazy backtrack fest or you'll lose efficiency
2) This is a possibility, tho 0 is not possible, 1 is. but this is not what you want, because you could encounter a specific mob you wouldn't even dare to hit and would crush/surround you.

I already told someone about this, it's a matter of just ignoring mobs with rarity < rare while the skill is active or the duration of it is still going.

You'll need to focus on :

- The casting of the spell (you need to keep track of the spell duration, and the last casting time, use a stopwatch)
- The target inclusion (ignore magic or lower, I wouldn't recommend passing by rare mobs)

Basically, to have a dynamic handling through the routine, when you setup the vaal spark slot, include the base spell duration into a var, so you can set stopwatch limit dynamically.

That's pretty much it, I've done it and it works. and it's amazingly fast Kappa
 
1) This solution is not possible, ignoring mobs would result in a crazy backtrack fest or you'll lose efficiency
2) This is a possibility, tho 0 is not possible, 1 is. but this is not what you want, because you could encounter a specific mob you wouldn't even dare to hit and would crush/surround you.

I already told someone about this, it's a matter of just ignoring mobs with rarity < rare while the skill is active or the duration of it is still going.

You'll need to focus on :

- The casting of the spell (you need to keep track of the spell duration, and the last casting time, use a stopwatch)
- The target inclusion (ignore magic or lower, I wouldn't recommend passing by rare mobs)

Basically, to have a dynamic handling through the routine, when you setup the vaal spark slot, include the base spell duration into a var, so you can set stopwatch limit dynamically.

That's pretty much it, I've done it and it works. and it's amazingly fast Kappa

Thanks for your response toNyx. I could make this solution myself in the 'Logic' method but only need to know how to change the target inclusion. Do have have a snippet for that, or point me into the right direction?

Thanks in advance!
 
When you open the oldroutine file, search for "Inclusion" you'll find the little method that gives the green signal to the routine to actually process targets.

in this part of the code you'll need to take care about the stopwatch state.
 
When you open the oldroutine file, search for "Inclusion" you'll find the little method that gives the green signal to the routine to actually process targets.

in this part of the code you'll need to take care about the stopwatch state.
Thanks worked out well! Had to use await Coroutines.FinishCurrentAction(true); to make sure the skill was casted properly but the rest went smooth.
 
When you open the oldroutine file, search for "Inclusion" you'll find the little method that gives the green signal to the routine to actually process targets.

in this part of the code you'll need to take care about the stopwatch state.
Nvm await Coroutines.FinishCurrentAction(true); doesn't seem to fix the issue. But if I use the same as the normal vaal skills it waits far to long. Could you explain why it waits 250 ms then doesn't wait for the action to finish and then waits another 1000ms?

Can't it be cast like any other skill without delay?

Edit: I solved it a different way. I don't use waits when casting the skill, but try to keep casting it till it works and in the timer I check if the skill isn't castable anymore, only then he should ignore all normals and magics for 6 seconds. Anyway thanks for your help!
 
Last edited:
Back
Top