This is NOT ready for the general public unless the general public isn't retarded. If you know how to play a lock, know how to work with cc's, please try this and give me feedback.
Submit bug reports like so:
- Your Spec
- Your Level
- Your Log
- What happened
- The situation in which it happened (so I can recreate it)
- Any other details that you think may help me fix it
Any issues NOT submitted like this won't even be looked at by me.
It looks like that in this method private void PetAttack is something wrong,
as it loops in it and never comes back.
So you get that error, that your lock is never casting again.
I put there some return; into and now for me it works and fights its targets in IB![]()
private void PetAttack(string logPrefix, WoWUnit mob, bool WaitForTargetMatch)
{
if (Settings.UsePetAttack && Me.GotAlivePet)
{
// Log
slog(logPrefix + ": Pet Attack: " + mob.Name);
// Pet attack, set raid icon
if (Settings.UseRaidIcons)
{
Lua.DoString("PetAttack(); if (GetRaidTargetIndex('target') ~= 7) then SetRaidTarget('target', 7); end");
}
else
{
Lua.DoString("PetAttack()");
}
// Wait for HB to update
if (WaitForTargetMatch)
{
while (Me.GotAlivePet && mob.IsAlive && Me.Pet.CurrentTargetGuid != mob.Guid && !Me.Dead)
{
Thread.Sleep(200);
}
}
}
}
Mine doesn't use Soul Harvest.
Can you add it, please?
Edit: And change the range to 40 yards?
I will add a setting to allow you to configure your own range. I prefer 29 yards so that it doesn't get stuck trying to cast on a mob that is running away.
Soul Harvest heals you... what's up with range?![]()
Ski, sorry, I ran into a problem. Here's my log. I can monitor the thread from my phone, but wont be at my botting computer for a while, it works GREAT in instances when I tried it, but when it started grinding, welll....View attachment 11281
private bool RAFLeaderTargetIsValid
{
get
{
// !RaFHelper.Leader.IsTargetingMyPartyMember && !RaFHelper.Leader.IsTargetingMyRaidMember && !RaFHelper.Leader.IsTargetingMeOrPet
if (InRAF && RaFHelper.Leader.CurrentTargetGuid != 0 && RaFHelper.Leader.CurrentTarget.IsValid && RaFHelper.Leader.CurrentTarget.IsAlive && !RaFHelper.Leader.CurrentTarget.IsFriendly)
{
return true;
}
else
{
return false;
}
}
}
I also noticed that the bot keeps spamming Immolate on mobs that are immune to it.
Are you in a group while grinding? Can you give me the profile so I can recreate?
There is no way to check for mob immunities within HB yet, so I can't do anything about it.