Thread Tools Display Modes
10-22-09, 08:53 AM   #1
demanl
A Cyclonian
 
demanl's Avatar
Join Date: Feb 2009
Posts: 43
AddOns\nUI\Bars\nUI_Button.lua line 965 error

Hi...I did search the forum to see if someone else had reported this error...and found similar errors...close but not exactly the same...so I thought I would bring this to your attention....

I apologize in advance if you are already aware of this issue....)

I'm running nUI ver 5.05.02 in the live environment.....and get this error occassionally.....meaning not all the time......when I'm changing specs from on my paladin from holy to retribution and vice versa......I also appear to lose my key bindings at this time.....and a /nui rl command seems to fix the problem.

Heres the error.....)

Date: 2009-10-22 10:45:01
ID: -1
Error occured in: Global
Count: 541
Message: ..\AddOns\nUI\Bars\nUI_Button.lua line 965:
attempt to compare number with string
Debug:
[C]: ?
nUI\Bars\nUI_Button.lua:965: updateCooldown()
nUI\Bars\nUI_Button.lua:902: onUpdate()
nUI\Bars\nUI_Button.lua:362:
nUI\Bars\nUI_Button.lua:357
[C]: ActionButton_OnUpdate()
[string "*:OnUpdate"]:1:
[string "*:OnUpdate"]:1
 
10-22-09, 11:15 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
This is likely being caused by the action buttons changing when you change you spec. If the action button had a cooldown on it and then you suddenly change spec and the button action changes to something that was not on cooldown, that would throw that error.

I'll make sure to guard for that in nUi6, but doubt I'll put out a patch to fix that since it's a fairly rare occurrence.
__________________

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/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » AddOns\nUI\Bars\nUI_Button.lua line 965 error


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