Request for Addon/Macro
Moderators: Fridmarr, Worldie, Aergis, _Chloe
6 posts
• Page 1 of 1
Request for Addon/Macro
Ive been looking around for about the last three hours to try and find a macro/addon for my aura mastery
Being that i switch auras during fights, and its helpful for my raid to know which burst damage/silence i am using aura mastery on, Ive been trying to work out a way to say when aura mastery is used, and which aura it is used with
The saying "Aura mastery up/down" part is easy. But for the life of me i cannot work out a way to say which aura it uses.
Normally i would have given up - but im sure i remember a screenshot of someone saying they uses aura mastery with crusader in the middle of a raid. Now i figured they would only announce that if they had some way of auto detecting which aura was in use
I have tried using ThatJustHappened - but cannot get the auras announced.
Is there something im missing - is it impossible?
Any help would be greatly Appreciated.
Kitalia - Blackrock US
Being that i switch auras during fights, and its helpful for my raid to know which burst damage/silence i am using aura mastery on, Ive been trying to work out a way to say when aura mastery is used, and which aura it is used with
The saying "Aura mastery up/down" part is easy. But for the life of me i cannot work out a way to say which aura it uses.
Normally i would have given up - but im sure i remember a screenshot of someone saying they uses aura mastery with crusader in the middle of a raid. Now i figured they would only announce that if they had some way of auto detecting which aura was in use
I have tried using ThatJustHappened - but cannot get the auras announced.
Is there something im missing - is it impossible?
Any help would be greatly Appreciated.
Kitalia - Blackrock US
- Kitalia
- Posts: 3
- Joined: Mon Aug 31, 2009 9:50 pm
Re: Request for Addon/Macro
It is certainly possible to do, but I have no idea what mod you could use. It would go off of what stance you are in as auras are the paladin version of stances (druids have animal forms, rogues have stealth, warriors have...stances). It may be entirely possible to do with a regular in-game macro. I shall go check and see if I can figure out how.
Update: Well crap...apparently as of the 2.o Macro API paladin auras are no longer stances...
YOu will have to use an add-on then.
Update: Well crap...apparently as of the 2.o Macro API paladin auras are no longer stances...


Tuesday maintenance is merely a setback!
-

isiz - Posts: 407
- Joined: Sat Aug 02, 2008 7:51 am
Re: Request for Addon/Macro
That's not entirely true.
http://www.wowwiki.com/API_GetShapeshiftForm
- Code: Select all
GetShapeshiftForm()
http://www.wowwiki.com/API_GetShapeshiftForm
-

_Chloe - Moderator
- Posts: 948
- Joined: Fri Dec 07, 2007 6:36 pm
Re: Request for Addon/Macro
_Chloe wrote:That's not entirely true.
- Code: Select all
GetShapeshiftForm()
http://www.wowwiki.com/API_GetShapeshiftForm
Hmmm, very odd. The list I looked at (on wowwiki too) did not list paladins and specifically said that auras were not considered stances as of the 2.0 API. and yes, stances are the same as forms. I'll go try this out.
Update: ...ok that is the add-on API, not the Macro API. The whole point of my post was to see if it was possible with a macro. So yes, it IS possible with an add-on, but you would have to find one that will let you set it up. I don't have much of a programming background (took Basic and some VERY basic C++ in high school) so I could try to make an add-on for you to do just the announce, but no promises. It would be useful to know what channels it should output to (/raid /p /rw /s /y etc...)


Tuesday maintenance is merely a setback!
-

isiz - Posts: 407
- Joined: Sat Aug 02, 2008 7:51 am
Re: Request for Addon/Macro
Ok so I got some help from Chloe and from some people on the official forums (*gasp* the forums were useful!) and I think I can make the mod now. I just need to first learn how to use frames (running off of Basic experience from like 6 years ago) so I can have it look for the cast in the combat log.


Tuesday maintenance is merely a setback!
-

isiz - Posts: 407
- Joined: Sat Aug 02, 2008 7:51 am
Re: Request for Addon/Macro
If you need to dig through Tankadin2. I wouldn't say it's the most documented code out there, but it should help. Look at the Ninja Frame and apply it to your usage. It's what handles all the RF/Seal/DP etc warnings when the real frames are hidden. Also here's the broadcast code from the new T3 Lib:
and the local warning code
You can use (change the function names) to whatever you need/like.
- Code: Select all
--Main Broadcast Function
--Inputs: message = Message to Send, channels = Channels to send message to (Accepts comma seperated values ie: "RAID, 7, PARTY" localwarning = Send message as a local warning? (boolean value expected)
function Tankadin:Broadcast(message, channels, localwarning)
local bcToTable = { strsplit(",", channels) };
for i=1,getn(bcToTable) do
if (strlower(strtrim(bcToTable[i])) == "raid") or (strlower(strtrim(bcToTable[i])) == "guild") or (strlower(strtrim(bcToTable[i])) == "say") or (strlower(strtrim(bcToTable[i])) == "yell") or (strlower(strtrim(bcToTable[i])) == "party") or (strlower(strtrim(bcToTable[i])) == "emote") then
SendChatMessage(message, strupper(strtrim(bcToTable[i])));
elseif (strlower(strtrim(bcToTable[i])) == "raid") or (strlower(strtrim(bcToTable[i])) == "party")then
if (GetNumRaidMembers() > 0) then
SendChatMessage(message, "RAID");
else
SendChatMessage(message, "PARTY");
end
elseif (strlower(strtrim(bcToTable[i])) == "raid_warning") then
if IsRaidOfficer() or IsRaidLeader() then
SendChatMessage(message, "RAID_WARNING");
end
elseif (strlower(strtrim(bcToTable[i])) == "emote") then
SendChatMessage(message, "EMOTE");
elseif (strlower(strtrim(bcToTable[i])) == "guild") then
SendChatMessage(message, "GUILD");
elseif (strlower(strtrim(bcToTable[i])) == "say") then
SendChatMessage(message, "SAY");
elseif (strlower(strtrim(bcToTable[i])) == "yell") then
SendChatMessage(message, "YELL");
else
SendChatMessage(message, "CHANNEL", nil, GetChannelName(strtrim(bcToTable[i])));
end
end
if localwarning then Tankadin:Message(message) end
end
and the local warning code
- Code: Select all
--Send Messages to the Default Chat Frame
--Inputs: msg = Message to send to the player
function Tankadin:Message(msg)
if msg == nil then
msg = "nil";
end
DEFAULT_CHAT_FRAME:AddMessage("|cFFFFFF00-[Tankadin]- |r"..msg);
end
You can use (change the function names) to whatever you need/like.
-

_Chloe - Moderator
- Posts: 948
- Joined: Fri Dec 07, 2007 6:36 pm
6 posts
• Page 1 of 1
Return to Add-ons, UI, and Macros
Who is online
Users browsing this forum: No registered users and 3 guests