Thread Tools Display Modes
Unread 05-27-10, 03:32 PM   #1
Raulfinn
A Murloc Raider
Join Date: Jul 2009
Posts: 7
Dual-spec bar's error

when ever i swap to my second spec i get this error:

Message: Interface\AddOns\nUI\Bars\nUI_Button.lua:995: attempt to compare number with string
Time: 05/27/10 16:25:21
Count: 1
Stack: Interface\AddOns\nUI\Bars\nUI_Button.lua:995: in function `updateCooldown'
Interface\AddOns\nUI\Bars\nUI_Button.lua:680: in function `abCooldown'
Interface\AddOns\nUI\Bars\nUI_Button.lua:386: in function <Interface\AddOns\nUI\Bars\nUI_Button.lua:377>
[C]: in function `CooldownFrame_SetTimer'
Interface\FrameXML\ActionButton.lua:348: in function `ActionButton_UpdateCooldown'
Interface\FrameXML\ActionButton.lua:197: in function <Interface\FrameXML\ActionButton.lua:163>
[C]: ?
[C]: in function `ActionButton_Update'
Interface\FrameXML\ActionButton.lua:360: in function `ActionButton_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals: (*temporary) = "Boom"
(*temporary) = 451393.76
(*temporary) = "equipmentset"
(*temporary) = "Boom"
(*temporary) = nUI_LeftUnitBar_Button2 {
eventsRegistered = true
feedback_action = 26
action = 26
rangeTimer = 0.13399999570102
flashtime = 0
bindAction = <function> defined @Interface\AddOns\nUI\Bars\nUI_ButtonBar.lua:718
flashing = 0
0 = <userdata>
}
(*temporary) = "action"
(*temporary) = "attempt to compare number with string"
action = 26
button = nUI_LeftUnitBar_Button2 {
eventsRegistered = true
feedback_action = 26
action = 26
rangeTimer = 0.13399999570102
flashtime = 0
bindAction = <function> defined @Interface\AddOns\nUI\Bars\nUI_ButtonBar.lua:718
flashing = 0
0 = <userdata>
}
type = "equipmentset"
id = "Boom"
GetActionInfo = <function> defined =[C]:-1
cooldown = nil
Cooldowns = <table> {
6948 = <table> {
}
35 = <table> {
}
36 = <table> {
}
}
cdc = nil
cdc2 = nUI_LeftUnitBar_Button2_CDCLabel {
r = 1
0 = <userdata>
value = "12m"
g = 1
b = 0
}
overlay = nUI_LeftUnitBar_Button2_ActionOverlay {
Timers = <table> {
}
b = 1
nUI_CachedSetAllPoints = <function> defined =[C]:-1
duration = 1800
abCooldown = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:660
button = nUI_LeftUnitBar_Button2 {
}
icon = nUI_LeftUnitBar_Button2Icon {
}
is_oom = false
r = 1
bindingType = "MULTIACTIONBAR3BUTTON"
actionID = 2
layers = <table> {
}
nUI_CachedClearAllPoints = <function> defined =[C]:-1
updateUsable = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:753
is_cdc = true
cdc_start = 451393.76
action = 26
updateHotkeys = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:691
updateCooldown = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:947
is_usable = true
onUpdate = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:873
nUI_CachedSetPoint = <function> defined =[C]:-1
cdc_duration = -1
id = 6948
elapsed = 0
done = false
0 = <userdata>
is_oor = false
start = 450314.648
is_flashing = false
actionType = "nUI_LEFTUNITBAR"
nUI_init = true
}
start = 451393.76
duration = -1
now = 451393.76
GetTime = <function> defined =[C]:-1
nUI = <table> {
lastSpell = 219
info_frame = nUI_InfoPanelSelector {
}
SpellStatus = <table> {
}
playerName = "Denaian"
scale = 0.41666667048323
realmName = "Arygos"
TableSort = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:749
hScale = 0.41666667048323
framerate = 60.240957598838
unregisterScalableFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:455
SkinnedFrames = <table> {
}
UnitPanels = <table> {
}
registerScalableFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:420
Cooldowns = <table> {
}
TableInsertByValue = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:769
vScale = 0.40000001831948
configButtons = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:199
setScale = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:596
BlizUI = nUI_BlizUI {
}
registerSkinnedFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:555
initActionButton = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:472
unregisterSkinnedFrame = <function> define

thats error 1 of 14
if i clear the error & hit any button it loads the same 14 errors again.
if i /rl it works fine, but if i swap back to main spec then to second again, error returns.
It did it in .19, updated to .20 & still does it
Going to check my other dual-spec toons now & will post edit if it happens to them also. & if u want i can post all 14 loged errors

*edit* tested CD on other toons & no error, only happens on druid, with or with out abilitys on CD

Last edited by Raulfinn : 05-27-10 at 03:40 PM. Reason: CD & alts test
Raulfinn is offline  
Unread 05-27-10, 03:36 PM   #2
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,034
Hmm, first guess, as I never had that problem myself, is that you had a talent specific cooldown active and when it tried to update it, it had problems because it no longer existed. Theoretically that is. I will have to see if I can get that timed right myself next time I do a switch around spec.
__________________
Xrystal is offline  
Unread 05-27-10, 03:49 PM   #3
Raulfinn
A Murloc Raider
Join Date: Jul 2009
Posts: 7
just went & swaped specs several times on each of my alts & came back to druid, gave me error 1st time i swaped to offspec, went back to main, loged out & back onto druid & swaped to offspec & no error, swaped spec about 10 times & no error, loged out & swaped and no error again... frickn ghost errors ><
Raulfinn is offline  
Unread 05-27-10, 05:59 PM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I think Xrystal hit the nail on the head... there's an issue in the action bar dealing with talent spec swapping with respect to cooldowns. nUI is, technically, ignorant of dual spec and leaves it all to the WoW engine... but that blows up the cooldown timers in some cases.

I'll be fixing it in nUI6 but likely not in nUI5 and it requires too much action bar recoding.
__________________

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 05-27-10, 06:44 PM   #5
Raulfinn
A Murloc Raider
Join Date: Jul 2009
Posts: 7
was getting the error with nothing on cd though
Raulfinn is offline  
Unread 05-28-10, 06:33 AM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Understood -- but that does not alter the fact that nUI is internally tracking all the spells looking for cooldowns.
__________________

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  
 

Go BackWoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Dual-spec bar's error

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