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

Magisters' Terrace Instance

silversurfer

New Member
Joined
Mar 12, 2010
Messages
69
Reaction score
2
hello everyone,

has someone successfully made a profile for Magisters' Terrace Instance ?
i have massive problems with HB targeting mobs that are on a different level in the instance. so sometimes he tries to target mobs that are 20 yards below me and not the mobs that are 20 yards ahead of him.
i am not sure if it because of my CC, i use Convalesce, or if it is a HB problem.
 
This is a "minor" problem with the Honorbuddy core itself as it always choses the closest target matching your profile not thinking about the actual path you have to take to reach the mob ( This problem also occurs in 'depth-heavy' places like booty bay ), so as of now we will just have to wait until hopefully one day a dev will look into it.
 
a optional z-axis range would be a good fix, i mentioned that in a different thread.
 
im using the below code to calculate distance in IB and Khryptor to fix this issue

PHP:
private double pathDistance(WoWPoint p1, WoWPoint p2)
{
    WoWPoint[] array = Navigator.GeneratePath(p1, p2);
    
    double totalDist = 0;
    for (int i = 0; i < array.Length - 1; i++)
    {
        double dist = array[i].Distance(array[i + 1]);
        totalDist = totalDist + dist;
    }    
    
    return totalDist;
}
 
In your CC targeting code, add a ignore check (or preferably weight reduction)
Code:
Math.Abs(Me.Z - Mob.Z) > 10
Do you notice (from the log) if its the CC or HB core doing the targeting?

raphus's code is good, but it does mean you have to generate the full path to every mob. Depending on the distance and amount of edges, this could take some time.
 
Last edited:
I'm using pathDistance as a second check. Like Me.CurrentTarget.Distance < 30 && pathDistance(Me, Me.CurrentTarget) < 30. So it doesn't calculate the path everytime
 
Back
Top