Download
(9 Kb)
Download
Updated: 01-12-11 03:06 PM
Pictures
File Info
Updated:01-12-11 03:06 PM
Created:05-30-09 11:16 AM
Downloads:8,179
Favorites:38
MD5:
oUF Saul  Popular! (More than 5000 hits)
Version: 40000.9
by: saulhudson [More]
Now oUF 1.5 Compatible

Description:

oUF Saul is a oUF layout. Therefore oUF is required for this addon to have any effect. This layout aims to be useful in all situations providing party and raid frames in one layout. I hope you find this layout both aesthetic and ergonomic.

I have recently removed a lot of support for additional oUF modules and even stripped back my code to a very basic level. Firstly I hope this helps people develop my unit frames further and provides an elegant base class and also I've come to think that reputation and experience bars are not part of a "unit frame".

If you are looking for a replacement exp / rep bar please see MicroExperience.

Features:

Supported unit frames
  • Player
  • Target
  • Pet/Vehicle
  • TargetTarget
  • Focus
  • Party
  • Raid

Interesting Features
  • Textures for combo points
  • Rune and Shard bars
  • Difficulty coloured level text i.e red higher level, green low level.
  • Remaining hp coloured hit point text. i.e. green full health, red low health.
  • Reaction based name text colouring i.e. red for hostile, green for friendly.
  • Dynamic hp text i.e. raid and party display missing hp (useful for healing) player displays text if missing hp, target hows hp when target is at full health and full, missing and percentage when it is missing hp.
  • Range checking on party and raid frames but NOT on player, target, targets target and focus. You can easily enable this is required.

Notes:
This layout is created for my own need, and is not an addon for every average user to use.

It has no configurations and if you want to change anything about the layout you will require some knowledge with Lua.

Having said that oUF is fantastic and extremely rewarding. If you have a basic knowledge of LUA of computer programming I would recommend this to anyone.

Credits:
Too all oUF frame authors I've probably copied something from all of you and Haste for his truely amazing unit frames ... I could never use another!

Thank you
40000.9
  • Removed unused font from folder
  • Removed unused tags
  • Added code to not display [hpperc] tag if unit is dead
  • Added code to display 'DEAD' if unit is, well dead

40000.8
  • Bug fixed with gsub *thanks darkbeing*
  • Cleaned up .toc file

40000.7
  • Major rewrite and restyle of the unit frame to make the frames cleaner, slicker, less memory intensive.
  • Support for additional ouf pluggins removed, feel free to add them if you need them
  • Castbars combined into the main unit frame for player, target and party
  • Borders and shadows added to all units
  • Most hp and power text simplified
  • Most colours adjusted
  • Most units location adjusted
  • Rune and Shard bars moved, resized and styled
  • Large sections of UnitSpecific() code cleaned and rationised
  • Lots of additional bugs fixed and code segments cleaned


40000.6
  • Removed old local colors and replaced with overiding oUF.colors
  • Updated power, rune, reaction colors for a better looking set of colours
  • Added shard bar for warlocks
  • Updated rune bar
  • Fixed error with info tag not displaying on the party frame
  • Fixed some issues with the pet bar
  • Removed a lot of old code and local variables
  • Removed siValue() function in preference of truncate()

40000.5
  • Fixed error with experience bar tooltip
  • Fixed error with reputation bar tooltip
  • Made some slight adjustments to buff and debuff locations

40000.4
  • Due to a lot of changes please delete previous oUF_Saul folders completly before installing this new version
  • Fixed issues with runebar size and location
  • Added new colours for runes
  • Added tooltip for reputation bar
  • Adjusted tooltip for experience bar
  • Changed the buff and debuff overlay texture and moved the texture file into the correct folder
  • Lots of minor changes to sizes and locations of various elements in particlar buffs and debuffs
  • Removed several lines of redundate code and locals
  • Fixed a host of issues with the raid frame sorting, ordering and growth directions

40000.3
  • Added pet bar
  • Added duration to cast bars
  • Fix and changed issues with buff and debuff textures
  • Lots of redundant code removed
  • Added tooltip to experience bar

40000.2
  • Added raid frame
  • Adjusted sizes and locations of all frames
  • PixelPerfect ui scale support
  • Added debuffs to targettarget and focus

40000.1 (beta)
  • Complete re-write for 4.0.1 and oUF 1.5 using oUF_Lily as a base instead of p3lim's layout
  • Frames have been moved and currently raid frame isn't enabled
  • Also currently not working is TotemBar support and the mouse over on Rep and XP bars

30200.11
  • Added support for oUF 1.4
  • Major changes to all code, function calls and local variable etc
  • Removed large sections of redundant code and support for BarFader
  • Adjusted sizes and location of player and target buffs
  • Adjusted size and location of cast bars
  • Added texture and colour to hp and power text bar (previously just a black bar)
  • Slightly increased size of exp, rep, hp, power, totem and rune bar
  • Adjust locations of both party and raid frames to fit in with a TOPLEFT minimap. For those people that use other locations for there minimap this will appear odd location for party and raid frames but they can be easily adjusted at the very bottom of the main lua file.
  • Changes buff and debuff icon texture and removed the 'textures' folders
  • Removed un-used fonts and textures from the oUF_Saul folder
  • Updated pictures
  • Fixed Range checking
  • Added hp % for raid frame and removed the raw hp values from raid frame
  • Fixed combo point issue with using textures instead of values
  • Many other small tweaks and fixes


30200.10
  • Changed various layout settings, size, dimentions etc
  • Adjusted location of both Rune and Totem bars
  • Cleaned main layout code
  • toc bump

30200.09
  • Changed GetDifficultyColour to GetQuestDifficultyColor for 3.2 compatibility
  • toc bump

30100.08
  • Added raid icons to player, target, focus and targets target frames.
  • Removed treat tag
  • Removed mana amount and percent text on druid mana bar. Druid mana bar is still present
  • Adjusted position of castbars to fix issue with overlap from target debuffs
  • Increased size of target debuffs from 22 to 26 to help track debuffs on a target
  • Added a fixed number of target debuffs to 27, 3 rows of 9
  • Cleaned and moved come code in the main layout function to aid readability

30100.07
  • Added support for oUF_TotemBar ... I finally started a Shaman!
  • Fixed issues highlighted by Strongbow ... I finally started a DK as well!
  • Adjusted location of Totem and Rune bars although I'm unsure this is the best solution it works for now
  • Fixed width issues with Rune Bar
  • Moved exp and rep bars down slightly to accomodate the above change
  • Cleaned exp and rep code within the layout no graphical change
  • Added [total power] . [cur power] to player and target frames
  • Added logical to hide power if [total power] = [cur power] and [cur power] = 0. This works in most situations and again I'm happy with it but I know of a couple of minor issues. If other people prefer a better solution I might provide one

30100.06
  • Adjusted pet position very slightly
  • Reduced number of party debuffs to 2
  • Removed some redundant code from colouring functions
  • Removed showing buffs for pet and reduced number of debuffs to 4
  • Moved [threat] text position to player hp value
  • Shows threat even when tanking ... I'm unsure on this one but I'll live with it for a while
  • Added caster name to Aura's (thanks p3lim!)
  • Fixed issue with combo point unpdating (thanks p3lim again!)

30100.05
  • Fixed issues with no border on raid frame
  • Enabled hiding party frame when in a raid of any size
  • Slight changes on size of raid frames

30100.04
  • Removed optional dep on LibSharedMedia
  • Removed code relating to SharedMedia
  • Added oUF_CombatFeedback to optional deps

30100.03
  • Fixed issue with hp on pet bar
  • Changed the cur hp / max hp seperator from a "-" to a "."
  • Removed lvl from raid frame to give more space for name text and hp value
  • Adjusted leader icon position and size so party and raid frames are consistant.

30100.02
  • Fixed power bar on raid frame
  • Out of range alpha set to 0.3 from 0.2
  • Adjusted raid and party set points and width of raid frame reduced slightly to accomodate 40 man raid groups
  • Added isLoaded checking to oUF_CombatFeedback smart tags
  • Cleaned some of the duplicate if statementing

30100.01
  • Initial release - Please submit any bugs. Comments and suggestions welcomed.
Archived Files (19)
File Name
Version
Size
Author
Date
40000.8
34kB
saulhudson
01-09-11 10:48 AM
40000.7
34kB
saulhudson
01-02-11 12:08 PM
40000.6
8kB
saulhudson
10-31-10 03:17 AM
40000.5
8kB
saulhudson
10-28-10 03:07 PM
40000.4
8kB
saulhudson
10-28-10 04:28 AM
40000.3
10kB
saulhudson
10-24-10 10:00 AM
40000.2
8kB
saulhudson
10-20-10 02:07 PM
40000.1
8kB
saulhudson
10-17-10 08:45 AM
30200.11
8kB
saulhudson
07-17-10 05:33 AM
30200.10
9kB
saulhudson
07-13-10 01:56 PM
30200.09
9kB
saulhudson
08-06-09 11:35 AM
30100.08
9kB
saulhudson
08-01-09 06:02 AM
30100.07
9kB
saulhudson
07-28-09 09:31 AM
30100.06
9kB
saulhudson
06-21-09 01:28 AM
30100.05
9kB
saulhudson
06-10-09 02:11 PM
30100.04
9kB
saulhudson
06-02-09 02:12 PM
30100.03
9kB
saulhudson
06-02-09 01:08 PM
30100.02
9kB
saulhudson
05-31-09 07:25 AM
30100.01
9kB
saulhudson
05-30-09 11:16 AM


Post A Reply Comment Options
Unread 09-07-12, 01:30 PM  
Migge
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hey community,

please help me with my problem

The problem is the minimap button, look at the picture.

Thank you! - Migge
Migge is offline Report comment to moderator  
Reply With Quote
Unread 07-31-11, 09:30 PM  
Vokir
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
what is the name of the addon that displays durability, friend/guildies online etc?
Vokir is offline Report comment to moderator  
Reply With Quote
Unread 05-28-11, 01:49 AM  
wetava
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hi first of all, nice ouf layout. i really like it!
but one thing i want to remove is the castbar because i need a different one.

I also tried sauls suggestion and ardkors too.

Code:
	cb:SetHeight(0)
		cb:SetWidth(0)
I just set these var to 0, and it works [/b]
local cb = CreateFrame('StatusBar', nil, self)
Both methods wont work. first of all, i can't find the cb:sethight/with frames in the code. Same for local cb = createfreame xxxxx.

If i try to remove "local cb = CreateFrame("StatusBar", nil, self)", what is available in the current code the whole frames are disappearing, so that shouldn't be a solution.

I hope you can help me, greetings.
wetava is offline Report comment to moderator  
Reply With Quote
Unread 02-24-11, 02:25 PM  
Macfaiden
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
cant find the lua code but can you tell me the line where i can find a max debuff show on target
Macfaiden is offline Report comment to moderator  
Reply With Quote
Unread 01-16-11, 12:14 AM  
Hipnotik
A Kobold Labourer

Forum posts: 1
File comments: 7
Uploads: 0
great uf here! although as a paladin i don't see holy points (or combo points on my rogue)
Hipnotik is offline Report comment to moderator  
Reply With Quote
Unread 01-13-11, 07:53 AM  
davidrm15
A Defias Bandit

Forum posts: 2
File comments: 55
Uploads: 0
Re: Re: bad gsub in truncate()

Originally posted by saulhudson
Thank you so much darkbeing for firstly finding the bug and then fixing it as well. i really appreciate the help. Addon updated and posted.

Many Thanks
saul
Thanks for update , i have a dude, you will update u ui with this ouf ? thanks
davidrm15 is offline Report comment to moderator  
Reply With Quote
Unread 01-09-11, 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
Re: bad gsub in truncate()

Originally posted by darkbeing
Looks like your gsub is not working correctly. Trying to grok the regex but figured I'd post in the mean time :P

http://pastie.org/1441989


This code returns "11k" instead of "110k"

edit- OK, I think it's because you're not explicity forcing matching at the beginning of the string.

I think you need to do this:

return gsub(format('%.0fk', (val / 1e3)), '^%.?0+([km])$', '%1'))

This should prevent the zeros from getting stripped.
Thank you so much darkbeing for firstly finding the bug and then fixing it as well. i really appreciate the help. Addon updated and posted.

Many Thanks
saul
__________________
The Jack bauer of all trades
saulhudson is offline Report comment to moderator  
Reply With Quote
Unread 01-09-11, 12:59 AM  
darkbeing
A Defias Bandit

Forum posts: 2
File comments: 1
Uploads: 0
bad gsub in truncate()

Looks like your gsub is not working correctly. Trying to grok the regex but figured I'd post in the mean time :P

http://pastie.org/1441989


This code returns "11k" instead of "110k"

edit- OK, I think it's because you're not explicity forcing matching at the beginning of the string.

I think you need to do this:

return gsub(format('%.0fk', (val / 1e3)), '^%.?0+([km])$', '%1'))

This should prevent the zeros from getting stripped.
Last edited by darkbeing : 01-09-11 at 01:08 AM.
darkbeing is offline Report comment to moderator  
Reply With Quote
Unread 01-02-11, 12:46 PM  
Sniffles
A Black Drake
 
Sniffles's Avatar
AddOn Author - Click to view AddOns

Forum posts: 86
File comments: 77
Uploads: 16
health.colorClass = true
Sniffles is offline Report comment to moderator  
Reply With Quote
Unread 11-12-10, 10:11 PM  
lastdirective
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Class Colored Health Bars

Hey Saul love what you've done here. Ultra clean and slick. One thing I would like to have is class colored health bars. I have been looking through the code and notice you use the units "Power" to define class. So the mana/power/focus bar is class colored somewhat. I was wondering if there was a way to define class colors much like you defined the colors to the powers.

Could I do something like:

oUF.colors.class = {
["MAGE"] = {26/255, 139/255, 255/255},
["ROGUE"] = {255/255, 225/255, 26/255},

}

Basically define the colors for the classes like above. Then how would I go about plugging them into the bar colors?

I am assuming I would have to change it in here:

local Health = CreateFrame("StatusBar", nil, self)
Health:SetHeight(22)
Health:SetStatusBarTexture(TEXTURE)
Health:SetStatusBarColor(0.25, 0.25, 0.35) <------
Health:SetPoint('TOPRIGHT', self)
Health:SetPoint('TOPLEFT', self)
Health.frequentUpdates = true

I noticed you set a static rgb value to keep things simple.

How would I go about? I'm guessing some of this code would need to be deleted.

Maybe there is a simpler way of doing this but I'm a noob and I haven't coded in years.
lastdirective is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 05:32 AM  
Ardhkor
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0

To remove to the CB you can easily just delete the code that relates to it. Goto to line 445 or search for the following code.

Code:
local cb = CreateFrame('StatusBar', nil, self)
It doesn't work, I find a solution !

Code:
	cb:SetHeight(0)
		cb:SetWidth(0)
I just set these var to 0, and it works
Ardhkor is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 04:37 AM  
saulhudson
A Deviate Faerie Dragon
 
saulhudson's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 61
Uploads: 8
Originally posted by Cashtro
Nice addon mate
But what kind of actionbar ur using?
It's just Dominoes with ButtonFacade:Elegance
__________________
The Jack bauer of all trades
saulhudson is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 04:27 AM  
Cashtro
A Defias Bandit
 
Cashtro's Avatar

Forum posts: 3
File comments: 67
Uploads: 1
Nice addon mate

But what kind of actionbar ur using?

thanx
__________________
Cashtro is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 03:20 AM  
saulhudson
A Deviate Faerie Dragon
 
saulhudson's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 61
Uploads: 8
Originally posted by Ardhkor
Great job Saul, i'm noob at lua editing and your UF's are easy to configure.


My question now, how can I deactivate the cast bars ?
Thanks glad you like it.

To remove to the CB you can easily just delete the code that relates to it. Goto to line 445 or search for the following code.

Code:
local cb = CreateFrame('StatusBar', nil, self)
I'm concidering using an oUF_Lily style of embedded cast bar to save space on the screen.
__________________
The Jack bauer of all trades
saulhudson is offline Report comment to moderator  
Reply With Quote
Unread 10-30-10, 11:12 AM  
Ardhkor
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Great job Saul, i'm noob at lua editing and your UF's are easy to configure.


My question now, how can I deactivate the cast bars ?
Last edited by Ardhkor : 10-30-10 at 11:13 AM.
Ardhkor is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: