Description:
This is a plug-in for oUF, so in order to make this plug-in work, you would need to download that.
You can find a link under the big download button to the right.
This is a plug-in to show a simple xp/rep bar with oUF.
Features:
Experience/Reputation bar
Text on that bar
Informational tooltip
Fading option (new!)
If player is at max level the bar cluster is hidden
If pet is at player level the bar cluster is hidden
Tracks watched reputation, xp if not watching.
Note:
Read the documentation inside the lua file for usage.
You need to add this addon to your layout's toc metadata!
Before posting a bug or asking for a feature, please read the main page on my Author Portal first.
Feel free to donate:
Change Log - oUF Experience
30000.18:
- Update to 30000
20400.17:
- Fixed UNIT_PET argument
20400.16:
- Fixed tooltip issues
- Fixed pet updates
20400.14:
- Added MouseOver feature
- Changed the tooltip anchor
20400.13:
- Changed colorReputation into table
- Fixed pet xp visibility
20400.12:
- Added coloring options
- Added documentation
- Fixed reputation negative text
- Fixed pet experience bar error(s)
20400.11:
- Fixed reputation for max level players
20400.10:
- Added support for pet
- Added support for reputation
- Removed rested bar
- Removed PostUpdateExperience
20400.9:
- Fixed PostUpdateExperience
20400.8:
- Added checks for unit (player)
- Added PostUpdateExperience
20400.7:
- Fixed rested xp not showing properly
20400.6:
- Added support for tooltip
20400.4:
- Added support for rested bar
- Bail out early if at max level
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!
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.
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 ?
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