Download
(2 Kb)
Download
Updated: 06-14-14 10:29 PM
Addon for:
oUF.
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:06-14-14 10:29 PM
Created:unknown
Downloads:34,091
Favorites:169
MD5:
5.4
oUF Experience  Popular! (More than 5000 hits)
Version: 50400.14-Release
by: p3lim [More]
Supported oUF Version: 1.6.x

Description:
oUF Experience is a element plug-in made for the UnitFrame framework oUF.
It is required that you have this addon updated at all times to make everything work as it should.
You can download oUF by clicking on the link located under the "Download" button on the right.


Features:
- Experience bar
- Optional rested element
- Basic tags included
- Hides if the player is at max level


Note:
Wiki found on my GitHub page for basic implementation:
http://github.com/p3lim-wow/oUF_Experience/wiki
You need to add this addon to your layout's toc metadata!


Issues & Requests
To submit a bug report or feature request, please visit the Issue Tracker on my GitHub page.
Changes in 50400.14-Release:
  • Trial accounts have a different level cap
  • Revert e3851f3404abb6a636f893c5d528667b767acfdd
  • Update interface version
Changes in 50001.13-Release:
  • Don't bail for PostUpdates
Changes in 50001.12-Release:
  • Use double underscore to avoid tainting blizzard
  • Remove support for 1.5.x
  • Bump Interface version
Changes in 40300.11-Release:
  • Add support for 1.6
  • Update game version
  • Let the packager(s) set the version number automaticly
Changes in 40200.10-Release:
  • Pet experience isn't as big a deal any more
  • Update version
  • Return earlier if in a vehicle. Fixes issue #2
Changes in 40000.9-Release:
  • Register the tags outside of the Enable function
  • Update version
Changes in 40000.8-Release:
  • Add some basic tags
  • Update version
Changes in 40000.7-Release:
  • Add a fallback texture to the Rested bar
  • Update version
Changes in 40000.6-Release:
  • Clean up and update to 1.4 standard - Also updated to work with the new vehicle element
  • Remove comments
  • Remove tooltip option - The layout should be in charge of this
  • Update to the new override method
  • Add :ForceUpdate()
  • Back to basics
  • Sneak in a :PreUpdate()
  • Update TOC to 4.0
  • Fix some typos
  • End things early
  • Update version
Changes in 30300.5-Release:
  • Clean up the act and make everything work with vehicles and other pets
  • Add embedding support
  • Stupid copy/paste
  • Update TOC version
  • Update version
Changes in 30200.4-Release:
  • Let rested values go through, independant of the rested bar
  • Update version
Changes in 30200.3-Release:
  • Added default texture properly
  • Pass unit for disabling
  • Add some comments
  • Update version
Changes in 30200.2-Release:
  • Set version back to normal, learning by doing :/
  • Fix pet issues if layout has Rested bar enabled
  • Let the element handle the uncommon settings
  • Rename some functions
  • Pet xp bar should also replicate backdrop, if there is any
  • Just set the parent of the bg - Should be anchored to the main bar anyways
  • Update version
Archived Files (24)
File Name
Version
Size
Author
Date
50001.12-Releas
2kB
p3lim
08-30-12 06:11 AM
40300.11-Releas
2kB
p3lim
02-06-12 06:58 PM
40200.10-Releas
1kB
p3lim
10-03-11 07:24 PM
40000.9-Release
2kB
p3lim
10-14-10 11:56 AM
40000.8-Release
2kB
p3lim
10-13-10 12:39 PM
30300.5-Release
2kB
p3lim
12-28-09 12:53 PM
30200.4-Release
2kB
p3lim
09-07-09 04:24 PM
30200.3-Release
2kB
p3lim
08-22-09 03:20 PM
30200.2-Release
2kB
p3lim
08-17-09 03:58 PM
30200.1-Beta
2kB
p3lim
08-08-09 10:06 AM
30200.39
2kB
p3lim
08-04-09 04:22 PM
30200.38
2kB
p3lim
08-04-09 01:28 PM
30000.37
2kB
p3lim
07-15-09 12:51 PM
30000.36
2kB
p3lim
06-13-09 12:31 PM
30000.35
2kB
p3lim
06-11-09 02:27 PM
30000.34
2kB
p3lim
06-01-09 10:45 AM
30000.33
2kB
p3lim
06-01-09 03:55 AM
30000.32
2kB
p3lim
05-26-09 02:36 PM
30000.31
2kB
p3lim
05-24-09 07:28 PM
30000.30
2kB
p3lim
05-20-09 10:52 AM
30000.29
2kB
p3lim
04-17-09 09:34 AM
30000.28
2kB
p3lim
02-07-09 02:36 PM
30000.26
2kB
p3lim
01-14-09 02:38 PM
30000.25
2kB
p3lim
01-13-09 02:41 PM


Post A Reply Comment Options
Unread 08-27-08, 04:48 PM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 268
File comments: 942
Uploads: 5
Ahhh thanks a lot P3lim, this is gonna be really usefull in WotLK and was badly missing in oUF !
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Caellian is offline Report comment to moderator  
Reply With Quote
Unread 08-27-08, 04:49 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1226
File comments: 1182
Uploads: 25
Originally posted by Caellian
..this is gonna be really usefull in WotLK..
Exactly why I made it
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 08-27-08, 04:54 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1226
File comments: 1182
Uploads: 25
Give me suggestions what to put in the tooltip btw, I have no idea
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 08-27-08, 05:12 PM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 268
File comments: 942
Uploads: 5
Originally posted by p3lim
Give me suggestions what to put in the tooltip btw, I have no idea
If it was just me, simply the numeric values of the xp bar, as i don't display any text on the bar itself.
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Caellian is offline Report comment to moderator  
Reply With Quote
Unread 08-27-08, 05:23 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1226
File comments: 1182
Uploads: 25
Originally posted by Caellian
If it was just me, simply the numeric values of the xp bar, as i don't display any text on the bar itself.
Im adding a more detailed tooltip, the same numeric values thats on the xp bar right now is staying, but Im sure someone is gonna ask for more details at some point, thats why Im asking, what do you want?
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 08-27-08, 06:20 PM  
DJJoeJoe
A Murloc Raider
 
DJJoeJoe's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 5
File comments: 168
Uploads: 1
Iunno, time and mobs to level on tooltip would be interesting... but who really cares? Just the fact of seeing even a blank exp bar for oUF would be so rad, excellent stuff dude.

Maybe changing the rested bar to optionally just show an R on the exp bar when you got some and no R when you done, iunno.
__________________

Joetest - Ner'Zhul - Disciples of Death
Last edited by DJJoeJoe : 08-27-08 at 06:21 PM.
DJJoeJoe is offline Report comment to moderator  
Reply With Quote
Unread 08-27-08, 06:50 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1226
File comments: 1182
Uploads: 25
Added the detailed tooltip, so far it shows the following:

Rested xp remaining
Remaining xp to ding
Current percentage
Remaining percentage
Current bars (bubbles)
remaining bubbles

these are all values

Feel free to suggest things to the list, but something like 'how many mobs 'till ding' is not something im gonna add
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 08-28-08, 02:19 AM  
sp1ti
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
what about total timed played total/lvl on the bar. is it possible to add xp/session or is this over the top, too ? or exp to level 70/80. but the ones you already included do the job for almost everybody i guess . great plugin btw!
sp1ti is offline Report comment to moderator  
Reply With Quote
Unread 08-28-08, 03:45 AM  
mrruben5
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Pet xp bars? :P
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 08-28-08, 04:53 PM  
blackpandemic
A Flamescale Wyrmkin
 
blackpandemic's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 123
File comments: 84
Uploads: 2
Anyway to have this convert to a rep bar (if user chooses so)?

For those oh so annoying times we need to grind rep :P
__________________
"It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets." -Voltaire
blackpandemic is offline Report comment to moderator  
Reply With Quote
Unread 08-28-08, 05:11 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1226
File comments: 1182
Uploads: 25
Originally posted by blackpandemic
Anyway to have this convert to a rep bar (if user chooses so)?

For those oh so annoying times we need to grind rep :P
Its in the plans, yes
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 08-29-08, 07:27 AM  
coree
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 78
Uploads: 3
i had to add
Code:
if(UnitLevel("player") == MAX_PLAYER_LEVEL) then
	self.Experience:Hide()
elseif(not IsAddOnLoaded("oUF_Experience")) then
	self.Experience:Hide()			
end
otherwise the xpbar wont hide.
Last edited by coree : 08-29-08 at 07:50 AM.
coree is offline Report comment to moderator  
Reply With Quote
Unread 08-29-08, 07:50 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1226
File comments: 1182
Uploads: 25
Originally posted by coree
i tried to change the barcolor to the restedcolor (blizzard used) if i am rested and to the "normal" barcolor if i am not rested. but i think i did a mistake.
Code:
local exhaustionStateID = GetRestState();
if (exhaustionStateID == 1) then
	self.Experience:SetStatusBarColor(0.0, 0.39, 0.88, 1.0)
elseif (exhaustionStateID == 2) then
	self.Experience:SetStatusBarColor(0.58, 0.0, 0.55, 1.0)
end
and i had to add
Code:
if(UnitLevel("player") == MAX_PLAYER_LEVEL) then
	self.Experience:Hide()
elseif(not IsAddOnLoaded("oUF_Experience")) then
	self.Experience:Hide()			
end
otherwise the xpbar wont hide.
The coloring can be set within PostUpdateHealth, PostUpdatePower or an UpdateName function. Test it out and let me know.

The other issue I added information about in the addon info page.
Last edited by p3lim : 08-29-08 at 07:59 AM.
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 08-29-08, 08:20 AM  
coree
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 78
Uploads: 3
thats what i have now
Code:
self.Experience = CreateFrame("StatusBar", nil, self)
self.Experience:SetPoint("TOP", self, "BOTTOM", 0, -5)
self.Experience:SetStatusBarTexture([[Interface\AddOns\oUF_coree\textures\tex]])
if(GetXPExhaustion()) then
	self.Experience:SetStatusBarColor(0.0, 0.39, 0.88, 1.0)
else
	self.Experience:SetStatusBarColor(0.58, 0.0, 0.55, 1.0)
end
self.Experience:SetHeight(8)
self.Experience:SetWidth(210)
but the colorupdate is only after a reloadui
coree is offline Report comment to moderator  
Reply With Quote
Unread 08-29-08, 08:28 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1226
File comments: 1182
Uploads: 25
Originally posted by coree
thats what i have now
Code:
self.Experience = CreateFrame("StatusBar", nil, self)
self.Experience:SetPoint("TOP", self, "BOTTOM", 0, -5)
self.Experience:SetStatusBarTexture([[Interface\AddOns\oUF_coree\textures\tex]])
if(GetXPExhaustion()) then
	self.Experience:SetStatusBarColor(0.0, 0.39, 0.88, 1.0)
else
	self.Experience:SetStatusBarColor(0.58, 0.0, 0.55, 1.0)
end
self.Experience:SetHeight(8)
self.Experience:SetWidth(210)
but the colorupdate is only after a reloadui
Originally posted by p3lim
The coloring can be set within PostUpdateHealth, PostUpdatePower or an UpdateName function. Test it out and let me know.
p3lim is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.