Download
(14 Kb)
Download
Updated: 09-16-13 04:56 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:09-16-13 04:56 AM
Created:11-17-10 04:06 PM
Downloads:17,911
Favorites:131
MD5:
5.4
rBuffFrameStyler  Popular! (More than 5000 hits)
Version: 50400.01
by: zork [More]

Intro
rBuffFrameStyler helps you styling the player aura icons. By nature it gives the aura icons a backdrop and a border texture. You can change the whole appearance via config settings. You can even replace the border textures and use your own creations.
Features
  • separate config for buffs and debuffs
  • consolidate buff icon part of the buff frame
  • consolidate buff icon looks the same as any other buff icon
  • consolidate buff icon will recognize the interface setting
  • weapon enchant icons are part of the buff frame aswell
  • buff and debuffs can be combined to one frame or set apart
  • buff and debuff frame are movable ingame
  • possible frame settings: position, rowSpacing, colSpacing, buttonsPerRow
  • possible icon settings: background, border, font, color, size
Install
The zip-file contains two folders: rLib and rBuffFrameStyler. Put them in your AddOns folder.
Slash commands
Code:
/rbfs
/rbfs unlock
/rbfs lock
/rbfs reset

Config
Settings can be adjusted by editing the config.lua.
SVN
http://code.google.com/p/rothui/sour...uffFrameStyler

50400.01
- updated toc to 50400

50200.01
- updated for patch 5.2

50100.02a
- fixing the slow update on the debuff anchor

50100.02
- buff and debuff frame now have seperate configs
- buff and debuffs can be splitted
- weapon buffs are now part of the buff frame
- consolidated buffs are now part of the buff frame

50100.01
- updated for patch 5.1

50001.02
- the userplaced config setting now affects the dragframe

50001.01
- initial release for MoP

40300.03
- fixed the reposition bug

40300.02
- tons of calls rewritten (wow was this bad....brrrrr)

40300.01
- updated toc for patch 4.3

4.006
- updated toc for patch 4.2

4.005
- updated toc for patch 4.1

4.004
- added config values to add a gap between buffs and debuffs
- added config value to allow colspacing on temp enchants

4.003
- removed ONELETTER_ABBR
- added hooksecurefunc on duration text

4.002
- removed setTimesToAbbrev function rewrite
- corrected texture paths
- added ONELETTER_ABBR rewrites to make "3 m" go "3m" etc...

4.001
- initial release
Optional Files (0)


Archived Files (12)
File Name
Version
Size
Author
Date
50200.01
14kB
zork
03-04-13 05:39 PM
50100.02a
14kB
zork
12-04-12 01:33 PM
50100.01
13kB
zork
11-28-12 01:33 PM
50001.02
13kB
zork
09-21-12 01:54 PM
40300.03
11kB
zork
03-13-12 01:10 PM
40300.02
11kB
zork
02-21-12 01:22 PM
40300.01
11kB
zork
11-30-11 01:04 PM
4.006
11kB
zork
06-29-11 04:23 PM
4.005
11kB
zork
04-29-11 10:16 AM
4.004
11kB
zork
11-29-10 08:56 AM
4.003
11kB
zork
11-18-10 04:38 PM
4.001
11kB
zork
11-17-10 04:06 PM


Post A Reply Comment Options
Unread 12-08-12, 12:50 AM  
Greensleeper
A Defias Bandit

Forum posts: 2
File comments: 30
Uploads: 0
Hey Zork !
I want to anchor these buffs to the topright of my screen and not to the minimap. What should the line of code look like?
Do I need to use uiparent / topright ? Can u post a snippet of the line?
Thanks in advance !
Greensleeper is offline Report comment to moderator  
Reply With Quote
Unread 12-04-12, 12:12 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1354
File comments: 3227
Uploads: 86
Finished.

http://imgur.com/a/yJkJB#0

Upload will be coming maybe tonight. Going to give it some test runs.

*edit*

New version is up. Have fun.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 12-04-12 at 01:14 PM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 12-04-12, 08:01 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1354
File comments: 3227
Uploads: 86
There will be a new version of rBuffFrameStyler in the next days (if I succeed in doing it).

New stuff:
- separate buff and debuff frame (including individual config)
- temp enchant icons part of the buff frame
- consolidate buff icon part of the buff frame
- consolidate buff frame now accepts the interface setting
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 12-04-12 at 09:08 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 12-03-12, 06:04 PM  
lynce
A Cyclonian

Forum posts: 40
File comments: 63
Uploads: 0
What did you say about the consolidate buffs? I really miss the option.
Also, for some reason the debuff border turns black in combat, not red.
Last edited by lynce : 12-03-12 at 06:46 PM.
lynce is offline Report comment to moderator  
Reply With Quote
Unread 11-09-12, 05:28 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1354
File comments: 3227
Uploads: 86
Well it is me changing the text string a little bit to make the outcome more suitable and Blizzard blaming me for touching their holy grail of global strings.

The funny thing is that this only affects arena atm.
To get rid of the error you could delete this in rBuffFrameStyler/core/core.lua
Code:
  --rewrite the oneletter shortcuts
  HOUR_ONELETTER_ABBR = "%dh";
  DAY_ONELETTER_ABBR = "%dd";
  MINUTE_ONELETTER_ABBR = "%dm";
  SECOND_ONELETTER_ABBR = "%ds";
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-09-12 at 05:29 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 11-08-12, 11:07 PM  
kazama14
A Kobold Labourer

Forum posts: 0
File comments: 34
Uploads: 0
Originally Posted by zork
I'm not doing anything like that. That is a taint caused by some random magic. If it does no harm ignore it. The addon blamed is mine, but all the code referenced is Blizzard code.
I am getting the same error as well. Here's a small sample of what I am getting from the taint.log.

Code:
11/8 22:51:05.231  Global variable SECOND_ONELETTER_ABBR tainted by rBuffFrameStyler - Interface\AddOns\rBuffFrameStyler\core\core.lua:19
11/8 22:51:05.231  Execution tainted by rBuffFrameStyler while reading SECOND_ONELETTER_ABBR - Interface\FrameXML\UIParent.lua:2582 SecondsToTimeAbbrev()
11/8 22:51:05.231      Interface\FrameXML\BuffFrame.lua:316
11/8 22:51:05.231      securecall()
11/8 22:51:05.231      Interface\FrameXML\BuffFrame.lua:302
11/8 22:51:05.231  An action was blocked in combat because of taint from rBuffFrameStyler - ArenaEnemyFrames:ClearAllPoints()
11/8 22:51:05.231      Interface\FrameXML\UIParent.lua:2119 <unnamed>:UIParentManageFramePositions()
11/8 22:51:05.231      Interface\FrameXML\UIParent.lua:1478
11/8 22:51:05.231      <unnamed>:SetAttribute()
11/8 22:51:05.231      Interface\FrameXML\UIParent.lua:2156 UIParent_ManageFramePositions()
11/8 22:51:05.231      Interface\FrameXML\BuffFrame.lua:399
11/8 22:51:05.231      BuffFrame_UpdateAllBuffAnchors()
11/8 22:51:05.231      Interface\FrameXML\BuffFrame.lua:112 BuffFrame_Update()
11/8 22:51:05.231      Interface\FrameXML\BuffFrame.lua:52
11/8 22:51:05.231  An action was blocked in combat because of taint from rBuffFrameStyler - ArenaEnemyFrames:SetPoint()
11/8 22:51:05.231      Interface\FrameXML\UIParent.lua:2120 <unnamed>:UIParentManageFramePositions()
11/8 22:51:05.231      Interface\FrameXML\UIParent.lua:1478
11/8 22:51:05.231      <unnamed>:SetAttribute()
it looks like a problem with the time conversion? Could be a Blizz bug tho I guess.
kazama14 is offline Report comment to moderator  
Reply With Quote
Unread 09-23-12, 04:09 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1354
File comments: 3227
Uploads: 86
I'm not doing anything like that. That is a taint caused by some random magic. If it does no harm ignore it. The addon blamed is mine, but all the code referenced is Blizzard code.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-23-12 at 04:11 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 09-23-12, 02:23 AM  
sfooze
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
receives these errors everytime while i pvp:

4x [ADDON_ACTION_BLOCKED] AddOn "rBuffFrameStyler" tried to call the protected function "ArenaEnemyFrames:ClearAllPoints()".
!BugGrabber-r188\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
<in C code>
FrameXML\UIParent.lua:2119: in function "UIParentManageFramePositions"
FrameXML\UIParent.lua:1478: in function <FrameXML\UIParent.lua:1465>
<in C code>
FrameXML\UIParent.lua:2156: in function "UIParent_ManageFramePositions"
FrameXML\MainMenuBar.lua:99: in function <FrameXML\MainMenuBar.lua:79>
<in C code>
FrameXML\MainMenuBar.lua:76: in function <FrameXML\MainMenuBar.lua:75>

Locals:
nil


4x [ADDON_ACTION_BLOCKED] AddOn "rBuffFrameStyler" tried to call the protected function "ArenaEnemyFrames:SetPoint()".
!BugGrabber-r188\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
<in C code>
FrameXML\UIParent.lua:2120: in function "UIParentManageFramePositions"
FrameXML\UIParent.lua:1478: in function <FrameXML\UIParent.lua:1465>
<in C code>
FrameXML\UIParent.lua:2156: in function "UIParent_ManageFramePositions"
FrameXML\MainMenuBar.lua:99: in function <FrameXML\MainMenuBar.lua:79>
<in C code>
FrameXML\MainMenuBar.lua:76: in function <FrameXML\MainMenuBar.lua:75>

Locals:
nil
4x [ADDON_ACTION_BLOCKED] AddOn "rBuffFrameStyler" tried to call the protected function "ArenaPrepFrames:SetPoint()".
!BugGrabber-r188\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
<in C code>
FrameXML\UIParent.lua:2125: in function "UIParentManageFramePositions"
FrameXML\UIParent.lua:1478: in function <FrameXML\UIParent.lua:1465>
<in C code>
FrameXML\UIParent.lua:2156: in function "UIParent_ManageFramePositions"
FrameXML\MainMenuBar.lua:99: in function <FrameXML\MainMenuBar.lua:79>
<in C code>
FrameXML\MainMenuBar.lua:76: in function <FrameXML\MainMenuBar.lua:75>

Locals:
niL


4x [ADDON_ACTION_BLOCKED] AddOn "rBuffFrameStyler" tried to call the protected function "ArenaPrepFrames:ClearAllPoints()".
!BugGrabber-r188\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
<in C code>
FrameXML\UIParent.lua:2124: in function "UIParentManageFramePositions"
FrameXML\UIParent.lua:1478: in function <FrameXML\UIParent.lua:1465>
<in C code>
FrameXML\UIParent.lua:2156: in function "UIParent_ManageFramePositions"
FrameXML\MainMenuBar.lua:99: in function <FrameXML\MainMenuBar.lua:79>
<in C code>
FrameXML\MainMenuBar.lua:76: in function <FrameXML\MainMenuBar.lua:75>

Locals:
nil
sfooze is offline Report comment to moderator  
Reply With Quote
Unread 09-21-12, 01:56 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1354
File comments: 3227
Uploads: 86
Beta is over. rBuffFrameStyler got updated for MoP. Have fun.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

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

Forum posts: 1354
File comments: 3227
Uploads: 86
Put rBuffFrameStyler in the search box in the upper right corner.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Unread 09-13-12, 06:53 PM  
laincat
A Kobold Labourer

Forum posts: 0
File comments: 23
Uploads: 0
upgrade plz!
laincat is offline Report comment to moderator  
Reply With Quote
Unread 08-27-12, 08:22 AM  
madmatt91
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
Thanks! will mess around with it, in case you don't hear of me, it worked
madmatt91 is offline Report comment to moderator  
Reply With Quote
Unread 08-27-12, 06:07 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1354
File comments: 3227
Uploads: 86
Read:
http://www.wowinterface.com/forums/s...ad.php?t=31813

Play around with:
http://www.wowinterface.com/download...tBackdrop.html

Every single pixel value you use may it be a point or a size must be a flat pixel value.
Scaling can make your flat pixels become decimal values again. So basically when doing pixel perfect you want to avoid every form of uncontrolled pixel values.

Normal border textures will never be pixel perfect because they will be stretched all the time to fit the square you created. Stretching means inconsistent pixel values.

Backdrops and flat colored textures are different. They will look the same regardless of size.

Assume you have a buff icon texture with no border. First you cut off the default border texture in the icon itself by using SetTexCoord(). You will have a nice square icon texture by then.

To add a pixel perfect border to it you got some options.

Add a new texture below the icon texture that is flat black but offset by two pixels. That will give you the desired 2px border.

The other option is to use a backdrop border texture that has a 2px border.

All that stuff is advanced only.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 08-27-12 at 06:10 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 08-27-12, 04:12 AM  
madmatt91
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
Originally Posted by zork
Generallyl yes, but only if you prevent any kind of scaling.
How exactly? I tryed to mess around with edgesize and stuff, but all i was able to change was the inset would love a 2px bored that actually sticks to the border.
madmatt91 is offline Report comment to moderator  
Reply With Quote
Unread 07-10-12, 04:39 AM  
eiszeit
A Flamescale Wyrmkin
 
eiszeit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 140
File comments: 159
Uploads: 9
Ah, okay. Danke für die Info.
__________________
Lyn • I'm a mess of unfinished thoughts
eiszeit is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: