1. #10621
    Deleted
    Quote Originally Posted by draiol View Post
    I'm looking for a mod I saw that someone else had while I was lowbie tanking. It automatically told if someone used a taunt. These days I have so many issues with hunters leaving growl on so it would be nice to have an addon that lets me know if the pet is stealing my aggro or not.
    BadPet

    Taunt Tattle Rehashed

  2. #10622
    Quote Originally Posted by Panacia View Post
    Try resetting the position on your hunter via /recount gui. This happens to me periodically, and ResetPos always fixes it.
    God, finally working! - thank you very much!

  3. #10623
    This is pretty much abandoned.

    UTOPIA (sorry can't post links yet)

    Any chance of an alternative or someone who can update/tweak it a bit for 5.0?
    RBS does sort of its job, but no debuffs tracking and hasn't this awesome icon box for quick look whats missing from buffs that CAN be applied. (Utopia users know what im talking about).

    Im desperately looking for an alternative

  4. #10624
    Quote Originally Posted by TellyTop View Post
    (...) (...)
    Btw. anyone knows what's that font name?

  5. #10625
    Quote Originally Posted by ultek View Post
    Btw. anyone knows what's that font name?
    Prototype is teh name!

  6. #10626
    Deleted
    Quote Originally Posted by Panacia View Post
    Thank you!

  7. #10627
    Looking for a lua guy to help me solve an issue; I've got an addon that tracks several different absorbs on my DK. It was made for me by a friend who no longer plays the game. Now with Monks, I'd like to add "Guard" as a possible absorb instead of Blood Shield when I'm playing my Monk.

    Would this require extensive rewrite? Would appreciate if anyone could take a look at the code.

    http://pastebin.com/pNFFUbPp

  8. #10628
    Deleted
    Not really. Just replace name and icon for Blood Shield in the table near the top and you should be good to go.

  9. #10629
    Deleted
    nvm I figured it out myself.
    Last edited by mmocaa84e3d5fa; 2012-11-06 at 02:21 PM.

  10. #10630
    Quote Originally Posted by Treeston View Post
    Not really. Just replace name and icon for Blood Shield in the table near the top and you should be good to go.
    Really don't want to rewrite it every single time i switch character (since I play both). Would this work?

    http://pastebin.com/fx2Av2Q8

  11. #10631
    Is there ANY Auction Addon that has been updated to work for Caged Pets?

    I'm getting sick of having to manually look up, price, etc. all of my duplicate pets. :S

    I've checked Auctioneer and Auctionator, neither have received any comments from the creator since September. AuctionMaster's creator says he has to rewrite the code because all pet cages are labeled as "Pet Cage", so if you enter an auction for one of them, it will sell all of them for the same price. :S

    @Denalion: Why not just copy the add-on, and enable one for your monk and one for your death knight? You can custom choose which addons are active on which characters.

    Keep in mind, your death knight can also gain guard from the Ox Statue a monk places, so you might want to include that in your Death Knight one as well. I was getting guarded like crazy last night on my rogue.
    Last edited by Myzou; 2012-11-07 at 10:22 AM.

  12. #10632
    Deleted
    Quote Originally Posted by Denalian View Post
    Really don't want to rewrite it every single time i switch character (since I play both). Would this work?

    http://pastebin.com/fx2Av2Q8
    While I didn't test this, it should work.

    Code:
    -- Absorb Field
    -- Author: Kar (EU-Silvermoon)
    
    local amountAbsorb, totalAbsorb
    local UnitBuff = UnitBuff
    local UnitExists = UnitExists
    
    local spells = {
    	{
    		["Name"] = "Blood Shield",
    		["Icon"] = "spell_deathknight_butcher2",
    	},
    	{
    		["Name"] = "Guard",
    		["Icon"] = "ability_monk_guard",
    	},
    	{
    		["Name"] = "Power Word: Shield",
    		["Icon"] = "spell_holy_powerwordshield",
    	},
    	{
    		["Name"] = "Divine Aegis",
    		["Icon"] = "spell_holy_devineaegis",
    	},
    	{
    		["Name"] = "Illuminated Healing",
    		["Icon"] = "spell_holy_absolution",
    	},
    	{
    		["Name"] = "Sacred Shield",
    		["Icon"] = "ability_paladin_blessedmending",
    	},
    	{
    		["Name"] = "Total",
    		["Icon"] = "spell_arcane_arcaneresilience",
    	},
    }
    
    local function Absorb_SavePosition(frame)
    	
    	AbsorbField_Settings[frame.Unit.."PosX"] = frame:GetLeft()
    	AbsorbField_Settings[frame.Unit.."PosY"] = frame:GetBottom()
    	
    end
    
    local function Absorb_FormatValue(value)
    
    	if value > 999 then
    		value = value / 1000
    		if value < 100 then
    			value = format("%.1fk",value)
    		else
    			value = format("%.0fk",value)
    		end		
    	end	
    			
    	return value
    
    end
    
    local hide_if_zero = true
    local hidden_alpha = 0
    local full_alpha = 1
    local focus_hidedetails = true
    
    local function Absorb_UpdateAbsorbs(unit)
    
    	totalAbsorb = 0
    
    	for i = 1, 4 do
    		if UnitBuff(unit, spells[i]["Name"]) then
    			amountAbsorb = select(14, UnitBuff(unit, spells[i]["Name"]))
    			totalAbsorb = totalAbsorb + amountAbsorb
    			if(unit == "focus" and focus_hidedetails) then
    				_G["AbsorbField"..unit.."_Frame"..i.."Coloumn"]:Hide()
    			else
    				_G["AbsorbField"..unit.."_Frame"..i.."Coloumn"]:Show()
    				_G["AbsorbField"..unit.."_Frame"..i.."Coloumn"].Amount:SetText(Absorb_FormatValue(amountAbsorb))
    				_G["AbsorbField"..unit.."_Frame"..i.."Coloumn"].Amount:SetTextColor(0.2, 1.0, 0.2)
    				_G["AbsorbField"..unit.."_Frame"..i.."Coloumn"].Icon:SetDesaturated(nil)
    			end
    		else
    			if(unit == "focus" and focus_hidedetails) then
    				_G["AbsorbField"..unit.."_Frame"..i.."Coloumn"]:Hide()
    			else
    				_G["AbsorbField"..unit.."_Frame"..i.."Coloumn"]:Show()
    				_G["AbsorbField"..unit.."_Frame"..i.."Coloumn"].Amount:SetText("0")
    				_G["AbsorbField"..unit.."_Frame"..i.."Coloumn"].Amount:SetTextColor(0.4, 0.4, 0.4)
    				_G["AbsorbField"..unit.."_Frame"..i.."Coloumn"].Icon:SetDesaturated(true)
    			end
    		end
    	end
    	
    	if totalAbsorb > 0 then
    		_G["AbsorbField"..unit.."_Frame7Coloumn"].Amount:SetText(Absorb_FormatValue(totalAbsorb))
    		_G["AbsorbField"..unit.."_Frame7Coloumn"].Amount:SetTextColor(0.1, 0.7, 1.0)
    		_G["AbsorbField"..unit.."_Frame7Coloumn"].Icon:SetDesaturated(nil)
    
    		if hide_if_zero then
    			_G["AbsorbField"..unit.."_Frame7Coloumn"]:SetAlpha(full_alpha)
    			for i = 1, 4 do
    				_G["AbsorbField"..unit.."_Frame"..i.."Coloumn"]:SetAlpha(full_alpha)
    			end
    		end
    	else
    		_G["AbsorbField"..unit.."_Frame7Coloumn"].Amount:SetText(0)
    		_G["AbsorbField"..unit.."_Frame7Coloumn"].Amount:SetTextColor(0.4, 0.4, 0.4)
    		_G["AbsorbField"..unit.."_Frame7Coloumn"].Icon:SetDesaturated(true)
    
    		if hide_if_zero then
    			_G["AbsorbField"..unit.."_Frame7Coloumn"]:SetAlpha(hidden_alpha)
    			for i = 1, 4 do
    				_G["AbsorbField"..unit.."_Frame"..i.."Coloumn"]:SetAlpha(hidden_alpha)
    			end
    		end
    	end
    
    
    end
    
    local function Absorb_CreateColumn(icon, name, id, unit)
    
    	local button = CreateFrame("Button", "AbsorbField"..unit.."_Frame"..id.."Coloumn", _G["AbsorbField"..unit.."_Frame"])
    	button:SetWidth(50)
    	button:SetHeight(15)
    	button:SetPoint("LEFT", _G["AbsorbField"..unit.."_Frame"], "LEFT", (id - 1) * 51, 0)
    	button.Name = name
    	button:EnableMouse(false)
    	
    	local texture = button:CreateTexture(nil, "ARTWORK")
    	texture:SetWidth(15)
    	texture:SetHeight(15)
    	texture:SetPoint("LEFT", button, "LEFT", 0, 0)
    	texture:SetTexture("Interface\\Icons\\"..icon)
    	texture:SetDesaturated(true)
    	texture:SetTexCoord(.1, .9, .1, .9)
    	button.Icon = texture
    	
    	local amount = button:CreateFontString(nil, "OVERLAY")
    	amount:SetFont("Interface\\AddOns\\SharedMedia\\fonts\\Homespun.TTF", 10, "OUTLINE")
    	amount:SetText("0")
    	amount:SetTextColor(0.4, 0.4, 0.4)
    	amount:SetPoint("CENTER", button, "CENTER", 7, 0)
    	amount:SetJustifyH("CENTER")
    	button.Amount = amount
    
    	if hide_if_zero then button:SetAlpha(0) end
    	
    end
    
    local function Absorb_CreateField(unit)
    
    	local frame = CreateFrame("Frame", "AbsorbField"..unit.."_Frame", UIParent)
    	frame:SetWidth(254)
    	frame:SetHeight(15)
    	
    	if not AbsorbField_Settings[unit.."PosX"] then
    		if unit == "player" then
    			frame:SetPoint("CENTER", UIParent, "CENTER", 0, 200)
    		else
    			frame:SetPoint("CENTER", UIParent, "CENTER", 0, 150)
    		end
    	else
    		frame:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", AbsorbField_Settings[unit.."PosX"], AbsorbField_Settings[unit.."PosY"])	
    	end
    
    	local texture = frame:CreateTexture(nil, "BACKGROUND")
    	texture:SetAllPoints(true)
    	texture:Hide()
    	frame.Unit = unit
    	frame.BG = texture
    
    	for i = 1, #spells do
    		Absorb_CreateColumn(spells[i]["Icon"], spells[i]["Name"], i, unit)
    	end
    
    	if unit == "focus" then
    		frame:Hide()
    	end
    	
    end
    
    function AbsorbField_SlashHandler(msg)
    
    	msg = string.lower(msg)
    	
    	if msg == "unlock" then
    		AbsorbFieldplayer_Frame:RegisterForDrag("LeftButton")
    		AbsorbFieldplayer_Frame:SetMovable(true)
    		AbsorbFieldplayer_Frame:EnableMouse(true)
    		AbsorbFieldplayer_Frame.BG:SetTexture(0.2, 1.0, 0.2)
    		AbsorbFieldplayer_Frame.BG:Show()
    		AbsorbFieldplayer_Frame:SetScript("OnDragStart", function (self) self:StartMoving() end)
    		AbsorbFieldplayer_Frame:SetScript("OnDragStop", function (self) self:StopMovingOrSizing() Absorb_SavePosition(self) end)
    		AbsorbFieldfocus_Frame:RegisterForDrag("LeftButton")
    		AbsorbFieldfocus_Frame:SetMovable(true)
    		AbsorbFieldfocus_Frame:EnableMouse(true)
    		AbsorbFieldfocus_Frame.BG:SetTexture(0.2, 0.2, 1.0)
    		AbsorbFieldfocus_Frame.BG:Show()
    		AbsorbFieldfocus_Frame:SetScript("OnDragStart", function (self) self:StartMoving() end)
    		AbsorbFieldfocus_Frame:SetScript("OnDragStop", function (self) self:StopMovingOrSizing() Absorb_SavePosition(self) end)
    		AbsorbFieldfocus_Frame:Show()
    	elseif msg == "lock" then
    		AbsorbFieldplayer_Frame:RegisterForDrag(nil)
    		AbsorbFieldplayer_Frame:SetMovable(false)
    		AbsorbFieldplayer_Frame:EnableMouse(false)
    		AbsorbFieldplayer_Frame.BG:Hide()
    		AbsorbFieldplayer_Frame:SetScript("OnDragStart", nil)
    		AbsorbFieldplayer_Frame:SetScript("OnDragStop", nil)
    		AbsorbFieldfocus_Frame:RegisterForDrag(nil)
    		AbsorbFieldfocus_Frame:SetMovable(false)
    		AbsorbFieldfocus_Frame:EnableMouse(false)
    		AbsorbFieldfocus_Frame.BG:Hide()
    		AbsorbFieldfocus_Frame:SetScript("OnDragStart", nil)
    		AbsorbFieldfocus_Frame:SetScript("OnDragStop", nil)
    		if not UnitExists("focus") then
    			AbsorbFieldfocus_Frame:Hide()
    		end
    	end
    
    end
    
    function AbsorbField_OnEvent(self, event, ...)
    
    	if event == "VARIABLES_LOADED" then
    		if not AbsorbField_Settings then
    			AbsorbField_Settings = {}
    		end
    		Absorb_CreateField("player")
    		Absorb_CreateField("focus")
    		self:RegisterEvent("UNIT_AURA")
    		self:RegisterEvent("PLAYER_FOCUS_CHANGED")
    		SlashCmdList["ABSORBFIELDCOMMANDS"] = AbsorbField_SlashHandler;
    		SLASH_ABSORBFIELDCOMMANDS1 = "/abf"
    	elseif event == "UNIT_AURA" then
    		local arg1 = ...
    		if arg1 == "player" then
    			Absorb_UpdateAbsorbs("player")
    		elseif arg1 == "focus" then
    			Absorb_UpdateAbsorbs("focus")
    		end
    	elseif event == "PLAYER_FOCUS_CHANGED" then
    		if UnitExists("focus") then
    			AbsorbFieldfocus_Frame:Show()
    			Absorb_UpdateAbsorbs("focus")
    		else
    			AbsorbFieldfocus_Frame:Hide()
    		end
    	end
    
    end
    
    local frame = CreateFrame("Frame", "AbsorbField")
    frame:SetScript("OnEvent", AbsorbField_OnEvent)
    frame:RegisterEvent("VARIABLES_LOADED")
    If your further want to adjust it, just add any spells you want, then replace references to "Frame7Column" with increasing numbers (correspondent to the index of the "Total" pseudo-spell in the table).

    It's also pretty in-efficient and leaking globals. If you want, I could take a look at it when I have some time.

  13. #10633
    Greetings,

    Im looking for an addon that would reverse the sequence of mails in my mailbox. So the first mail in sequence becomes the last. Any ideas?

  14. #10634
    To clarify: I'm looking for a really basic addon, that I might be able to edit myself, where I could just add "Drops Silk Cloth" to the tooltip on mouse over. I know the very basics of lua but I can't understand how or if this is possible when mousing over a hostile mob.
    Last edited by omni; 2012-11-08 at 04:20 AM.

  15. #10635
    Looking to have Ora3 sort the cooldown tracker based on class rather than duration.

    i.e 3 Warriors drop demo banner all cd's are in the same area of the list no matter the time desparity

  16. #10636
    Recently tranferred from Bartender4 to bBars. Seeing how bBars has very minimal in-game configuration..

    -How would I make the stacks text smaller? Like on pots, healthstones, ect. The numbers are going with a "in your face" attitude.
    -- Screeny --

    -How would I deactivate the fade when the ability is not usable or out of range? I found this code in the addon LUA (not wtf) and I'm pretty sure it has something to do with it. Would I just change the right side to "False" or something?
    Code:
    local IsUsableAction = IsUsableAction
    local IsActionInRange = IsActionInRange

  17. #10637
    Deleted
    You could probably do:
    Code:
    local dummy = function() return true end
    local IsUsableAction = dummy
    local IsActionInRange = dummy
    No guarantees though.

  18. #10638
    Works like a charm, thanks!

  19. #10639
    I feel like I've been here a lot lately. How would I add a 1 pixel black border to DBM timers? With a 1 pixil spacing between each timer? (Can I do this?)

  20. #10640
    Quote Originally Posted by Jeremypwnz View Post
    I feel like I've been here a lot lately. How would I add a 1 pixel black border to DBM timers? With a 1 pixil spacing between each timer? (Can I do this?)
    You can add spacing between the bars in the ingame config of DBM.

    I can't remember exactly how I added my border around the bars, but here is my DBT-Template.xml. This will add a border to your bars, and it will look like this (not the color though):


    I recommend backing up your DBT-Template.xml before trying it out. Just copy the raw paste data at the bottom into your file and it should work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •