WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Bug Reports (https://www.wowinterface.com/forums/forumdisplay.php?f=90)
-   -   Experience bar error (https://www.wowinterface.com/forums/showthread.php?t=37416)

DuckDastardly 12-07-10 07:01 AM

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:

---

spiel2001 12-07-10 07:43 AM

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.

nexy33 12-07-10 07:57 AM

any quick fix or way to disable this as every quest is genning errors cant play like this all day ? any help most welcome

spiel2001 12-07-10 08:12 AM

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.

spiel2001 12-07-10 08:54 AM

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

.

spiel2001 12-07-10 10:35 AM

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.

nexy33 12-07-10 11:49 AM

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

spiel2001 12-07-10 12:18 PM

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.

Xrystal 12-07-10 01:22 PM

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

nexy33 12-07-10 07:58 PM

tyvm for the fix scott its working like a charm :banana::banana: <---happy dance :)

decoyninja 12-09-10 12:29 AM

woot.
experience problem
visit forums
find fix immediately
happy player


thanks for killing the popup
:D


All times are GMT -6. The time now is 07:01 AM.

vBulletin © 2018, Jelsoft Enterprises Ltd
© 2004 - 2017 MMOUI