Download
(2 Kb)
Download
Updated: 08-30-12 06:11 AM
Addon for:
oUF.
Compatibility:
Mists of Pandaria (5.0.4)
Updated:08-30-12 06:11 AM
Created:unknown
Downloads:33,837
Favorites:167
MD5:
oUF Experience  Popular! (More than 5000 hits)
Version: 50001.12-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 50001.12-Release
  • Use double underscores to avoid tainting blizzard
  • Remove support for oUF 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.
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
  • Remove comments
  • Remove tooltip option
  • 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
  • Update version
Archived Files (23)
File Name
Version
Size
Author
Date
40300.11-Releas
2kB
p3lim
02-06-12 05: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 11:53 AM
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 01:36 PM
30000.26
2kB
p3lim
01-14-09 01:38 PM
30000.25
2kB
p3lim
01-13-09 01:41 PM


Post A Reply Comment Options
Old 10-04-08, 05:22 AM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
Originally posted by Caellian
Yes yes working just fine

a few things with the latest release

- i was playing with reputation/experience settings and tried to color the xp with my hp gradient.
self.colorExperience = self.colors.smooth
it was kinda working exept it was red (first color of the gradient) all the way from 0% to 100%, i guess gradients won't work ?

- when it switch to reputation it doesn't seems to have its own background, it takes its color from the experience one instead.

- Lastly, i wasn't able to setup a custom color for reputation without commenting line 54 from oUF_Experience, not a big deal though.

Code:
if(self.colorReputation) then bar:SetStatusBarColor(FACTION_BAR_COLORS[id].r, FACTION_BAR_COLORS[id].g, FACTION_BAR_COLORS[id].b) end
Gradients wont work without a function

Explain better

There was no intention (yet) to have custom reputation colors
p3lim is offline Report comment to moderator  
Reply With Quote
Old 10-04-08, 10:58 AM  
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
Explain better
- Example
Code:
self.Experience.bg:SetVertexColor(.31,.45,.63,.50)
Also affect the reputation background, and i can't set it independently.

One last question, according to wowwiki, which isn't very clear unfortunately, i should do something like this:
Code:
function self.Experience_OnEnter()
	self.Experience:Show()
end

function self.Experience_OnLeave()
  self.Experience:Hide()
end
To have my xp bar only show on mouseover, but it does nothing. (actually i should probably ask this in the oUF topic)
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Last edited by Caellian : 10-04-08 at 06:31 PM.
Caellian is offline Report comment to moderator  
Reply With Quote
Old 10-04-08, 05:58 PM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
Originally posted by Caellian
One last question, according to wowwiki, which isn't very clear unfortunately, i should do something like this:
Code:
function self.Experience_OnEnter()
	self.Experience:Show()
end

function self.Experience_OnLeave()
  self.Experience:Hide()
end
To have my xp bar only show on mouseover, but it does nothing.
You should really stop editing posts, cause it doesnt leave anything in my mailbox.

You need to set a script for those functions, that example was from XML, not lua
p3lim is offline Report comment to moderator  
Reply With Quote
Old 10-04-08, 06:00 PM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
Known issue: pet xp bar doesnt update when you pull a pet out from stables, looking for a fix for this.
p3lim is offline Report comment to moderator  
Reply With Quote
Old 10-10-08, 12:57 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 268
File comments: 942
Uploads: 5
Hair pulling mode on

Allright, the mouseover thing, i've got 2 half working version

The goal being to have the xp bar to show with a working tooltip when i mouseover it.

1. It works just fine i have the xp bar + tooltip showing when i mouseover the xp bar location. Exept on login or reload, i have to mouseover the player frame just once and then it works like a charm.

Code:
			self:SetScript("OnEnter", function(self)
				local origOnEnter = self.Experience:GetScript("OnEnter")
				self.Experience:SetScript('OnEnter', function(self,...) self:SetAlpha(1) origOnEnter(self, ...) end)
			end)

			self:SetScript("OnLeave", function(self)
				local origOnLeave = self.Experience:GetScript("OnLeave")
				self.Experience:SetScript('OnLeave', function(self, ...) self:SetAlpha(0) origOnLeave(self,...) end)
			end)
2. Different version from Haste, this one will make it show the xp bar + tooltip when i mouseover the player frame, it's not bad but unfortunately it will also show the tooltip when i mouseover the xp bar location without showing the xp bar.

Code:
			self:SetScript("OnEnter", function(self)
				local exp = self.Experience
				exp:SetAlpha(1)
				exp:GetScript"OnEnter"(exp)
			end)

			self:SetScript("OnLeave", function(self)
				local exp = self.Experience
				exp:SetAlpha(0)
				exp:GetScript"OnLeave"(exp)
			end)
The first version works a bit more like i expected, exept that little on login bug but as i've been told, the code isn't good at all.
The second version doesn't do what i want but it's not that bad, still has a small mouseover bug.

Conclusion:

1. Could you make any of those 2 version works correctly ?
2. If not, could you add a mouseover feature in oUF_Experience itself please ?
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Caellian is offline Report comment to moderator  
Reply With Quote
Old 10-10-08, 08:35 AM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
Re: Hair pulling mode on

Originally posted by Caellian
-- snip --
Ill add it as a feature, its easier for you, me and the rest of the community
Last edited by p3lim : 10-10-08 at 08:45 AM.
p3lim is offline Report comment to moderator  
Reply With Quote
Old 10-10-08, 09:33 AM  
ObbleYeah
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 51
File comments: 39
Uploads: 4
Ill add it as a feature, its easier for you, me and the rest of the community
Thanks for this p3lim, i've been attempting to do it for about 3 weeks or so now :P
ObbleYeah is offline Report comment to moderator  
Reply With Quote
Old 10-10-08, 09:37 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 268
File comments: 942
Uploads: 5
Re: Re: Hair pulling mode on

Originally posted by p3lim
Ill add it as a feature, its easier for you, me and the rest of the community
Indeed thanks a million, saves me the few hairs i have left
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Caellian is offline Report comment to moderator  
Reply With Quote
Old 10-10-08, 09:42 AM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 268
File comments: 942
Uploads: 5
Got this
Code:
Interface\AddOns\oUF_Experience\oUF_Experience.lua:22: attempt to perform arithmetic on local 'min' (a string value)
Count: 1
Posting as it happened, didn't check if it was a layout error yet.

nvm, my mistake, works fine
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Last edited by Caellian : 10-10-08 at 09:45 AM.
Caellian is offline Report comment to moderator  
Reply With Quote
Old 10-10-08, 10:07 AM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
Originally posted by Caellian
Got this
Code:
Interface\AddOns\oUF_Experience\oUF_Experience.lua:22: attempt to perform arithmetic on local 'min' (a string value)
Count: 1
Posting as it happened, didn't check if it was a layout error yet.

nvm, my mistake, works fine
Its a copy-paste error, just have to commit changes

Was waiting with the push to fix the pet updates on summon/stables
Last edited by p3lim : 10-10-08 at 11:15 AM.
p3lim is offline Report comment to moderator  
Reply With Quote
Old 10-11-08, 06:59 PM  
erica647
A Cobalt Mageweaver
 
erica647's Avatar
AddOn Author - Click to view AddOns

Forum posts: 209
File comments: 213
Uploads: 4
Would it be possible to add a feature that would allow a click on the bar to toggle between xp and rep? Thanks for another great mod btw!
__________________
Karadra
Level 80 Human Deathknight
Silvermoon/Nerfed Guild
erica647 is offline Report comment to moderator  
Reply With Quote
Old 10-13-08, 09:11 AM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
Originally posted by erica647
Would it be possible to add a feature that would allow a click on the bar to toggle between xp and rep? Thanks for another great mod btw!
Press the U button and there you have your toggle
p3lim is offline Report comment to moderator  
Reply With Quote
Old 11-29-08, 05:26 AM  
Icerat
A Fallenroot Satyr

Forum posts: 28
File comments: 47
Uploads: 0
how can i get the tooltip to display rested as a percentage also? is it possible?
Icerat is offline Report comment to moderator  
Reply With Quote
Old 11-30-08, 08:17 AM  
p3lim
Mmmrrrggglll
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1143
File comments: 1200
Uploads: 24
Originally posted by Icerat
how can i get the tooltip to display rested as a percentage also? is it possible?
Not at the moment, but I could easily add that.
p3lim is offline Report comment to moderator  
Reply With Quote
Old 12-02-08, 11:00 AM  
Icerat
A Fallenroot Satyr

Forum posts: 28
File comments: 47
Uploads: 0
Originally posted by p3lim
Not at the moment, but I could easily add that.
I look forward to seeing it added
Icerat 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.