Quantcast
Download
(3 Kb)
Download
Updated: 11-15-16 08:23 PM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.0)
Updated:11-15-16 08:23 PM
Created:11-17-10 04:06 PM
Downloads:23,739
Favorites:136
MD5:
7.1.0

rBuffFrame  Popular! (More than 5000 hits)

Version: 710.20161116
by: zork [More]


Intro

rBuffFrame is a framework for Blizzard player aura buttons. It does nothing on its own, needs a layout.

Layout:
API documentation
https://github.com/zorker/rothui/blo...rame/README.me (Check the layouts for examples)
Quick-Links
rActionBar, rActionBar_Default, rActionBar_Zork, rBuffFrame, rBuffFrame_Default, rBuffFrame_Zork, rButtonTemplate, rButtonTemplate_Default, rButtonTemplate_Zork
Requires
rLib
Git
https://github.com/zorker/rothui/tre...7.0/rBuffFrame

Optional Files (2)
File Name
Version
Size
Author
Date
Type
710.20161027
955B
10-27-16 12:40 PM
Addon
700.20161004
975B
10-04-16 06:16 AM
Addon


Archived Files (16)
File Name
Version
Size
Author
Date
710.20161027
2kB
zork
10-27-16 12:40 PM
700.20161004
2kB
zork
10-04-16 06:13 AM
60000.01a
14kB
zork
10-24-14 07:55 PM
50400.01
14kB
zork
09-16-13 04:56 AM
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 01-10-11, 12:33 PM  
ronjon
A Murloc Raider

Forum posts: 4
File comments: 42
Uploads: 0
Any chance you could give the option to have this addon applied to target frame buffs/debuffs?
Report comment to moderator  
Reply With Quote
Unread 12-27-10, 03:20 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Guys this are the default aura icons just styled. Use another buff mod.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 12-27-10, 01:40 AM  
groin
A Cyclonian
AddOn Compiler - Click to view compilations

Forum posts: 45
File comments: 86
Uploads: 3
Originally posted by Ets
Hello.

Is there a plan to make separate frames for buffs and debuffs. If there isn't, how much work of yours could I simply "copy" to get such a result.

I'm seeing a great deal of symmetry in your code and I'm inferring that it'd be possible to "scavenge" a great deal of your code to add-in a debuff frame.

I have very very limited lua experience and my coding days were few and are far far behind. In other words, I find myself able to read code with little trouble, but writing my own (or even just modifying) is a real pita.

In any case, thank you very much for all the work you've done.
i have the same necessity, debuffs on topright are not easy to see quickly.
Report comment to moderator  
Reply With Quote
Unread 12-26-10, 11:47 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
There are two ways of a hard reset.

1) Open the config.lua and change the "userplaced" variable to false. That way your positions will reset.

or 2) Delete the layout-local.txt under your WTF/account/server/char folders. But this may delete some other settings aswell.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 12-24-10, 01:23 AM  
Falcula
A Kobold Labourer

Forum posts: 1
File comments: 4
Uploads: 0
Just downloaded this and am having a bit of a problem. My buffs were in the top-right corner of the screen, extending off the screen to the right. I couldn't find an anchor with /rbuff unlock. Tried switching to fullscreen mode to see if I could reach it, and now all buffs have evidently moved completely off the screen. There's nothing there now. How do I pull them back to where I can get to them?
Report comment to moderator  
Reply With Quote
Unread 12-18-10, 07:46 PM  
Ets
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Hello.

Is there a plan to make separate frames for buffs and debuffs. If there isn't, how much work of yours could I simply "copy" to get such a result.

I'm seeing a great deal of symmetry in your code and I'm inferring that it'd be possible to "scavenge" a great deal of your code to add-in a debuff frame.

I have very very limited lua experience and my coding days were few and are far far behind. In other words, I find myself able to read code with little trouble, but writing my own (or even just modifying) is a real pita.

In any case, thank you very much for all the work you've done.
Report comment to moderator  
Reply With Quote
Unread 12-17-10, 06:49 PM  
Risil
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Growth

First of all, I love your AddOn, really like the style.
Now I do have a simple qeustion, maybe I'm overlooking something, but how do I make the buffs go from the left to the right? So I can position my buffs in the left top corner.

Cheers!
Report comment to moderator  
Reply With Quote
Unread 12-17-10, 05:38 PM  
Bytales
A Murloc Raider

Forum posts: 4
File comments: 60
Uploads: 1
Where in the lua files can i set the exact pixel coordonates of the upperright corner of the buff and tempenchant frame.

For instance my rez is 1920x1080, and i want the upper right corner of the buff frame to be at x=1715 and y=1075.
Report comment to moderator  
Reply With Quote
Unread 12-16-10, 06:29 AM  
Silverdragn
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
Fishing pole enchant

Whenever I apply an enchant to the fishing pole it will show the buff over top of the current buff that's at the far right on the list. I can click the other buff and it will move these to the top and then hide the Fishing enchant. I can't get the tempenchant to move away from my mini map that is at the bottom of the screen. I thought I had solved this and got it to work perfectly when i just deleted the temp enchant line and had it move with the rest of the buff then that just made the entire addon not work at all.

I just want tempEnchant to move back to the default wow it is handled in wow is all I am really asking and still keep the functionality of the addon.

Also does the media files for rActionButtonStyler work for this? If not Where can i find media files that will?
Last edited by Silverdragn : 12-16-10 at 06:37 AM.
Report comment to moderator  
Reply With Quote
Unread 12-14-10, 05:31 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
You need a RGB to HEX function (you can get that from rDiabloPlates).

line 25
http://code.google.com/p/rothui/sour...core.lua?r=667

This is needed to calculate the hexadecimal color value of your classcolor once which comes in rgb. Once you have that value you can add color to a string.

Open rBuffFrameStyler/func/functions.lua and go to this
Code:
  --check duration
  local function durationSetText(duration, arg1, arg2)
    duration:SetText(format(string.gsub(arg1, " ", ""), arg2))
  end
to
Code:
  --check duration
  local function durationSetText(duration, arg1, arg2)
    duration:SetText(format("|cff"..MY_CLASS_COLOR..string.gsub(arg1, " ", "").."|r", arg2))
  end
my_class_color would be the local variable that you saved the hexadecimal color value in.

Advanced only. But doable.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 12-14-10 at 05:31 AM.
Report comment to moderator  
Reply With Quote
Unread 12-14-10, 01:51 AM  
Porsha
A Black Drake

Forum posts: 88
File comments: 106
Uploads: 0
quick question - I have classcolored = true in the config but my duration is still the yellow color. I thought that option changed the text to class colored?

If not, how can I do that? thanks!
Report comment to moderator  
Reply With Quote
Unread 12-12-10, 04:15 PM  
Bytales
A Murloc Raider

Forum posts: 4
File comments: 60
Uploads: 1
I have built in display capability of displaying 36 Buffs, 8 debuffs, and 8 tempenchants. Do you think i will ever break these values, or are these the most i will ever see.

I have seen a screenshot of a tanking warrior i believe it was, and it had 21 buffs in 1 debuff. So i dont think i will ever have on me more than 36 buffs and 8 debuffs at one time.

Also i have made the graphics UI able to display 8 temp enchants ? Isn\t that way to much ?

I have never raided before, wo thats why im asking how many buffs im suppose to see on me at the very most.

So if there are ppl here who have raided before, it would be interesting to hear from you guys the maximum number of buffs and debuffs you ever had on you, all though i think with 36 buffs, 8 debuffs, 8 temp enchants i will be pretty much covered.
Report comment to moderator  
Reply With Quote
Unread 12-11-10, 01:18 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
You can change the size of your aura icons by changing the scale.
If you enchant your weapons with sth that does not last forever that would be a tempEnchant.
The gap will seperate buff and debuffs by a value.

Don't care to much about values at first. Adjust them in case you want changes.

This mod does nothing but moving/styling the default player auras. So the default player aura settings are still in place. Afaik 32 buff slots and 16 debuff slots...and yes you can change the buffs per row with this mod.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 12-11-10 at 01:20 PM.
Report comment to moderator  
Reply With Quote
Unread 12-10-10, 09:34 PM  
Bytales
A Murloc Raider

Forum posts: 4
File comments: 60
Uploads: 1
How many buffs can the BuffFrameHolder contain ? How are the buff displayed when they are in excess, say 30 buffs ? In lines of 10 ? Or lines or 20 ? THis is what i am asking.

I have noticed in config lua the value is set to 10 so changing that changes max buffs per row. SO when a row get full another row is created beneath it ?

gap = 10, --gap in pixel between buff and debuff

Does that mean 10 pixels beneath the rows with buffs the debuff row is created ?
All the optiones that are set for the buff display are also set for the debuff ? (10 per row for instance )

Also what is the TempEnchant Holder ? What does it display ?

What is the size of a single buff in pixels ? can that be modified ?
Last edited by Bytales : 12-10-10 at 10:05 PM.
Report comment to moderator  
Reply With Quote
Unread 12-06-10, 05:07 AM  
Julchen
A Deviate Faerie Dragon

Forum posts: 17
File comments: 54
Uploads: 0
Im not very well in lua :/
So i add the position of the BuffFrame in the updateBuffAnchors function.
Code:
  local updateBuffAnchors = function()
    --print(BUFF_ACTUAL_DISPLAY)
    local numBuffs = 0
    local buff, previousBuff, aboveBuff
	
	for i = 1, BUFF_ACTUAL_DISPLAY do
      buff = _G["BuffButton"..i]
      buff.consolidated = nil
      buff:SetParent(BuffFrame)
	  buff.parent = BuffFrame
	  buff:ClearAllPoints()
      numBuffs = numBuffs + 1
      index = numBuffs + BuffFrame.numEnchants

      if ((index > 1) and (mod(index, Buff.button.buffPerRow) == 1)) then
        if (index == Buff.button.buffPerRow + 1) then
          buff:SetPoint('TOP', TempEnchant1, 'BOTTOM', 0, -Buff.padding.y)
        else
          buff:SetPoint('TOP', BUFF_ABOVE, 'BOTTOM', 0, -Buff.padding.y)
        end
          aboveBuff = buff
        elseif (numBuffs == 1) then
          buff:SetPoint("TOPRIGHT", BuffFrame, "TOPRIGHT", 0, 0)
		  BuffFrame:SetPoint('TOPRIGHT', _G["TempEnchant"..BuffFrame.numEnchants], 'TOPLEFT', -Buff.padding.x, 0)
        else
          buff:SetPoint("RIGHT", previousBuff, "LEFT", -Buff.padding.x, 0)
        end      
      previousBuff = buff
    end   
  end
...but if i want to add it this way...
Code:
  local function position()
   BuffFrame:SetPoint('TOPRIGHT', _G["TempEnchant"..BuffFrame.numEnchants], 'TOPLEFT', -Buff.padding.x, 0)
  end
...
  local a = CreateFrame("Frame")

  a:SetScript("OnEvent", function(self, event, ...)
    local unit = ...
    if(event=="PLAYER_ENTERING_WORLD") then
      init()
      checkauras()
    end
    if (event=="UNIT_AURA") then
      if (unit == PlayerFrame.unit) then
        checkauras()
      end
	end
	if (event=="PLAYER_ENTERING_WORLD" or event=="UNIT_INVENTORY_CHANGED") then
	    position()
	end
  end)

  a:RegisterEvent("PLAYER_ENTERING_WORLD")
  a:RegisterEvent("UNIT_AURA")
  a:RegisterEvent("UNIT_INVENTORY_CHANGED")
it doesnt work right (doesnt update the position) - I think there is something missing in the position function but dont know what.
If i add
Code:
if (event=="PLAYER_ENTERING_WORLD" or event=="UNIT_INVENTORY_CHANGED" or event=="UNIT_AURA") then
he only update the position if a buff is updating.
Last edited by Julchen : 12-06-10 at 05:16 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: