Hey ski, I just noticed something. It looks like your logic for your Min Adds for SoC and Min Adds for AE are off. Instead of those values being the minimum, they are acting like the minimum - 1.
Meaning with them set at 3 each it won't actually use SoC until there are 4 adds.
[21:41:42:171] System.InvalidOperationException: Cannot read a descriptor on an invalid object.
Styx.WoWInternals.WoWObjects.WoWObject.GetStorageField[T](UInt32 field)
Styx.WoWInternals.WoWObjects.WoWUnit.GetStorageField[T](a1 field)
Styx.WoWInternals.WoWObjects.WoWUnit.get_CurrentTargetGuid()
Styx.Bot.CustomClasses.skiWarlock.get_RAFLeaderTargetIsValid() d:\Games\Bots\HonerBuddy2.0.0.3202\CustomClasses\skiWarlock\skiWarlock.cs: 3173
Styx.Bot.CustomClasses.skiWarlock.Combat() d:\Games\Bots\HonerBuddy2.0.0.3202\CustomClasses\skiWarlock\skiWarlock.cs: 938
Bots.Grind.LevelBot.a8(Object A_0)
TreeSharp.Action.RunAction(Object context)
TreeSharp.Action.a.a()
TreeSharp.Composite.Tick(Object context)
TreeSharp.Sequence.a.b()
{ "Drakkari Frenzy", 29834 },
ski add that to your list of ignore mobs. they are the fish in Gundrak.
{ "Drakkari Frenzy", 29834 },
ski add that to your list of ignore mobs. they are the fish in Gundrak.
It works excellently,but sometimes it blocks.
Code:[21:41:42:171] System.InvalidOperationException: Cannot read a descriptor on an invalid object. Styx.WoWInternals.WoWObjects.WoWObject.GetStorageField[T](UInt32 field) Styx.WoWInternals.WoWObjects.WoWUnit.GetStorageField[T](a1 field) Styx.WoWInternals.WoWObjects.WoWUnit.get_CurrentTargetGuid() Styx.Bot.CustomClasses.skiWarlock.get_RAFLeaderTargetIsValid() d:\Games\Bots\HonerBuddy2.0.0.3202\CustomClasses\skiWarlock\skiWarlock.cs: 3173 Styx.Bot.CustomClasses.skiWarlock.Combat() d:\Games\Bots\HonerBuddy2.0.0.3202\CustomClasses\skiWarlock\skiWarlock.cs: 938 Bots.Grind.LevelBot.a8(Object A_0) TreeSharp.Action.RunAction(Object context) TreeSharp.Action.a.a() TreeSharp.Composite.Tick(Object context) TreeSharp.Sequence.a.b()
What do you mean blocks?
Hey ski,
Can you please add in a toggle variable for the on-the-fly immunity check code? Not the "ignore mob" list...
Reason being is that while I like the concept of the code, it has ended up causing more issues for me then not. Every time a mob (generally bosses) does something to temporarily block damage, the bot ends up unable to cast a host of spells for the remainder of the fight for no good reason.
So if there was a variable that I could toggle to "false" to turn it off, that would allow people to continue using it (even myself) in most situations.
Thanks.
private bool CanCastOn(string spell, WoWUnit unit)
if (SpellManager.HasSpell(spell))
{
if (unit != null && ImmunityMap.ContainsKey(SpellManager.Spells[spell].School) && ImmunityMap[SpellManager.Spells[spell].School].Contains(unit.Entry))
{
rlog("Unit is immune to " + spell + ". I can't cast it!");
return false;
}
}
Will do. In the meantime, do a search in the code for:
Code:private bool CanCastOn(string spell, WoWUnit unit)
and comment out this:
Code:if (SpellManager.HasSpell(spell)) { if (unit != null && ImmunityMap.ContainsKey(SpellManager.Spells[spell].School) && ImmunityMap[SpellManager.Spells[spell].School].Contains(unit.Entry)) { rlog("Unit is immune to " + spell + ". I can't cast it!"); return false; } }
THEY RUINED WARLOCKS .... IM SO PISSED!?!?! All spells nerf'd by 12%! I was smashing hardcore and was fucking @ 1903 DPS on a boss in The Violet Hold -- MAX?! :-\ WTF! (@ lvl 77)
What? That didn't happen.
Edit: Nevermind, I see it in the cataclysm beta notes. That's ridiculous.
Well, not only that, but they also screwed around with the meta gems. Now, as for the 3% extra crit damage, the requirement is "Must have more blue gems than red." I've completely replaced all red gems with blue and my meta still hasn't activated. lol
God, Blizzard can be retarded sometimes.
What? That didn't happen.
Edit: Nevermind, I see it in the cataclysm beta notes. That's ridiculous.