Claaslexion
New Member
- Joined
- Jan 31, 2010
- Messages
- 77
- Reaction score
- 0
I was wondering how the holy paladun is doing in pve, raids and dungeons. I have a old holy pally that needs some playing 

If that makes no sense to you, All party members were within a 40yrd radius of me (player3 was right beside me)..the large numbers you see are suppose to be the distance (30f) but the detection I am using is giving huge numbers back, apologies for not picking it up sooner..[CLU TARGETING] 2.7.0: Target AREA MEMBER: Myself REASON: party healing: Avg: 10-80, 30yrds, count: 3 or 2
[CLU TARGETING] 2.7.0: player5 Max 145348, Current 72708, Defecit 72640, HealthPercent: 50, Distance from Myself: 1118.177
[CLU TARGETING] 2.7.0: player4 Max 148123, Current 117375, Defecit 30748, HealthPercent: 79, Distance from Myself: 341.1611
[CLU TARGETING] 2.7.0: Myself Max 170792, Current 130851, Defecit 39941, HealthPercent: 76, Distance from Myself: 0
[CLU TARGETING] 2.7.0: player3 Max 165479, Current 132781, Defecit 32698, HealthPercent: 80, Distance from Myself: 13.95291
[CLU TARGETING] 2.7.0: player2 Max 252387, Current 147385, Defecit 105002, HealthPercent: 58, Distance from Myself: 216.6065
[CLU SUCCEED] 2.7.0: Itson Distance: 33, Prayer of Healing, MaxHealth: 145348, CurrentHealth: 72708, Deficit: 72640, HealthPercent: 50
p.Location.Distance2DSqr(player.Location) < maxDistanceBetweenPlayers
p.Location.Distance2DSqr(player.Location) < maxDistanceBetweenPlayers * maxDistanceBetweenPlayers
// Holy Radiance
Healer.FindAreaHeal(a => true, 10, 80, 30f, (Me.IsInRaid ? 5 : 3),
Spells.CastSpell("Holy Radiance", a => HolyPower < 3 && Me.ManaPercent > 15, "Holy Radiance")),
can u tell me the routine / method / composite to have a look at?![]()
can u tell me the routine / method / composite to have a look at?
okay i think i found the bug
should beCode:p.Location.Distance2DSqr(player.Location) < maxDistanceBetweenPlayers
Code:p.Location.Distance2DSqr(player.Location) < maxDistanceBetweenPlayers * maxDistanceBetweenPlayers
most time your code is not kickin cause a distance of 8y is 64y (sqr -> square and not sqareRoot^^)
Found this in TargetBase.cs
private Composite FindAreaHealSubroutine(int minAverageHealth, int maxAverageHealth, float maxDistanceBetweenPlayers, int minUnits, string label)
haven't checked all the other Targetting Routines, but i think u did this mistake on other places too
That was fast! that was a bit of a Doh! moment.
yeah checked the files and took the one that i thought it would be the correct one^^ while waiting for answer
[CLU] 2.7.0: [Casting] Prayer of healing
[CLU TARGETING] 2.7.0: Target AREA MEMBER: xxxxxx REASON: party healing: Avg: 10-80, 30yrds, count: 3 or 2
[CLU TARGETING] 2.7.0: xxxxxx Max 168113, Current 103583, Defecit 64530, HealthPercent: 61, Distance from xxxxxx : 0
[CLU TARGETING] 2.7.0: vvvvvvv Max 165334, Current 121569, Defecit 43765, HealthPercent: 73, Distance from xxxxxx : 55.54219
[CLU TARGETING] 2.7.0: Myself Max 165028, Current 161076, Defecit 3952, HealthPercent: 97, Distance from xxxxxx : 60.1671
[CLU TARGETING] 2.7.0: vvvvvdfdsf Max 220856, Current 178061, Defecit 42795, HealthPercent: 80, Distance from xxxxxx : 578.404
Noticed indeed that my Priest was not using PoH at all, I manually popped it. Didn't mention it to you before. Not a big deal though, it's a 8 min CD so I don't want to pop it anyway at the last minute of a fight or so. Haven't noticed my Druid (Wild Growth) not doing it right though; it's doing a lot of Wild Growths...guys there is a serious flaw in the Party AoE healing distance detection I am working on it..this is why all the AoE heals (PoH, Wild Growth, Holy Radiance, etc) are not casting when they should
If that makes no sense to you, All party members were within a 40yrd radius of me (player3 was right beside me)..the large numbers you see are suppose to be the distance (30f) but the detection I am using is giving huge numbers back, apologies for not picking it up sooner..
should be fixed soon.
Noticed indeed that my Priest was not using PoH at all, I manually popped it. Didn't mention it to you before. Not a big deal though, it's a 8 min CD so I don't want to pop it anyway at the last minute of a fight or so. Haven't noticed my Druid (Wild Growth) not doing it right though; it's doing a lot of Wild Growths...
I especially like the enthusiasm and passion you put in this; it's really appreciated. Stormchasing seems to be a good help as well!
match.Location.Distance2DSqr(best.Location)
this is only a bug in your output
this again returns the SQUARE of the Distance, not the SQUAREROOTCode:match.Location.Distance2DSqr(best.Location)
[CLU TARGETING] 2.7.0: Target AREA MEMBER: Myself REASON: party healing: Avg: 10-80, 30yrds, count: 3 or 2
[CLU TARGETING] 2.7.0: Myself Max 165511, Current 103328, Defecit 62183, HealthPercent: 62, Distance from Myself: 0
[CLU TARGETING] 2.7.0: cccccc Max 149740, Current 114830, Defecit 34910, HealthPercent: 76, Distance from Myself: 13.8102561543524
[CLU TARGETING] 2.7.0: vvvvvv Max 142521, Current 142521, Defecit 0, HealthPercent: 100, Distance from Myself: 20.1233978581506
Just out of Curiosity, where are you located anyway? I notice when I'm going to bed, you're going to work (real life job).way too many beers tonight lol...time to put the coding goggles down![]()
way too many beers tonight lol...time to put the coding goggles down
ok thats better
Math.Sqrt(match.Location.Distance2DSqr(best.Location)...hic
match.Location.Distance2D(best.Location)
Just out of Curiosity, where are you located anyway? I notice when I'm going to bed, you're going to work (real life job).
Also right now, when you're talking about beers tonight, I just finished lunch (1:30pm)... hehe.
Ah, then I get it! Land of the kangaroo or something hehe. That's at least 9 timezones away from mine then hehe... it's about midnight at your place then. Explains why my midnight is your morning to go to workI come from a land down under![]()
[CLU] 2.7.0: [Casting] Prayer of healing
[CLU TARGETING] 2.7.0: Target PARTY 3 MEMBER: vvvvvvvvv REASON: party healing: Avg: 10-80, 30yrds, count: 3 or 2
[CLU TARGETING] 2.7.0: bbbbbb Max 266696, Current 179222, Defecit 87474, HealthPercent: 67, Distance from vvvvvvvvv : 0
[CLU TARGETING] 2.7.0: ccccccc Max 166739, Current 128187, Defecit 38552, HealthPercent: 76, Distance from vvvvvvvvv : 11.2041430576048
[CLU TARGETING] 2.7.0: ssssssss Max 165432, Current 129090, Defecit 36342, HealthPercent: 78, Distance from vvvvvvvvv : 14.8891780186252
[CLU TARGETING] 2.7.0: fdfdfd Max 186653, Current 152490, Defecit 34163, HealthPercent: 81, Distance from vvvvvvvvv : 4.28102211450124
[CLU TARGETING] 2.7.0: eeeeeee Max 153312, Current 130787, Defecit 22525, HealthPercent: 85, Distance from vvvvvvvvv : 1.33879911665658
Ah yes, this feature is enabled. Movement is working as intended. However, I think I should add that im using this CC farming low level mobs, and still it does not automatically target/attack these unless targeted _BY_ them, or _manually_ targeted by me..