Thread Tools Display Modes
Unread 12-14-10, 01:17 PM   #1
Belechannas
A Warpwood Thunder Caller
Join Date: May 2010
Posts: 86
Cooldown bar bug-fix

I noticed that the Survey (Archaeology) skill was showing up on the HUD c/d bar for all of my toons...except one, the Warlock. HUD alerts when it went off c/d were also working for everybody but the Warlock.

I double-checked the command-line settings, and everything seemed to be OK. The other couple skills with c/d's that he regularly uses seemed to be working fine as well.

To cut to the chase, because of the addition of "fly-out" items for certain classes 4.0.1 (Warlocks being one, Hunters and Mages being the other two I can think of), the logic which scans the spellbook and fills the list used by the c/d bar exits pre-maturely - any spells (of which Survey is one example) that come after a fly-out will not be scanned and won't behave properly in the c/d bar.

The attached file (which goes in nUI/Bars) has a fairly straightforward fix to the spellbook scanning logic and seems to work as intended.
Attached Files
File Type: lua nUI_CooldownBar.lua (32.1 KB, 546 views)
Belechannas is offline  
Unread 12-14-10, 02:07 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Thank you for that fix Belechannas.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
spiel2001 is offline  
Unread 12-14-10, 02:54 PM   #3
Darkwithin
A Kobold Labourer
Join Date: Dec 2010
Posts: 1
EDIT : nevermind, someone allready brought it up.

thanks!

Last edited by Darkwithin : 12-14-10 at 04:58 PM.
Darkwithin is offline  
 

Go BackWoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Cooldown bar bug-fix

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off