WoWInterface

WoWInterface (http://www.wowinterface.com/forums/index.php)
-   nUI: Bug Reports (http://www.wowinterface.com/forums/forumdisplay.php?f=90)
-   -   Dual-spec bar's error (http://www.wowinterface.com/forums/showthread.php?t=32783)

Raulfinn 05-27-10 03:32 PM

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

Xrystal 05-27-10 03:36 PM

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.

Raulfinn 05-27-10 03:49 PM

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 ><

spiel2001 05-27-10 05:59 PM

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.

Raulfinn 05-27-10 06:44 PM

was getting the error with nothing on cd though

spiel2001 05-28-10 06:33 AM

Understood -- but that does not alter the fact that nUI is internally tracking all the spells looking for cooldowns.


All times are GMT -6. The time now is 06:13 PM.

vBulletin © 2014, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC