none of those addons you suggested did exactly what i wanted so i modified a cooldown mod called pCool.
pCool/bars.lua :
the new function is "reportCoolDown", which is called inside the main update loop.
This is very messy and probably not the way any goood coder would implement a feature like this.
My main issue was preventing the function from spamming chat with my announcement, as detecting wether or not the timer was at 50sec can be called true for about 3-4 iterations of the main update loop.
Any suggetions on cleaning it up or making it standalone are welcome and appreciated.
local reportCoolDown = function(spellId, time)
if(spellId == 18) then
if(time == "51") or (time == "31") or (time == "11") or (time == "6") then
aCount = 1
else
if ( aCount > 0 ) then
msg = "== Fear Ward ready in " .. time .."sec ==";
aCount = 0
end
end
end
if msg then
DEFAULT_CHAT_FRAME:AddMessage(msg)
if(GetZoneText() == "Alterac Valley" ) then
else
if(GetNumRaidMembers() > 0) then
SendChatMessage(msg ,"RAID");
elseif (GetNumPartyMembers()>0) then
SendChatMessage(msg ,"PARTY");
end
end
end
end
local OnUpdate = function(self, elapsed)
self.time = self.time + elapsed
if(self.time > .03) then
now = self.max-GetTime()
if(now >= 0) then
time = formatTime(now)
self.value:SetText(time)
--[[ Begin Cooldown Group Announce
reportCoolDown(self.spellid,time);
--[[ End Cooldown Group Announce
if(self.time == "3.0") then self.value:SetTextColor(.8, .1, .1) end
else
self:update(0)
end
self.time = 0
end
end
I require my party members to be notified, which is why i use your addon.
Actually CastYeller only notifies about cast-related events. Cooldown events are far more complex to handle. Cooldowns can be triggered by casting a spell, but counterspells and silences also trigger the cooldowns of many spells at one time. Plus, a lot of spells have their cooldown linked. And finally, cooldowns can be reset either by using special abilities or entering special areas.
CooldownButtons and GhostPulse handles this specific stuff and they can be used to notify your party/raid. They both uses LibSink for output. LibSink can be configured to forward messages to party/raid channel instead of displaying them on screen.
Adirelle, could that be possible to update castyeller to LibBabble instead of Babble, also, which part exactly is it using cuz currently it's installing the entire Babble lib.
Edit: Apparently it only use BabbleSpell, could you make it use LibBabbleSpell and only install this one instead of the entire lib ?
Adirelle, could that be possible to update castyeller to LibBabble instead of Babble, also, which part exactly is it using cuz currently it's installing the entire Babble lib.
Edit: Apparently it only use BabbleSpell, could you make it use LibBabbleSpell and only install this one instead of the entire lib ?
Oh ok, well thanks, i can just delete them manually anyway as they're not used by any of the addons i use, but what about switching to LibBabble-Spell-3.0 instead of Babble 2.2 ?
I would really love to be able to explicitly say where to output spell cast messages instead of the addon "guessing" depending on what type of group I'm in.
For example, outputing to group and not the raid while I'm in a raid. If I've missed something let me know...
Thank you for your time and for this great addon! :)
CastYeller still doesn't work on german client (with paladin).
I added some dependencies that seem to be missing.
Firstly, did you enable the "show lua error" ? Is there any error about CastYeller ?
Secondly, is it clear that Divine Intervention, Blessing of Protection and Lay on Hands are only announced while you are in combat ?
Thirdly, install the Ace2 standalone library, it contains the AceDebug module. Then you can enable the Debug mode in CastYeller. Could you report here the debug output at startup and when you cast one of the announced spells please ?
Ok, so I whipped up an english version of the paladin announces (why have noone done it before me??)
I have collect some of the announces from diffrent sources during my play time, so I can not take credit for the full work. And is it possible to call the players name, with say $PLAYER? This is the my first time editing an addon, so I have no idea.
Oh, and would it be possible to have it announce without the <<< >>> things? As an option ofc, since I will bet not everyone thinks as me.
Ok, so I whipped up an english version of the paladin announces (why have noone done it before me??)
I have collect some of the announces from diffrent sources during my play time, so I can not take credit for the full work.
I added them.
Quote from Fazupala »
And is itpossible to call the players name, with say $PLAYER? This is the my first time editing an addon, so I have no idea.
Added it, though I don't see exactly how it will be useful.
Quote from Fazupala »
Oh, and would it be possible to have it announce without the <<< >>> things? As an option ofc, since I will bet not everyone thinks as me.
I'm rewriting the internal announce declarations to use spell ids. It should help to get rid of the Babble-Spell library and to handle items. In the meantime, expect some failures and some configuration loss (related only to built-in announces).
I added some dependencies that seem to be missing.
Firstly, did you enable the "show lua error" ? Is there any error about CastYeller ?
Secondly, is it clear that Divine Intervention, Blessing of Protection and Lay on Hands are only announced while you are in combat ?
Thirdly, install the Ace2 standalone library, it contains the AceDebug module. Then you can enable the Debug mode in CastYeller. Could you report here the debug output at startup and when you cast one of the announced spells please ?
I installed the latest version today and it seems to work fine now. :)
So, I played around a bit with the paladin.lua and ended up with no announces at all. I can't find any errors in my text, I'm just wondering if there is any way in with I could have messed it up by using tabs and enter to make it more easy to read for me? If so, is there perhaps a program that is better suited for editing the notepad?
That's not the purpose of this addon but you could take a look at CooldownButton or GhostPulse.
pCool/bars.lua :
the new function is "reportCoolDown", which is called inside the main update loop.
This is very messy and probably not the way any goood coder would implement a feature like this.
My main issue was preventing the function from spamming chat with my announcement, as detecting wether or not the timer was at 50sec can be called true for about 3-4 iterations of the main update loop.
Any suggetions on cleaning it up or making it standalone are welcome and appreciated.
I do not need to be told when my own cooldowns are ready...which is what the addons you suggested does.
I require my party members to be notified, which is why i use your addon.
Why not include this?
Actually CastYeller only notifies about cast-related events. Cooldown events are far more complex to handle. Cooldowns can be triggered by casting a spell, but counterspells and silences also trigger the cooldowns of many spells at one time. Plus, a lot of spells have their cooldown linked. And finally, cooldowns can be reset either by using special abilities or entering special areas.
CooldownButtons and GhostPulse handles this specific stuff and they can be used to notify your party/raid. They both uses LibSink for output. LibSink can be configured to forward messages to party/raid channel instead of displaying them on screen.
Edit: Apparently it only use BabbleSpell, could you make it use LibBabbleSpell and only install this one instead of the entire lib ?
See http://www.wowace.com/forums/index.php?topic=7015.msg225483#msg225483.
For example, outputing to group and not the raid while I'm in a raid. If I've missed something let me know...
Thank you for your time and for this great addon! :)
Is there a way to fix this problem?
CastYeller still doesn't work on german client (with paladin).
I added some dependencies that seem to be missing.
Firstly, did you enable the "show lua error" ? Is there any error about CastYeller ?
Secondly, is it clear that Divine Intervention, Blessing of Protection and Lay on Hands are only announced while you are in combat ?
Thirdly, install the Ace2 standalone library, it contains the AceDebug module. Then you can enable the Debug mode in CastYeller. Could you report here the debug output at startup and when you cast one of the announced spells please ?
Ok, so I whipped up an english version of the paladin announces (why have noone done it before me??)
I have collect some of the announces from diffrent sources during my play time, so I can not take credit for the full work. And is it possible to call the players name, with say $PLAYER? This is the my first time editing an addon, so I have no idea.
Oh, and would it be possible to have it announce without the <<< >>> things? As an option ofc, since I will bet not everyone thinks as me.
Thank you.
I added them.
Added it, though I don't see exactly how it will be useful.
Done.
I installed the latest version today and it seems to work fine now. :)
Thanks very much for your help!