Download
(16Kb)
Download
Updated: 09-02-18 03:40 AM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:09-02-18 03:40 AM
Created:10-04-09 06:21 PM
Downloads:24,058
Favorites:75
MD5:

oUF Simple  Popular! (More than 5000 hits)

Version: 800.20180901
by: zork [More]


Intro

oUF_Simple is a unit layout for oUF. It is a mediator between oUF_SimpleConfig and oUF.
Documentation
oUF_SimpleConfig documentation
Slash command
/ouf_simple
Supported units
  • player
  • target
  • targettarget
  • focus
  • pet
  • party
  • nameplates
  • boss
  • raid
  • mouseover
Supported elements
  • health
  • absorb
  • power
  • classpower
  • alternativepower
  • additionalpower
  • raidtargetindicator
  • buffs
  • debuffs
Embedded modules
  • oUF_DebuffHighlight
  • rAbsorbBar
  • rClassBar
Requires
oUF, rLib, oUF_SimpleConfig
Git
https://github.com/zorker/rothui/tre...8.0/oUF_Simple

Optional Files (1)
File Name
Version
Size
Author
Date
Type
800.20180901
23kB
09-02-18 03:40 AM
Addon


Post A Reply Comment Options
Unread 11-04-20, 06:39 AM  
cozmos
A Murloc Raider

Forum posts: 8
File comments: 24
Uploads: 0
After Patch 9.0 there is this error:

Code:
Message: Interface\AddOns\oUF_Simple\core\functions.lua:75: attempt to call method 'SetBackdrop' (a nil value)
Time: Wed Nov  4 13:37:36 2020
Count: 1
Stack: Interface\AddOns\oUF_Simple\core\functions.lua:75: attempt to call method 'SetBackdrop' (a nil value)
[string "@Interface\AddOns\oUF_Simple\core\functions.lua"]:75: in function <Interface\AddOns\oUF_Simple\core\functions.lua:69>
[string "@Interface\AddOns\oUF_Simple\core\functions.lua"]:236: in function `CreateHealthBar'
[string "@Interface\AddOns\oUF_Simple\core\style.lua"]:25: in function `CreateStyle'
[string "@Interface\AddOns\oUF_Simple\templates\player.lua"]:27: in function `styleFunc'
[string "@Interface\AddOns\oUF\ouf.lua"]:321: in function <Interface\AddOns\oUF\ouf.lua:245>
[string "=(tail call)"]: ?
[string "@Interface\AddOns\oUF\ouf.lua"]:680: in function `Spawn'
[string "@Interface\AddOns\oUF_Simple\core\spawn.lua"]:34: in main chunk

Locals: self = <unnamed> {
 0 = <userdata>
 bg = <unnamed> {
 }
}
relativeTo = nil
backdrop = <table> {
 bgFile = "interface\addons\oUF_SimpleConfig\media\backdrop"
 tile = false
 bgColor = <table> {
 }
 tileSize = 0
 edgeFile = "interface\addons\oUF_SimpleConfig\media\backdrop_edge"
 edgeColor = <table> {
 }
 edgeSize = 2
 inset = 2
 insets = <table> {
 }
}
bd = <unnamed> {
 0 = <userdata>
}
(*temporary) = nil
(*temporary) = <unnamed> {
 0 = <userdata>
}
(*temporary) = <table> {
 bgFile = "interface\addons\oUF_SimpleConfig\media\backdrop"
 tile = false
 bgColor = <table> {
 }
 tileSize = 0
 edgeFile = "interface\addons\oUF_SimpleConfig\media\backdrop_edge"
 edgeColor = <table> {
 }
 edgeSize = 2
 inset = 2
 insets = <table> {
 }
}
(*temporary) = "attempt to call method 'SetBackdrop' (a nil value)"
L = <table> {
 dragFrames = <table> {
 }
 addonName = "oUF_Simple"
 C = <table> {
 }
 addonShortcut = "ouf_simple"
 addonColor = "00FF3300"
 F = <table> {
 }
}
unpack = <function> defined =[C]:-1
Report comment to moderator  
Reply With Quote
Unread 06-27-19, 08:04 AM  
anthonysh
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
plz Keep updating for wow 8.2+,thx for your job!
Report comment to moderator  
Reply With Quote
Unread 03-05-19, 01:29 PM  
anthonysh
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Hi Zork,plz Keep updating for wow 8.1+,love your addons
thx for your job!
Report comment to moderator  
Reply With Quote
Unread 01-07-19, 05:00 AM  
oh_noes
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
ALL existing oUF layouts are broken after updating to oUF 9.x

I don't know why the oUF devs push such a radical update so early to wowinterface where probably everyone using an auto-updater gets laid. -.-
Report comment to moderator  
Reply With Quote
Unread 01-03-19, 01:42 PM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
OUV 9.x

Hi Zork,

can you please check what is happening if we update OUF to 9.x ?

Here is a screenshot. It doesn't matter what I target that the unit frame is always plain white with any info on it.




Thanks so much
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 01-03-19 at 01:43 PM.
Report comment to moderator  
Reply With Quote
Unread 12-13-18, 04:48 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: Add Tag

You just add it to the taglist of the name string of your unit.
Example for party.
https://github.com/zorker/rothui/blo.../party.lua#L37
You can use oUF tags, oUF_Simple tags or create your own tags in your config to use.
If the tag provided does not do what you want create your own. Examples are given here:
https://github.com/zorker/rothui/blo...onfig/tags.lua
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 12-13-18 at 04:49 AM.
Report comment to moderator  
Reply With Quote
Unread 12-11-18, 12:29 PM  
Edo
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Add Tag

Hi, Zork

i want to add a tag "dead", i found there already is a tag in ouf. I tried to search your tag "colorReaction" or "colorClass" for solving this thing, but didn't find any clue about this.
Report comment to moderator  
Reply With Quote
Unread 11-13-18, 05:50 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
It is fine. Just pay it forward.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 11-13-18, 03:47 PM  
oh_noes
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Originally Posted by zork
Ok I added it. There is now a new option to add spell charge cooldowns to action buttons.



https://github.com/zorker/rothui/com...12cef47d17d178
You sir, are a genius!


That will do it, no doubt. I owe you a beer.
Do you have a Paypal account?
Report comment to moderator  
Reply With Quote
Unread 11-13-18, 01:27 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Ok I added it. There is now a new option to add spell charge cooldowns to action buttons.



https://github.com/zorker/rothui/com...12cef47d17d178
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 11-13-18, 12:14 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Ok there is an API for that. This reflects the cooldown spiral thing already present on the action button. It is just barely visible.

The default cooldown spiral only shows for global cooldown and when all charges are used and the last charge is on cooldown.

One option could be to make that cooldown spiral more visible. Adding a cooldown timer onto a usable button just to show charge cooldown is a nono imo.

A possible solution might be the display of another bar with rButtonAura. That idea I like. I could really use that for myself. It is hard to time Seraphim procs at times.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 11-13-18, 10:53 AM  
oh_noes
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
This is for controlling the color of the status bar fragment:
Code:
function()
    local this = WeakAuras.regions[aura_env.id].region
    local thisSpell = GetSpellInfo(203720)
    local c,_,s,d = GetSpellCharges(thisSpell)
    
    if c and c > 0 then
        this:SetInverse(false)
        return 1,1,true 
    elseif c == 0 and d then
        this:SetInverse(true)
        return d, s + d        
    else
        this:SetInverse(false)
        return 0,1,true
    end
end
And this is the actual code to determine the remaining cooldown:
Code:
function()
    local c,_,s,d = GetSpellCharges(203720)
    
    if (c == nil) or (c >= 1) then
        return ""
    elseif (c == 0) and (d) and (s) then
        return string.format("%.1f",s + d - GetTime())
    else
        return "Unknown"
    end
end
There is one for each charge.

Should be supported by Blizz:
https://wow.gamepedia.com/API_GetSpellCharges
Last edited by oh_noes : 11-13-18 at 10:54 AM.
Report comment to moderator  
Reply With Quote
Unread 11-13-18, 08:02 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
I'm not even sure if there is actually a way to track that duration through the WoW API. It may just be weakaura timers. What WoW API calls are used in the wagio script to track the cooldown by charge?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 11-12-18, 06:46 PM  
oh_noes
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
I'm aware of rButtonAura, already using it for tracking shield duration and some azerite procs. It's great!

What I meant was tracking the availability/recharging of the stacks (right picture in the link I posted - the three yellow bars).

It's kinda difficult to see the remaining recharge duration with that clock style dial on the action button itself, especially if talents that reduce the cooldown come into play... if you know what I mean.
Report comment to moderator  
Reply With Quote
Unread 11-12-18, 01:26 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
I use rButtonAura atm to track those. It shows a duration/border on any action button for the desired aura. I even ditched rFilter for it.

You can kinda see it in this one: https://imgur.com/a/mSHHcDp

The idea is from Diablo 3 where they added aura trackers on the action buttons. It is kinda handy.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-12-18 at 01:29 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: