Thread Tools Display Modes
Unread 01-22-12, 07:13 AM   #1
mowzzia
A Murloc Raider
Join Date: Aug 2009
Posts: 7
Unhappy odd spec changing error

When changing spec's on my shaman(lvl 85) I seem to get this LUA about 50% of the time(100% if im in orgrimmar, oddly enough):

Message: Interface\AddOns\nUI\Bars\nUI_Button.lua:1004: attempt to compare number with string
Time: 01/22/12 14:06:24
Count: 569
Stack: Interface\AddOns\nUI\Bars\nUI_Button.lua:1004: in function `updateCooldown'
Interface\AddOns\nUI\Bars\nUI_Button.lua:941: in function `onUpdate'
Interface\AddOns\nUI\Bars\nUI_Button.lua:373: in function <Interface\AddOns\nUI\Bars\nUI_Button.lua:368>
[C]: in function `ActionButton_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals: (*temporary) = "raid dps"
(*temporary) = 4151.91
(*temporary) = "equipmentset"
(*temporary) = "raid dps"
(*temporary) = nUI_BottomRightBar_Button2 {
0 = <userdata>
feedback_action = 110
action = 110
bindAction = <function> defined @Interface\AddOns\nUI\Bars\nUI_ButtonBar.lua:721
flashing = 0
UpdateTooltip = <function> defined @Interface\FrameXML\ActionButton.lua:568
eventsRegistered = true
rangeTimer = 0.15999999716878
FlyoutBorder = nUI_BottomRightBar_Button2FlyoutBorder {
}
FlyoutBorderShadow = nUI_BottomRightBar_Button2FlyoutBorderShadow {
}
flashtime = 0
FlyoutArrow = nUI_BottomRightBar_Button2FlyoutArrow {
}
icon = nUI_BottomRightBar_Button2Icon {
}
cooldown = nUI_BottomRightBar_Button2Cooldown {
}
}
(*temporary) = "action"
(*temporary) = "attempt to compare number with string"
action = 110
button = nUI_BottomRightBar_Button2 {
0 = <userdata>
feedback_action = 110
action = 110
bindAction = <function> defined @Interface\AddOns\nUI\Bars\nUI_ButtonBar.lua:721
flashing = 0
UpdateTooltip = <function> defined @Interface\FrameXML\ActionButton.lua:568
eventsRegistered = true
rangeTimer = 0.15999999716878
FlyoutBorder = nUI_BottomRightBar_Button2FlyoutBorder {
}
FlyoutBorderShadow = nUI_BottomRightBar_Button2FlyoutBorderShadow {
}
flashtime = 0
FlyoutArrow = nUI_BottomRightBar_Button2FlyoutArrow {
}
icon = nUI_BottomRightBar_Button2Icon {
}
cooldown = nUI_BottomRightBar_Button2Cooldown {
}
}
type = "equipmentset"
id = "raid dps"
GetActionInfo = <function> defined =[C]:-1
cooldown = nil
Cooldowns = <table> {
2894 = <table> {
}
77472 = <table> {
}
2008 = <table> {
}
556 = <table> {
}
16188 = <table> {
}
51514 = <table> {
}
57994 = <table> {
}
98008 = <table> {
}
8042 = <table> {
}
8056 = <table> {
}
51505 = <table> {
}
2825 = <table> {
}
16190 = <table> {
}
546 = <table> {
}
2645 = <table> {
}
324 = <table> {
}
421 = <table> {
}
80451 = <table> {
}
1064 = <table> {
}
403 = <table> {
}
131 = <table> {
}
61295 = <table> {
}
73920 = <table> {
}
8050 = <table> {
}
51730 = <table> {
}
76780 = <table> {
}
73680 = <table> {
}
8004 = <table> {
}
331 = <table> {
}
52127 = <table> {
}
79206 = <table> {
}
}
cdc = nil
cdc2 = nUI_BottomRightBar_Button2_CDCLabel {
0 = <userdata>
}
overlay = nUI_BottomRightBar_Button2_ActionOverlay {
0 = <userdata>
Timers = <table> {
}
action = 110
b = 1
elapsed = 0
abCooldown = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:673
updateCooldown = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:956
is_usable = true
cdc_start = 4151.91
onUpdate = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:884
is_oor = false
updateHotkeys = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:703
nUI_CachedSetAllPoints = <function> defined =[C]:-1
cdc_duration = 1.218
button = nUI_BottomRightBar_Button2 {
}
actionID = 2
is_oom = false
r = 1
nUI_CachedSetPoint = <function> defined =[C]:-1
layers = <table> {
}
nUI_CachedClearAllPoints = <function> defined =[C]:-1
spellID = 83968
actionType = "nUI_BOTTOMRIGHTBAR"
updateUsable = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:764
is_cdc = false
nUI_init = true
}
start = 4151.91
duration = 1.218
now = 4302.172
GetTime = <function> defined =[C]:-1
nUI = <table> {
info_frame = nUI_InfoPanelSelector {
}
SpellStatus = <table> {
}
ReparentChat = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.Lua:114

the count goes up by about 20/sec, reloading the UI will usually get rid of it, so I'd really just like to know why it does it, hehe. it only ever happens on the shaman.

sorry I cant put the text in a spoiler or something :/
mowzzia is offline  
Unread 01-22-12, 08:41 AM   #2
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,035
That happens if I remember rightly because you had a cooldown for an ability that no longer exists with the new spec.

Dispersion for Shadow Priest when switching to Discipline for example.
__________________
Xrystal is offline  
Unread 01-22-12, 11:33 AM   #3
mowzzia
A Murloc Raider
Join Date: Aug 2009
Posts: 7
makes sense. i shall refrain from spec changing with used cd's from now on lol
mowzzia is offline  
 

Go BackWoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » odd spec changing 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