Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(3 Kb)
Download
Updated: 01-18-15 11:09 PM
Addon for:
oUF.
Compatibility:
Warlords of Draenor Pre-Patch (6.0.3)
Updated:01-18-15 11:09 PM
Created:unknown
Downloads:34,821
Favorites:167
MD5:
6.0.3

oUF Experience  Popular! (More than 5000 hits)

Version: 60000.17-Release
by: p3lim [More]

Description

oUF Experience is a element plug-in made for the unitframe framework oUF.
It does nothing by itself, and requires a layout that supports it to function.

It has the following features:

  • Experience bar.
  • Rested bar (optional).
  • Tags.
  • Automatically hides under certain conditions:
    • Player has reached max level.
    • Player has locked their experience gain.
    • Player has reached trial account level cap.
    • Player is in a vehicle.

For details on how to implement this in your own layout, please see the wiki:
https://github.com/p3lim-wow/oUF_Experience/wiki

Feedback

If you have a question, please use the comments section on Curse/WoWInterface.
If you would like to report a bug or contribute to the project, please follow this link to get started.

Legal

Please see the LICENSE file.

Changes in 60000.17-Release:
  • Added: Support for the new Veteran account type

Changes in 60000.16-Release:
  • Added: Support for users disabling the experience gain
  • Fixed: Element showing when it was not supposed to

Changes in 60000.15-Release:
  • Added: License
  • Added: Changelog
  • Changed: Update Interface version
  • Changed: Only show on player frame
  • Changed: Internal performance tweaks

Changes in 50400.14-Release:
  • Added: Support for trial account level cap
  • Changed: Update Interface version

Changes in 50001.13-Release:
  • Fixed: PostUpdate not firing for players in vehicle or at max level

Changes in 50001.12-Release:
  • Changed: Update Interface version
  • Fixed: Taints caused by Blizzard leaking a global variable
  • Removed: Support for oUF 1.5

Changes in 40300.11-Release:
  • Changed: Update Interface version
  • Changed: Update support for oUF 1.6
  • Changed: Added support for packagers to set the version automatically

Changes in 40200.10-Release:
  • Changed: Update Interface version
  • Changed: Stop updating early if player is in a vehicle
  • Removed: Experience bar for pets

Changes in 40000.9-Release:
  • Changed: Register tags regardless of element being added or not

Changes in 40000.8-Release:
  • Added: Tags

Changes in 40000.7-Release:
  • Added: Default texture to rested bar

Changes in 40000.6-Release:
  • Added: Override method
  • Added: ForceUpdate method
  • Added: PreUpdate method
  • Changed: Update Interface version
  • Changed: Update support for oUF 1.4
  • Removed: Tooltip options

Changes in 30300.5-Release:
  • Added: Embedding support
  • Changed: Update Interface version
  • Fixed: Hide while in a vehicle regardless of layout properties
  • Fixed: Hunter pet support

Changes in 30200.4-Release:
  • Fixed: Pass the rested xp regardless of unit

Changes in 30200.3-Release:
  • Fixed: Set the default texture properly
  • Fixed: Use the interal unitID for unit checks

Changes in 30200.2-Release:
  • Fixed: Hide the rested bar on pets
  • Fixed: Replicate the backdrop for pets
  • Fixed: Framelevel on the rested bar

Changes in 30200.1-Beta:
  • First public release
Archived Files (27)
File Name
Version
Size
Author
Date
60000.16-Releas
3kB
p3lim
01-11-15 02:29 PM
60000.15-Releas
3kB
p3lim
10-15-14 11:46 AM
50400.14-Releas
2kB
p3lim
06-14-14 10:29 PM
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-06-09, 06:05 AM  
Icerat
A Fallenroot Satyr

Forum posts: 28
File comments: 46
Uploads: 0
Thank you so much worked a treat, just wish the tool tips showed up

Originally posted by Caellian
You must enable the mouseover with

Code:
self.Experience:EnableMouse(true)
As for the tooltip, that's another story.
Icerat is offline Report comment to moderator  
Reply With Quote
Unread 08-05-09, 09:46 PM  
Reolin
A Deviate Faerie Dragon
 
Reolin's Avatar

Forum posts: 10
File comments: 58
Uploads: 0
Error: bad argument #5 to 'format' (number expected, got no value)
AddOn: oUF_Experience
File: oUF_Experience.lua
Line: 21
Count: 1
Reolin is offline Report comment to moderator  
Reply With Quote
Unread 08-05-09, 05:36 PM  
Caellian
A Frostmaul Preserver
 
Caellian's Avatar

Forum posts: 268
File comments: 252
Uploads: 5
Originally posted by Icerat
Ive added:

Code:
self.Experience:HookScript('OnEnter', function(self) self:SetAlpha(1) end)
self.Experience:HookScript('OnLeave', function(self) self:SetAlpha(0) end)
to my layout but the bars are still there they dont seem to hide, any idea how i can get it to hide?
You must enable the mouseover with

Code:
self.Experience:EnableMouse(true)
As for the tooltip, that's another story.
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Caellian is offline Report comment to moderator  
Reply With Quote
Unread 08-05-09, 11:04 AM  
Icerat
A Fallenroot Satyr

Forum posts: 28
File comments: 46
Uploads: 0
Ive added:

Code:
self.Experience:HookScript('OnEnter', function(self) self:SetAlpha(1) end)
self.Experience:HookScript('OnLeave', function(self) self:SetAlpha(0) end)
to my layout but the bars are still there they dont seem to hide, any idea how i can get it to hide?
Icerat is offline Report comment to moderator  
Reply With Quote
Unread 08-04-09, 04:41 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1342
File comments: 1184
Uploads: 27
Originally posted by dr_AllCOM3
I don't have it either, but it sounded like a typo
It was
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 08-04-09, 04:25 PM  
dr_AllCOM3
A Cyclonian
 
dr_AllCOM3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 275
Uploads: 15
I don't have it either, but it sounded like a typo
dr_AllCOM3 is offline Report comment to moderator  
Reply With Quote
Unread 08-04-09, 04:17 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1342
File comments: 1184
Uploads: 27
Originally posted by dr_AllCOM3
Interface\AddOns\oUF_Experience\oUF_Experience.lua:136: 'then' expected near 'self'
Interface\AddOns\oUF_RuneBar\oUF_RuneBar.lua:121: unexpected symbol near ','
Thanks for the quick response, I don't have 3.2 yet.
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 08-04-09, 04:07 PM  
dr_AllCOM3
A Cyclonian
 
dr_AllCOM3's Avatar
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 275
Uploads: 15
Interface\AddOns\oUF_Experience\oUF_Experience.lua:136: 'then' expected near 'self'
Interface\AddOns\oUF_RuneBar\oUF_RuneBar.lua:121: unexpected symbol near ','
dr_AllCOM3 is offline Report comment to moderator  
Reply With Quote
Unread 08-04-09, 01:33 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1342
File comments: 1184
Uploads: 27
Ive had it with updating the mouseover mess that was requested, so i removed it from my code.

If you want to add it to your layout, follow this:
Mouseover + tooltip
Code:
self.Experience:HookScript('OnEnter', function(self) self:SetAlpha(1) end)
self.Experience:HookScript('OnLeave', function(self) self:SetAlpha(0) end)
Just mouseover:
Follow the above code, but use :SetScript instead of :HookScript

Want to customize your tooltip?
Use API's like normal people!
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 06-01-09, 02:19 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1342
File comments: 1184
Uploads: 27
Originally posted by SpartaKickk
Alright well, this addon seems like it would be a big help as I'm using Metzerott layout, but it has no exp bar. Now I understand I have to do something with the TOC file, but what I don't know, TOC metadata is pretty vague. What do I put and where?
Somewhere in your .toc file, add this:
Code:
## OptionalDeps: oUF_Experience
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 05-31-09, 11:59 AM  
SpartaKickk
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Alright well, this addon seems like it would be a big help as I'm using Metzerott layout, but it has no exp bar. Now I understand I have to do something with the TOC file, but what I don't know, TOC metadata is pretty vague. What do I put and where?
SpartaKickk is offline Report comment to moderator  
Reply With Quote
Unread 05-28-09, 03:28 AM  
saulhudson
A Deviate Faerie Dragon
 
saulhudson's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 61
Uploads: 8
Sorry think this might be my bad. I wasn't manually checking for

if(IsAddOnLoaded('oUF_Experience') and ((unit == 'pet' and class ~= 'WARLOCK' or unit == 'player') and UnitLevel('player') ~= MAX_PLAYER_LEVEL)) then
when checking oUF_Experience is loaded. However my oUF is based on your code so might be worth double checking.

Thanks
saulhudson is offline Report comment to moderator  
Reply With Quote
Unread 05-27-09, 11:02 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1342
File comments: 1184
Uploads: 27
Originally posted by saulhudson
Still get the same issue when I log in a char at max level even with version 32. Works fine with characters under max level.

Sorry for posting again here but just felt like the right place.
What do you have enabled?
p3lim is offline Report comment to moderator  
Reply With Quote
Unread 05-27-09, 10:49 AM  
saulhudson
A Deviate Faerie Dragon
 
saulhudson's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 61
Uploads: 8
Still get the same issue when I log in a char at max level even with version 32. Works fine with characters under max level.

Sorry for posting again here but just felt like the right place.
saulhudson is offline Report comment to moderator  
Reply With Quote
Unread 05-26-09, 02:57 PM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1342
File comments: 1184
Uploads: 27
Everything should be fixed now, stop spamming about bugs in comments, use the bug submit on my portal instead.
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.