WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Bug Reports (https://www.wowinterface.com/forums/forumdisplay.php?f=90)
-   -   upon loading 5.03.07 dev vers..:( (https://www.wowinterface.com/forums/showthread.php?t=24478)

demanl 06-05-09 11:19 AM

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.......:))

:banana::banana::banana::banana:

spiel2001 06-05-09 11:37 AM

I'll take a look at this when I get home this evening.

makwar 06-05-09 12:24 PM

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)

demanl 06-05-09 03:06 PM

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.....:(

Xrystal 06-05-09 03:11 PM

Quote:

Originally Posted by demanl (Post 141395)
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.

Alpha Dog 06-05-09 04:50 PM

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.

spiel2001 06-05-09 05:01 PM

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.

demanl 06-05-09 05:09 PM

Quote:

Originally Posted by spiel2001 (Post 141417)
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.....:))

:banana::banana::banana:

spiel2001 06-05-09 05:14 PM

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


demanl 06-05-09 05:19 PM

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...:((.....

spiel2001 06-05-09 05:23 PM

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


demanl 06-05-09 05:26 PM

Quote:

Originally Posted by spiel2001 (Post 141428)
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.....:))

:banana::banana::banana::banana:

demanl 06-05-09 05:44 PM

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...:D

:banana::banana:

I like the dancing bananas..:banana:

spiel2001 06-05-09 05:45 PM

1 Attachment(s)
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.

.

spiel2001 06-05-09 05:48 PM

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.

Quote:

Originally Posted by demanl (Post 141437)
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...:D

:banana::banana:

I like the dancing bananas..:banana:


spiel2001 06-05-09 06:25 PM

1 Attachment(s)
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.

.

spiel2001 06-05-09 06:37 PM

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?

demanl 06-05-09 06:39 PM

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

spiel2001 06-05-09 06:52 PM

Take a look at the screenshot I just posted and see if that helps...

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

demanl 06-05-09 07:01 PM

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.....:eek:....thats the way my eyes are now..:eek::eek:

Some people will LOVE this feature.....:D I think its cool on an intellectual level...:D 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


All times are GMT -6. The time now is 07:30 PM.

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