WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Bug Reports (https://www.wowinterface.com/forums/forumdisplay.php?f=90)
-   -   Error on Switching to duel spec (https://www.wowinterface.com/forums/showthread.php?t=33431)

Vanhealen 06-24-10 01:29 PM

Error on Switching to duel spec
 
I just encountered this today when switching to my other spec and got this error .....

Message: Interface\AddOns\nUI\Bars\nUI_Button.lua:995: attempt to compare number with string
Time: 06/24/10 12:23:50
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]: in function `ActionButton_Update'
Interface\FrameXML\ActionButton.lua:360: in function `ActionButton_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals: (*temporary) = "PVP"
(*temporary) = 17339.422
(*temporary) = "equipmentset"
(*temporary) = "PVP"
(*temporary) = nUI_TopRightBar_Button12 {
eventsRegistered = true
feedback_action = 60
action = 60
rangeTimer = 0.13299999833107
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 = 60
button = nUI_TopRightBar_Button12 {
eventsRegistered = true
feedback_action = 60
action = 60
rangeTimer = 0.13299999833107
flashtime = 0
bindAction = <function> defined @Interface\AddOns\nUI\Bars\nUI_ButtonBar.lua:718
flashing = 0
0 = <userdata>
}
type = "equipmentset"
id = "PVP"
GetActionInfo = <function> defined =[C]:-1
cooldown = nil
Cooldowns = <table> {
84 = <table> {
}
6948 = <table> {
}
}
cdc = nil
cdc2 = nUI_TopRightBar_Button12_CDCLabel {
r = 1
0 = <userdata>
value = "30m"
g = 1
b = 0
}
overlay = nUI_TopRightBar_Button12_ActionOverlay {
Timers = <table> {
}
b = 1
elapsed = 0
duration = 1800
abCooldown = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:660
button = nUI_TopRightBar_Button12 {
}
icon = nUI_TopRightBar_Button12Icon {
}
is_oom = false
r = 1
bindingType = "MULTIACTIONBAR2BUTTON"
actionID = 12
layers = <table> {
}
nUI_CachedClearAllPoints = <function> defined =[C]:-1
updateUsable = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:753
is_cdc = true
cdc_start = 17339.422
action = 60
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
is_oor = false
cdc_duration = -1
id = 6948
0 = <userdata>
nUI_CachedSetAllPoints = <function> defined =[C]:-1
done = false
nUI_CachedSetPoint = <function> defined =[C]:-1
start = 17325.127
is_flashing = false
actionType = "nUI_TOPRIGHTBAR"
nUI_init = true
}
start = 17339.422
duration = -1
now = 17339.422
GetTime = <function> defined =[C]:-1
nUI = <table> {
info_frame = nUI_InfoPanelSelector {
}
SpellStatus = <table> {
}
realmName = "Gurubashi"
TableSort = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:749
SkinnedFrames = <table> {
}
registerScalableFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:420
TableInsertByValue = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:769
setScale = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:596
debug = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:850
initActionButton = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:472
unregisterSkinnedFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:583
TableRemoveByValue = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:720
lastSpell = 149
setConsoleVisibility = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:788
FrameList = <table> {
}
chat_frame = nUI_ChatFrame {
}
hScale = 0.53333336980653
scale = 0.53333336980653
vScale = 0.45599998960514
unregisterScalableFrame = <function> defined @Interface\AddOns\nUI\Main

Vanhealen 06-24-10 01:34 PM

Actually scratch that, its happening when i switch my gear sets out.

Xrystal 06-24-10 01:34 PM

Sounds like a glitch in the cooldown display if the spell no longer exists in your arsenal.

Can you list your spells/abilities on the 12th button. I can't remember which bar is which so list all the 12th button abilities and I am sure one at least will be a spec specific ability that no longer exists in the new talent spec :D

I've not seen it myself recently but you're not the only one that has reported it :D

Vanhealen 06-24-10 01:51 PM

2 Attachment(s)
Yea it seems to happen if i put any of my equipment sets in that 12th slot.

http://www.wowinterface.com/forums/a...1&d=1277408956

But the more i mess with it now it looks like it has that equipment set on cool down, or whatever set i put there. it doesn't do it to spells.

http://www.wowinterface.com/forums/a...1&d=1277408956

Xrystal 06-24-10 02:35 PM

Ah that could explain why some people get the problem and others don't. I'm guessing that when nUI checks wow to see what the cooldown it is it is returning a value not expected and thus dealt with in the wrong way.

For now, try to avoid using the gearsets on the toolbars and just use the character frame to select them. At least until Scott gets a chance to sort stuff out.

spiel2001 06-24-10 03:54 PM

Yeah... that's a good thing to know as I work on nUI6, but I'm not going to try and backfill a fix into nUI5 for that.

Very good to know though.


All times are GMT -6. The time now is 04:19 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI