Download
(5Kb)
Download
Updated: 05-10-10 12:38 AM
Pictures
File Info
Updated:05-10-10 12:38 AM
Created:03-31-10 10:44 AM
Downloads:3,903
Favorites:34
MD5:

guSmallBuffs

Version: 1.2.1
by: shanpu [More]
1.2: weapon enchants fixed, consolidated buffs added
Post A Reply Comment Options
Unread 11-04-10, 09:40 AM  
d87
A Chromatic Dragonspawn
 
d87's Avatar
AddOn Author - Click to view AddOns

Forum posts: 163
File comments: 643
Uploads: 42
Report comment to moderator  
Reply With Quote
Unread 11-03-10, 05:23 AM  
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 614
File comments: 167
Uploads: 11
buffs

Sadly this creates an error with Stuf ; ; when it shows debuffs on target.
I hate giving this addon up, I love its simple, easy workability.
Report comment to moderator  
Reply With Quote
Unread 10-29-10, 01:28 AM  
MouzArt
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 8
Uploads: 1
Works like a Charm. Thank you so much!

Here is the full lua file.
Report comment to moderator  
Reply With Quote
Unread 10-27-10, 07:44 AM  
Stormblade
A Kobold Labourer

Forum posts: 0
File comments: 40
Uploads: 0
ok i think i have figured out where to fix this at

line 310
replace
Code:
--f:EnableMouse(true)
if auratype ~= "debuff" then
    f:RegisterForClicks("RightButtonUp")
    f:SetScript("OnClick",function(self,button)
         CancelUnitBuff("player", self.id, self.filter)
    end)
    f:RegisterForClicks("RightButtonUp")
    f.Secure = true
end
with
Code:
--f:EnableMouse(true)
if auratype == "buff" then
    f:RegisterForClicks("RightButtonUp")
    --f:SetScript("OnClick",function(self,button)
        --CancelUnitBuff("player", self.id, self.filter)
    --end)
    f:RegisterForClicks("RightButtonUp")
    f.Secure = true
	
    -- Setup stuff for clicking off buffs
    f:SetAttribute("type", "cancelaura" )
    f:SetAttribute("unit", "player")
end
line 271
replace
Code:
local f = CreateFrame("Button",nil,UIParent)
with
Code:
local f = CreateFrame("Button",nil,UIParent, "SecureActionButtonTemplate")
and last to make the lines come out right
line 124
add
Code:
if btn.SetAttribute then
	btn:SetAttribute("index", i)
end
line 124 area should end up looking something like this
Code:
btn:Show()
        
if btn.SetAttribute then
     btn:SetAttribute("index", i)
end

if gusbDB.consolidate then

hope this helps , all seems to be working
Last edited by Stormblade : 10-27-10 at 01:47 PM.
Report comment to moderator  
Reply With Quote
Unread 10-25-10, 06:06 AM  
chrisaw
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hope this doesn't die!

I've been a fan of guSmallBuffs ever since it came out and it's an absolutely core part of my UI! I have tried the alternatives but the little green bar time indicator is utterly perfect for my needs and works well with all of the buffs.

There are a few alternatives around but for my needs they're either too much or not enough!

I tried the code fixes pasted below but it seems the lines are *WAY* off and best-guess at where the lines should be just borks the AddOn entirely anyway whenever I get a stacking buff. It also seems that the chap who wrote those has gone on to create his own buff bars AddOn so likely wont be back to help us get guSmallBuffs working. :-(

Hopefully this gets revived by either the original author or some form of fan update!
Report comment to moderator  
Reply With Quote
Unread 10-16-10, 08:35 PM  
MouzArt
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 8
Uploads: 1
I can't get it to work with the modification. Could yo please paste the whole lua somewhere?

http://pastebin.com/ in example.
Report comment to moderator  
Reply With Quote
Unread 10-16-10, 08:32 AM  
Ithinuel
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hello,

I have modified some parts of the code in order to correct the cancelAura changes.

On line 103
Code:
	if btn.SetAttribute then
		btn:SetAttribute("index", i)
	end
on line 224
Code:
local f = CreateFrame("Button",nil,UIParent, "SecureActionButtonTemplate")
on line 263:
Code:
    --f:EnableMouse(true)
    if auratype == "buff" then
        f:RegisterForClicks("RightButtonUp")
        --f:SetScript("OnClick",function(self,button)
            --CancelUnitBuff("player", self.id, self.filter)
        --end)
	f:RegisterForClicks("RightButtonUp")
	f.Secure = true
	
	-- Setup stuff for clicking off buffs
	f:SetAttribute("type", "cancelaura" )
	f:SetAttribute("unit", "player")
    end
Last edited by Ithinuel : 10-16-10 at 08:34 AM.
Report comment to moderator  
Reply With Quote
Unread 10-12-10, 10:30 PM  
Orenn
A Kobold Labourer
 
Orenn's Avatar

Forum posts: 1
File comments: 16
Uploads: 0
Originally posted by shanpu
[b]Dunno about positioning, it's on this line:
Code:
f:SetPos(gusbDB[tbl.."_point"], gusbDB[tbl.."_x"], gusbDB[tbl.."_y"])
Alright, I want to love this addon. The bar timer is pretty sexy and it's otherwise highly configurable. *However*! There is no amount of lua editing or pixel-perfect clicking that will allow me to capture the buff frame anchor when it's unlocked. It is barely visible in the upper right corner of my screen; just enough that I cannot grab it and move it.

What are the odds of getting a "center on screen" button? Or maybe just a line of code I can edit that will reposition it 10 pixels to the left XD

Thanks for an otherwise great addon!
Report comment to moderator  
Reply With Quote
Unread 10-07-10, 02:33 PM  
samvx
A Defias Bandit
 
samvx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 118
Uploads: 3
Moar Big Debuff

Hello, gratz very nice addon, a like it. hoW i can change debuff frame size?... ty and sry for my english XD
Report comment to moderator  
Reply With Quote
Unread 08-15-10, 01:58 PM  
Sithas
A Kobold Labourer

Forum posts: 1
File comments: 28
Uploads: 0
This mod is great really slick looking. Would it be possible to add a buff sorting option based on duration?
Report comment to moderator  
Reply With Quote
Unread 06-14-10, 09:42 AM  
Petrah
A Pyroguard Emberseer
 
Petrah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2988
File comments: 334
Uploads: 10
o.0

Can you please fix it to where the normal lua file can be edited for positions? I should be able to edit that file, reload the UI, and see my changes.
__________________
♪~ ( ) I My Sonos!
AddOn Authors: If your addon spams the chat box with "Addon v8.3.4.5.3 now loaded!", please add an option to disable it!
Last edited by Petrah : 06-14-10 at 09:43 AM.
Report comment to moderator  
Reply With Quote
Unread 06-13-10, 11:01 PM  
shanpu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 5
these are defaults, you should edit file in saved variables
Last edited by shanpu : 06-13-10 at 11:05 PM.
Report comment to moderator  
Reply With Quote
Unread 06-13-10, 12:51 PM  
Petrah
A Pyroguard Emberseer
 
Petrah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2988
File comments: 334
Uploads: 10
Thank you!

For moving them, I thought you edited the x and y offsets here?

local defaults = {
buffs_point = "CENTER",
buffs_x = 0,
buffs_y = 0,
debuffs_point = "CENTER",
debuffs_x = 100,
debuffs_y = 100,
growthy = "BOTTOM",
growthx = "LEFT",
orientation = "HORIZONTAL",
maxlength = 16,
gap = 8,
width = 30,
height = 25,
--~ hideblizzard = true,
consolidate = false,
}
I changed them to this, and the pet buff bar won't move. At the moment they are stuck in the center of my screen.

local defaults = {
buffs_point = "TOPLEFT",
buffs_x = -50,
buffs_y = -10,
debuffs_point = "TOPLEFT",
debuffs_x = -133,
debuffs_y = -138,
growthy = "BOTTOM",
growthx = "RIGHT",
orientation = "HORIZONTAL",
maxlength = 16,
gap = 8,
width = 30,
height = 25,
--~ hideblizzard = true,
consolidate = false,
}
__________________
♪~ ( ) I My Sonos!
AddOn Authors: If your addon spams the chat box with "Addon v8.3.4.5.3 now loaded!", please add an option to disable it!
Last edited by Petrah : 06-13-10 at 01:08 PM.
Report comment to moderator  
Reply With Quote
Unread 06-13-10, 06:52 AM  
shanpu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 5
Originally posted by Petrah
I tried changing the x and y offsets in the lua file as I would rather move them that way, but no matter what you change it to, they don't move.
Dunno about positioning, it's on this line:
Code:
f:SetPos(gusbDB[tbl.."_point"], gusbDB[tbl.."_x"], gusbDB[tbl.."_y"])
you can try replacing it with usual setpoint (tbl is either "buff" or "debuff" i think)
What are the chances of getting another addon identical to this one accept for pets? I'm using this with Tukui and play a pet class... would really love to have buffs/debuffs just like these for my pet on the opposite side of the top of my screen.
http://www.mediafire.com/file/zzgymd...lBuffs_Pet.zip
There may be bugs tho...
Also someone asked about target. You can edit this pet clone:
- replace all "pet" unit occurencies with "target"
- replace :RegisterEvent("UNIT_PET") event with PLAYER_TARGET_CHANGED
- add
Code:
function guSBpet.PLAYER_TARGET_CHANGED(self, event, unit)
    self:UNIT_AURA(nil,"target")
end
Report comment to moderator  
Reply With Quote
Unread 06-13-10, 12:02 AM  
Petrah
A Pyroguard Emberseer
 
Petrah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2988
File comments: 334
Uploads: 10
I tried changing the x and y offsets in the lua file as I would rather move them that way, but no matter what you change it to, they don't move.

What are the chances of getting another addon identical to this one accept for pets? I'm using this with Tukui and play a pet class... would really love to have buffs/debuffs just like these for my pet on the opposite side of the top of my screen.
__________________
♪~ ( ) I My Sonos!
AddOn Authors: If your addon spams the chat box with "Addon v8.3.4.5.3 now loaded!", please add an option to disable it!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: