Thread Tools Display Modes
Unread 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.
DuckDastardly is offline  
Unread 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/
spiel2001 is offline  
Unread 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
nexy33 is offline  
Unread 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/
spiel2001 is offline  
Unread 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, 631 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/
spiel2001 is offline  
Unread 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/
spiel2001 is offline  
Unread 12-07-10, 11:49 AM   #7
nexy33
A Murloc Raider
Join Date: Apr 2010
Posts: 7
In , the XP needed to level (from 80 to 85) jumps again.
The below 81-85 XP Values are form the beta and forum posts.

Lvl Max XP
80-81 1,686,300
81-82 2,121,500
82-83 4,004,000
83-84 5,203,400
84-85 6,546,500
Tot 19,561,700

from link below
http://www.wowwiki.com/Formulas:XP_To_Level

Im just about to pop 83 and these values are spot on
nexy33 is offline  
Unread 12-07-10, 12:18 PM   #8
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I have seen those numbers, they surprise me and feel a bit suspect... the thing that bothers me are the deltas are all over the map...

80-81 is 15,500 XP
81-82 is 435,200 XP
82-83 is 1,882,500 XP
83-84 is 1,199,400 XP
84-85 is 1,343,100 XP

I dunno... maybe those are right, but they sure look funny.

EDIT: In any event, those are the numbers I used in the quick fix I posted below, so grab that and it should work.
__________________

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/
spiel2001 is offline  
Unread 12-07-10, 01:22 PM   #9
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,035
Ah missed this post before I levelled but will try to make a note as I go...

Level 81 to 82 - 2,121,500

Which so far matches what nexy said ..
__________________
Xrystal is offline  
Unread 12-07-10, 07:58 PM   #10
nexy33
A Murloc Raider
Join Date: Apr 2010
Posts: 7
tyvm for the fix scott its working like a charm <---happy dance
nexy33 is offline  
Unread 12-09-10, 12:29 AM   #11
decoyninja
A Defias Bandit
Join Date: Dec 2010
Posts: 2
woot.
experience problem
visit forums
find fix immediately
happy player


thanks for killing the popup
decoyninja is offline  
 

Go BackWoWInterface » 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