EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 06-16-2006, 03:07 AM
danedori danedori is offline
A Young Mystail Rat
 
Join Date: Feb 2005
Server: Antonia Bayle
Posts: 7
Default XP percentages rounding incorrectly

Forgive me if this is old news, I've been away for a while and just came back after LU24.

The dynamic data that shows the XP percentage corresponding to the yellow bar is rounding to the nearest whole number now instead of truncating like it used to. This isn't a problem when looked at by itself, but when you combine it with the XP % from the blue bar, it causes a problem. For instance, if you are currently at 79.8% XP, the yellow % will round to 80 and the blue % will show 98. When you put these together by showing the yellow %, a period and then the second digit of the blue %, you get 80.8%, which is incorrect. If the yellow is truncated, then it will read 79.8% like it should.

Has anyone else noticed this and if so, is there a way to fix the problem?

Danedori
Reply With Quote
  #2  
Unread 06-16-2006, 05:31 AM
Pyroman Pyroman is offline
Premium Member
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Crushbone
Posts: 62
Default

This is a problem with all exp mods, even the default ones. Seems the LU broke how the dynamic data that is being sent to clients. Although the blue and orange bars still show the correct amount.
Reply With Quote
  #3  
Unread 06-17-2006, 09:50 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

(removed due to incorrect information)
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.

Last edited by gm9 : 06-17-2006 at 01:44 PM.
Reply With Quote
  #4  
Unread 06-17-2006, 01:21 PM
danedori danedori is offline
A Young Mystail Rat
 
Join Date: Feb 2005
Server: Antonia Bayle
Posts: 7
Default

I downloaded ProfitUI and checked it out, and it's not displaying to 2 digits accurately. Here is what's going on:

The ExperienceCurrent shows the percentage of the yellow bar that is full. It gives a 2 digit number which displays the ones and tens digit of your current xp.

The ExperienceBubble shows the percentage of the blue bar that is full. It gives a 2 digit number that is the tenths and ones digit of your current xp.

Before, it was obvious that ExperienceBubble wasn't giving the tenths and hundredths because the first digit of ExperienceBubble always matched the last digit of ExperienceCurrent. Now, however, because of the way it's rounding ExperienceCurrent to the nearest whole number, they won't always match. If ExperienceCurrent gets rounded up, the ones digit in your xp display will be one higher than the tenths digit. If you log into the game and check, you will find that in the xp display, if it ends in 0 through 4, the two middle numbers will match and if it ends in 5 through 9, the ones digit will be one higher than the tenths digit.

And in the case where ExperienceCurrent gets rounded up, it's showing 1% more xp than you actually have.

Danedori
Reply With Quote
  #5  
Unread 06-17-2006, 01:43 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Yeah, I'm an idiot, thanks for setting me straight danedori. Zonx and Milquetowst already made me see the light. I was mislead by the fact that SOE is apparently currently rounding expCurrent and not rounding expBubble.

Sorry for the confusion.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #6  
Unread 07-16-2006, 06:11 PM
anfrey's Avatar
anfrey anfrey is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Apr 2005
Server: Crushbone
Posts: 185
Default

anyone know if anything is getting fixed?
__________________

sir ansfrid takahityo of mithaniel marr — paladin, amorer, and guild advisor for the <knightshift>
Reply With Quote
Reply



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
Forum Jump


All times are GMT -5. The time now is 11:03 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI