Quantcast Experience bar error - WoWInterface
 
 
Thread Tools Display Modes
12-07-10, 07:01 AM   #1
DuckDastardly
A Deviate Faerie Dragon
 
DuckDastardly's Avatar
Join Date: Jan 2007
Posts: 15
Experience bar error

Noticed I started getting this error right shortly after hitting 81 and only after I started to get a little rest xp. Not sure if you plan on fixing it, but thought I would report it anyways.
Just noticed I have another error that is exactly the same EXCEPT for the event. The event in that one is: event = "PLAYER_XP_UPDATE"


6x nUI-5.07.08 (Plus)\Bars\nUI_XPBar.lua:238: attempt to compare nil with number
nUI-5.07.08 (Plus)\Bars\nUI_XPBar.lua:369: in function <nUI\Bars\nUI_XPBar.lua:340>

Locals:
who = nUI_XPBarBackground {
0 = <userdata>
}
event = "UPDATE_EXHAUSTION"
arg1 = "player"
frame = nUI_XPBar {
0 = <userdata>
getBarColor = <function> @ nUI\Bars\nUI_StatusBar.lua:651:
relative_to = "nUI_BottomLeftBar"
b = 1
parent = nUI_Dashboard_Anchor {}
window = 438.75000209109
g = 0.5
x1 = 0
view_size = 1
Super = <table> {}
tick = nUI_XPBarRestedTick {}
hCenter = false
setBar = <function> @ nUI\Bars\nUI_StatusBar.lua:592:
y2 = 1
y1 = 0
orient = "LEFT"
x2 = 0.33041008720245
max_offset = 1
r = 0.25
pct = 0.33041008720245
text = nUI_XPBarLabel {}
delta = nUI_XPBarDelta {}
bar_length = 0.33041008720245
a = 1
showing = true
level = 81
xp_max = 2121500
height = 10.68750059306
horizontal = true
vCenter = false
bar = nUI_XPBarBar {}
onSizeChanged = <function> @ nUI\Bars\nUI_XPBar.lua:389:
updateBar = <function> @ nUI\Bars\nUI_StatusBar.lua:678:
deleteBar = <function> @ nUI\Bars\nUI_StatusBar.lua:384:
active = true
scale = 1
right = false
left = true
options = <table> {}
rested_xp = 134
xp = 700965
applySkin = <function> @ nUI\Bars\nUI_XPBar.lua:697:
setOrientation = <function> @ nUI\Bars\nUI_XPBar.lua:408:
xp_pct = 0.33041008720245
enabled = true
yOfs = -4.987500481442
anchor_pt = "TOPLEFT"
xOfs = 0
setAnimation = <function> @ nUI\Bars\nUI_StatusBar.lua:402:
overlay_texture = "nUI\Layouts\Default\Art\nUI_XPRepOverlay"
bottom = false
applyOptions = <function> @ nUI\Bars\nUI_XPBar.lua:603:
applyAnchor = <function> @ nUI\Bars\nUI_XPBar.lua:539:
relative_pt = "BOTTOMLEFT"
width = 438.75000209109
top = false
rest = nUI_XPBarRested {}
overlay = nUI_XPBarOverlay {}
applyScale = <function> @ nUI\Bars\nUI_XPBar.lua:435:
setOverlay = <function> @ nUI\Bars\nUI_StatusBar.lua:561:
start = 0
setEnabled = <function> @ nUI\Bars\nUI_StatusBar.lua:631:
min_offset = 0
}
UnitLevel = <function> defined =[C]:-1
UpdateXP = <function> @ nUI\Bars\nUI_XPBar.lua:139:

---

Last edited by DuckDastardly : 12-07-10 at 07:04 AM.
 
12-07-10, 07:43 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Ugh... I completely forgot about the new levels and the XP bar... it doesn't know what XP is expected for each level over 80. I'll get an update out tonight to fix that.
__________________

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/
 
12-07-10, 07:57 AM   #3
nexy33
A Murloc Raider
Join Date: Apr 2010
Posts: 7
any quick fix or way to disable this as every quest is genning errors cant play like this all day ? any help most welcome
 
12-07-10, 08:12 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I'm operating from memory here, so forgive me...

Open [ Interface > AddOns > nUI > Bars > nUI_XPBar.lua ] and look for the RegisterEvent() lines... comment them all out. Also, if there's a SetScript( "OnUpdate", ... ) line, comment that out too. That should do it.

I may have the file name wrong, but it should be close.
__________________

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/
 
12-07-10, 08:54 AM   #5
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Save the attached file in [ Interface > AddOns > nUI > Bars ] -- the data may not be 100% accurate, but it should fix the problem and at least be close.

.
Attached Files
File Type: lua nUI_XPBar.lua (23.4 KB, 649 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/
 
12-07-10, 10:35 AM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I am looking for *accurate* numbers for the amount of XP required to hit levels 81 trough 85 -- I've found a couple of listings, but see suspect data in both.

If anyone has hard reliable numbers, I would appreciate them.
__________________

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 » Experience bar 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