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

HB and the GCD Atrocity

Zacharybinx34

New Member
Joined
May 11, 2011
Messages
672
Reaction score
6
So I have been working with the creator of "Dunatank's Warrior CC" and we have run into a problem that sits at the heart of Honor Buddies Core.

The Global Cooldown is a fixed factor - it is not adjusted by haste at all. So when doing rotations there is quite frequently a .2 - .5 second delay.

This is a huge problem for lazy raiders who's dps is automatically suffering from this. For example, Bloodthrist comes off CD, but it just sits there without being pressed for .2-.5 seconds.

What can be done about this?
 
Use just WoWSpell.Cooldown instead of SpellManager.CanCast() for those critical spells.

It might spam casting while GCD, but honestly most players do that when playing by hand (including me) :)
 
Last edited:
that's not the point strix :)
why don't you use SpellManager.GlobalCooldownLeft if SpellManager.Cooldown is failing you?
you can easily set that global cooldown left to 0.2 or 0.5 sec or whatever in your cheks
 
It's GCD check, not SpellManager.Cooldown that fails in HB.
 
Code:
public static bool CanCast(WoWSpell spell, WoWUnit target, bool checkRange, bool checkMoving, bool accountForLagTolerance);

try turning account for lag tolerance to ture when checking your .CanCast and see if that makes a difference for you.
 
....... spellmanager.cooldown return if you are or not in GCD.. and that's exactly the check that's failing them.....
 
Code:
public static bool CanCast(WoWSpell spell, WoWUnit target, bool checkRange, bool checkMoving, bool accountForLagTolerance);

try turning account for lag tolerance to ture when checking your .CanCast and see if that makes a difference for you.

If I understood what ture meant I might have.
 
zachary it would help if you can explein us how do you check in your CC before you cast a spell.
CodenameG was suggesting that if you do something like
new decorator(ret=>Spellmanager.Cancast("Slam",Me.Currenttarget),new Action(delegate{spellmanager.Cast("slam",Me.currenttarget);}))
you can try something like
new decorator(ret=>Spellmanager.Cancast("Slam",Me.Currenttarget,true,true,true),new Action(delegate{spellmanager.Cast("slam",Me.currenttarget);}))
Instead I was suggesting something like
new decorator(ret=>Spellmanager.HasSpell("Slam") && !Spellmanger.Spells["Slam"].Cooldown && Me.GlobalCooldownLeft.TotalMilliseconds<200,new Action(delegate{spellmanager.Cast("slam",Me.currenttarget);}))
Knowing what you do to cast a spell in your CC would realy help, as you can see
 
zachary it would help if you can explein us how do you check in your CC before you cast a spell.
CodenameG was suggesting that if you do something like

you can try something like

Instead I was suggesting something like

Knowing what you do to cast a spell in your CC would realy help, as you can see

I'm just helping with Dunkatanks Warrior CC.
I'm not a coder. I'm merely addressing problems he's run into.

His cc is posted in the warrior forums though.
 
I'm sorry I'm not going to look at the code of his CC just to help you out :) if you want help, bring information :)
BTW just out of curiosity, how do you adress problem with no coding?
 
Back
Top