Thread Tools Display Modes
06-05-09, 11:19 AM   #1
demanl
A Cyclonian
 
demanl's Avatar
Join Date: Feb 2009
Posts: 43
Exclamation upon loading 5.03.07 dev vers..:(

Hi,

I'm getting this error upon logging/loading a character in wow...

Date: 2009-06-05 13:16:03
ID: 1
Error occured in: Global
Count: 2
Message: ..\AddOns\nUI\Bars\nUI_Button.lua line 304:
attempt to compare number with string
Debug:
[C]: ?
nUI\Bars\nUI_Button.lua:304:
nUI\Bars\nUI_Button.lua:278
[C]: ActionButton_Update()
..\FrameXML\ActionButton.lua:344: ActionButton_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1

This was logging into my human warrior...if that matters......)

Otherwise I have no other problem with this version.......)

 
06-05-09, 11:37 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I'll take a look at this when I get home this evening.
__________________

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/
 
06-05-09, 12:24 PM   #3
makwar
A Murloc Raider
 
makwar's Avatar
Join Date: Apr 2009
Posts: 5
Same here

I get the same error and I am an Undead Warrior. It does not seem to effect normal game play.

Date: 2009-06-05 14:01:11
ID: 1
Error occured in: Global
Count: 2
Message: ..\AddOns\nUI\Bars\nUI_Button.lua line 304:
attempt to compare number with string
Debug:
[C]: ?
nUI\Bars\nUI_Button.lua:304:
nUI\Bars\nUI_Button.lua:278
[C]: ActionButton_Update()
..\FrameXML\ActionButton.lua:344: ActionButton_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
AddOns:
Swatter, v5.5.4293 (WombatII)
AucAdvanced, v5.5.4293 (WombatII)
AucFilterBasic, v5.5.4293 (WombatII)
AucFilterOutlier, v5.5.4293.2531
AucMatchUndercut, v5.5.4293.2531
AucScanData, v5.5.4293 (WombatII)
AucStatClassic, v5.5.4293 (WombatII)
AucStatHistogram, v5.5.4293 (WombatII)
AucStatiLevel, v5.5.4293 (WombatII)
AucStatPurchased, v5.5.4293 (WombatII)
AucStatSales, v5.5.4293.2842
AucStatSimple, v5.5.4293 (WombatII)
AucStatStdDev, v5.5.4293 (WombatII)
AucStatWOWEcon, v5.5.4293.2530
AucUtilAHWindowControl, v5.5.4293.3311
AucUtilAppraiser, v5.5.4293.2530
AucUtilAskPrice, v5.5.4293.3175
AucUtilAutoMagic, v5.5.4293.3142
AucUtilCompactUI, v5.5.4293.2530
AucUtilEasyBuyout, v5.5.4293.3583
AucUtilItemSuggest, v5.5.4293.3108
AucUtilPriceLevel, v5.5.4293.2545
AucUtilScanButton, v5.5.4293.2530
AucUtilScanFinish, v5.5.4293.2530
AucUtilScanProgress, v5.5.4293.2530
AucUtilSearchUI, v5.5.4293.3655
AucUtilSimpleAuction, v5.5.4293.0
AucUtilVendMarkup, v5.5.4293.2530
Babylonian, v5.1.DEV.130
BeanCounter, v5.5.4293 (WombatII)
BonusScanner, v5.0
Carbonite, v3.13
CarboniteTransfer, v1.01
Configator, v5.1.DEV.130
Critline, v2.0.2
DBMCore, v
DebugLib, v5.1.DEV.130
Enchantrix, v5.5.4293 (WombatII)
EnchantrixBarker, v5.5.4293 (WombatII)
EnhTooltip, v5.1.3715 (SnaggleTooth)
nUI, v5.03.07 (Dev)
nUIConfigChatFrame, v30100.1
nUIConfigGUI, v30100.2
nUIInfoPanelCarboniteOmen, v
nUIInfoPanelGuildChat, v1.02.01 (WoW Version 3.1.0)
Omen, v3.0.7
Recount, v
SlideBar, v5.5.4293 (WombatII)
Stubby, v5.5.4293 (WombatII)
TankPoints, v
Titan, v4.2.3.30100 - Revision 263
TitanAmmo, v4.2.3.30100
TitanBag, v4.2.3.30100
TitanClock, v4.2.3.30100
TitanCoords, v4.2.3.30100
TitanCritLine, v0.6.2
TitanGoldTracker, v4.2.3.30100
TitanItemBonuses, v4.1.6.30000
TitanLootType, v4.2.3.30100
TitanMail, v3.0.
TitanPerformance, v4.2.3.30100
TitanRegen, v4.2.3.30100
TitanRepair, v4.2.3.30100
TitanSpec, v1.4.2.30100
TitanVolume, v4.2.3.30100
TitanWG, v1.0.0.30100
TitanXP, v4.2.3.30100
(ck=829)
 
06-05-09, 03:06 PM   #4
demanl
A Cyclonian
 
demanl's Avatar
Join Date: Feb 2009
Posts: 43
Exclamation

i'm also seeing problems with my warrior's cd's.....especially thunderclap.....counter is still counting when it is available....kind of confusing....causing me not to accurately able to spam TC...(


Not sure what this is.....
 
06-05-09, 03:11 PM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,917
Originally Posted by demanl View Post
i'm also seeing problems with my warrior's cd's.....especially thunderclap.....counter is still counting when it is available....kind of confusing....causing me not to accurately able to spam TC...(


Not sure what this is.....
Does ThunderClap have a duration ? If so than this is probably the blue writing showing how much time is left of that duration. Its a new feature that was added in 5.03.06.
__________________
 
06-05-09, 04:50 PM   #6
Alpha Dog
A Wyrmkin Dreamwalker
 
Alpha Dog's Avatar
Join Date: Apr 2009
Posts: 56
As soon as I log in I get this error;
Date: 2009-06-05 18:41:33
ID: 1
Error occured in: Global
Count: 2
Message: ..\AddOns\nUI\Bars\nUI_Button.lua line 304:
attempt to compare number with string
Debug:
[C]: ?
nUI\Bars\nUI_Button.lua:304:
nUI\Bars\nUI_Button.lua:278
[C]: ?
[C]: ActionButton_Update()
..\FrameXML\ActionButton.lua:344: ActionButton_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
AddOns:
Swatter, v5.5.4293 (WombatII)
Cursor, v3.1.0.2
Atlas, v1.14.1
AtlasBattlegrounds, v1.14.1
AtlasDungeonLocs, v1.14.1
AtlasOutdoorRaids, v1.14.1
AtlasTransportation, v1.14.1
AtlasLoot, vv5.05.00
AtlasLootBurningCrusade, vv5.05.00
AtlasLootCrafting, vv5.05.00
AtlasLootOriginalWoW, vv5.05.00
AtlasLootWorldEvents, vv5.05.00
AtlasLootWrathoftheLichKing, vv5.05.00
AtlasLootFu, vv5.05.00
AucAdvanced, v5.5.4293 (WombatII)
AucFilterBasic, v5.5.4293 (WombatII)
AucFilterOutlier, v5.5.4293.2531
AucMatchUndercut, v5.5.4293.2531
AucScanData, v5.5.4293 (WombatII)
AucStatClassic, v5.5.4293 (WombatII)
AucStatHistogram, v5.5.4293 (WombatII)
AucStatiLevel, v5.5.4293 (WombatII)
AucStatPurchased, v5.5.4293 (WombatII)
AucStatSales, v5.5.4293.2842
AucStatSimple, v5.5.4293 (WombatII)
AucStatStdDev, v5.5.4293 (WombatII)
AucStatWOWEcon, v5.5.4293.2530
AucUtilAHWindowControl, v5.5.4293.3311
AucUtilAppraiser, v5.5.4293.2530
AucUtilAskPrice, v5.5.4293.3175
AucUtilAutoMagic, v5.5.4293.3142
AucUtilCompactUI, v5.5.4293.2530
AucUtilEasyBuyout, v5.5.4293.3583
AucUtilFixAH, v5.5.4293 (WombatII)
AucUtilItemSuggest, v5.5.4293.3108
AucUtilPriceLevel, v5.5.4293.2545
AucUtilScanButton, v5.5.4293.2530
AucUtilScanFinish, v5.5.4293.2530
AucUtilScanProgress, v5.5.4293.2530
AucUtilSearchUI, v5.5.4293.3655
AucUtilSimpleAuction, v5.5.4293.0
AucUtilVendMarkup, v5.5.4293.2530
AutoTurnin, v3.0.6
Babylonian, v5.1.DEV.130
Bagnon, v1.7.3
BagnonForever, v1.1.1
BagnonTooltips, v
BeanCounter, v5.5.4293 (WombatII)
Cartographer, v2.0
CartographerNotes, v2.0
ChatSounds, v
Configator, v5.1.DEV.130
DBMCore, v
DebugLib, v5.1.DEV.130
DoubleWide, v
EasyCopy, v2.5
EasyMail, v
Enchantrix, v5.5.4293 (WombatII)
EnchantrixBarker, v5.5.4293 (WombatII)
GatherMate, vv1.18
GFWDisenchantPredictor, v3.1
InFlightLoad, v3.1.001
LightHeaded, v288
MikScrollingBattleText, v5.4.59
nUI, v5.03.07 (Dev)
nUIAuraButtons, v5.02.00
nUIConfigGUI, v30000.3
nUIInfoPanelGuildChat, v2.01.01
nUIInfoPanelStats, v1.01.00
Omen, v3.0.7
RareSpawnOverlay, v3.0.30100
RecipeBook, v
Recount, v
RedRange, v
Routes, vv1.2.6
SilverDragon, vv2.3.1
SlideBar, v5.5.4293 (WombatII)
Stubby, v5.5.4293 (WombatII)
(ck=8f5)

Click close & play continues as normal EXCEPT for 1 problem. I m a warlock & carry soul shards, in my bags I have 32 but the numbers on the buttons that require a soulstone are only showing 26.
 
06-05-09, 05:01 PM   #7
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
For those of you who are experiencing this problem...

Can you please edit [ Interface > AddOns > nUI > Bars > nUI_Button.lua ] and go to line 300 where you see the following code and add the line that's in blue... then log in and when you get the error message, look to see what the last line was that was printed and tell me what it says the "id" equals?

Code:
 
               action   = ActionButton_CalculateAction( self );
                type, id = GetActionInfo( action );

                print( "id = ["..(id or "nil").."]" );

                if id 
                and id > 0
                and nUI.lastSpell
                and type == BOOKTYPE_SPELL 
                and id <= nUI.lastSpell
                then
Once you've found out what the last ID was that threw the error, you can remove the blue line again so it doesn't spam your chat frame anymore.
__________________

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/
 
06-05-09, 05:09 PM   #8
demanl
A Cyclonian
 
demanl's Avatar
Join Date: Feb 2009
Posts: 43
Originally Posted by spiel2001 View Post
For those of you who are experiencing this problem...

Can you please edit [ Interface > AddOns > nUI > Bars > nUI_Button.lua ] and go to line 300 where you see the following code and add the line that's in blue... then log in and when you get the error message, look to see what the last line was that was printed and tell me what it says the "id" equals?

Code:
 
               action   = ActionButton_CalculateAction( self );
                type, id = GetActionInfo( action );

                print( "id = ["..(id or "nil").."]" );

                if id 
                and id > 0
                and nUI.lastSpell
                and type == BOOKTYPE_SPELL 
                and id <= nUI.lastSpell
                then
Once you've found out what the last ID was that threw the error, you can remove the blue line again so it doesn't spam your chat frame anymore.
id = [20]

I hope this helps.....)

 
06-05-09, 05:14 PM   #9
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Okay... see if this change makes it go away (again in blue)

Code:
                action   = ActionButton_CalculateAction( self );
                type, id = GetActionInfo( action );

                if id 
                and tonumber( id ) > 0
                and nUI.lastSpell
                and type == BOOKTYPE_SPELL 
                and id <= nUI.lastSpell
                then
__________________

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/
 
06-05-09, 05:19 PM   #10
demanl
A Cyclonian
 
demanl's Avatar
Join Date: Feb 2009
Posts: 43
Time to get a beer....cause now the error reads as follows;

Date: 2009-06-05 19:17:36
ID: 1
Error occured in: Global
Count: 2
Message: ..\AddOns\nUI\Bars\nUI_Button.lua line 308:
attempt to compare number with nil
Debug:
[C]: ?
nUI\Bars\nUI_Button.lua:308:
nUI\Bars\nUI_Button.lua:278
[C]: ActionButton_Update()
..\FrameXML\ActionButton.lua:149: ActionButton_UpdateAction()
[string "*:OnAttributeChanged"]:1:
[string "*:OnAttributeChanged"]:1
[C]: SetAttribute()
nUI\Bars\nUI_ButtonBar.lua:512: createBar()
nUI\Bars\nUI_ButtonBar.lua:279:
nUI\Bars\nUI_ButtonBar.lua:110


from "string" to "nil"....programs are nvr happy...(.....
 
06-05-09, 05:23 PM   #11
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Okay... let's try this another way...

Code:
                action   = ActionButton_CalculateAction( self );
                type, id = GetActionInfo( action );
                id       = tonumber( id or "0" );

                if id 
                and id > 0
                and nUI.lastSpell
                and type == BOOKTYPE_SPELL 
                and id <= nUI.lastSpell
                then
__________________

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/
 
06-05-09, 05:26 PM   #12
demanl
A Cyclonian
 
demanl's Avatar
Join Date: Feb 2009
Posts: 43
Originally Posted by spiel2001 View Post
Okay... let's try this another way...

Code:
                action   = ActionButton_CalculateAction( self );
                type, id = GetActionInfo( action );
                id       = tonumber( id or "0" );

                if id 
                and id > 0
                and nUI.lastSpell
                and type == BOOKTYPE_SPELL 
                and id <= nUI.lastSpell
                then

OH....error did NOT re-occur.....maybe...maybe...this worked....let u know in a bit ....

On a happier note...I just got my copy of the "World of WARCRAFT PROGRAMMING" book in the mail.....and OMG....its the size of a PHONE BOOK.......crap...

Anyway..time to play..read a little...play ...read a little more.....)

 
06-05-09, 05:44 PM   #13
demanl
A Cyclonian
 
demanl's Avatar
Join Date: Feb 2009
Posts: 43
Ok...the orig error ...listed at top of this thread is not re-occurring....nice...)

But.....my warriors TC (thunder clap) , which has a 6 sec cooldown is seeing a 30 sec cd on the button and the screen.....which does not prevent me from using it...just confuses me in battle....should only be a 6 sec cd...



I like the dancing bananas..
 
06-05-09, 05:45 PM   #14
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
OKay -- for those of you experiencing this bug, try installing the attached file in your [ Interface > AddOns > nUI > Bars ] folder and see if that doesn't fix it for you.

.
Attached Files
File Type: lua nUI_Button.lua (42.0 KB, 621 views)
__________________

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/

Last edited by spiel2001 : 06-05-09 at 06:35 PM.
 
06-05-09, 05:48 PM   #15
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
No... you're misreading it... note that the number is in blue, not yellow... that's telling you how much longer before the thunderclap expires on your target, not the cooldown on it.

Cooldowns are shown in yellow until there's just 10 second left, then they turn red. Spells you have cast on the target while still active are shown in cyan (blue) until they expire. If there's still a cooldown remaining after they expire, then it will start showing the remaining cooldown in the yellow or red color as appropriate.

EDIT: Note... this is a new feature in 5.03.06 -- it was in the patch notes.

This way you can see what spells you have on the target and how much time is remaining on them right on your action bar.

Originally Posted by demanl View Post
Ok...the orig error ...listed at top of this thread is not re-occurring....nice...)

But.....my warriors TC (thunder clap) , which has a 6 sec cooldown is seeing a 30 sec cd on the button and the screen.....which does not prevent me from using it...just confuses me in battle....should only be a 6 sec cd...



I like the dancing bananas..
__________________

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/
 
06-05-09, 06:25 PM   #16
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Just for kicks... try this (attached)

What this does is as follows...
  • When the spell associated with the action on your action bar is active on the target *and* it is on cooldown, the time remaining on the spell is displayed in purple.
  • When the spell associated with the action on your action bar is active on the target but is *not* on cooldown, the time remaining is displayed in bright blue.
  • When the spell is *not* on your target and on cooldown, the time remaining of the cooldown is shown in yellow until the last ten seconds, then in red.
EDIT: I just added a screenshot that identifies the different information on the action bar.

.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_060509_204137.jpg
Views:	1436
Size:	1.05 MB
ID:	2825  
__________________

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/

Last edited by spiel2001 : 06-07-09 at 07:34 AM.
 
06-05-09, 06:37 PM   #17
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
FYI --

I just got feedback from the WoW UI forum on what the issue was likely to be and why I couldn't reproduce it. Do you happen to have equipment of some kind in your action bar?
__________________

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/
 
06-05-09, 06:39 PM   #18
demanl
A Cyclonian
 
demanl's Avatar
Join Date: Feb 2009
Posts: 43
wow....thats way TOO complicated for me.....)

Can I plz get a way to turn off that new .06 button functionality..and just display the actions cd...????
 
06-05-09, 06:52 PM   #19
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Take a look at the screenshot I just posted and see if that helps...

http://www.wowinterface.com/forums/a...5&d=1244249342
__________________

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/
 
06-05-09, 07:01 PM   #20
demanl
A Cyclonian
 
demanl's Avatar
Join Date: Feb 2009
Posts: 43
Now that u have explained what is going on....I can see what u did. Thx for the screen piccy...)

So...how can I turn it OFF...lol...????

I do like the simple button CD's...but the cd's on the affect on the target is way too much for me for a button.....especially when I'm multi target tanking.....gets too much for me eyes.........thats the way my eyes are now..

Some people will LOVE this feature..... I think its cool on an intellectual level... But on a practical level....no...I need to turn it off...please...)

Anyway....I still love nUI.....)....its my favorite addon...seems a shame to call it an addon....I'm going to call it my WoW Shell....)

Its my favorite WoW Shell...!!!

Anyway....I got the programming book so I can write a simple Gold Tracker across all of my toons w/o having to resort to loading Titan.....)

When I get it done...I will forward to you for your use in whatever.....

Cheers
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » upon loading 5.03.07 dev vers..:(

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