ChatSounds
Description
I often miss guild and party messages popping up on my screen since they don't make a sound.
I figured I'd make a mod to solve the problem. :)
Features
- Can play new sounds for
- Whispers
- Guild
- Officer
- Party and Party Leader
- Raid and Raid Leader
- Battlegrounds and BG Leader
- Custom player joined channels
- Force Whisper sounds for every whisper.
- Blacklist specific custom channels (for example hidden channels joined by addons)
- Allows users to /r after sending a whisper without getting a reply.
- Has a Configuration Dialog Box which is accessible through the comic bubble icon next to the Chat Frame.
- Saves its settings per character.
Configuration
- Click the comic bubble icon on top of the Chat Frame and select 'ChatSounds' from the menu.
- '/chatsounds' at the command prompt.
- '/chatsounds ?' will give help for extra commands.
ChatSounds blocked from using PartyMemberFrame1:Show()
Count: 4
Call Stack:
[C]: in function `Show'
Interface\FrameXML\PartyMemberFrame.lua:117: in function `PartyMemberFrame_UpdateMember'
Interface\FrameXML\PartyMemberFrame.lua:318: in function `PartyMemberFrame_OnEvent'
[string "*:OnEvent"]:1: in function `OnEvent'
Interface\FrameXML\UnitFrame.lua:417: in function <Interface\FrameXML\UnitFrame.lua:415>
ChatSounds blocked from using PartyMemberFrame1:SetAttribute()
Count: 2
Call Stack:
[C]: in function `SetAttribute'
Interface\FrameXML\UnitFrame.lua:64: in function `UnitFrame_SetUnit'
Interface\FrameXML\PartyMemberFrame.lua:44: in function `PartyMemberFrame_ToPlayerArt'
Interface\FrameXML\PartyMemberFrame.lua:27: in function `PartyMemberFrame_UpdateArt'
Interface\FrameXML\PartyMemberFrame.lua:319: in function `PartyMemberFrame_OnEvent'
[string "*:OnEvent"]:1: in function `OnEvent'
Interface\FrameXML\UnitFrame.lua:417: in function <Interface\FrameXML\UnitFrame.lua:415>
It goes on to repeat for 25 different frames, like all party members, pet frame, etc.
It's because Carbonite is joining a custom channel.
(and additionally hides it from the chatframe so you don't notice it)
This is "old addon" behavior, no addon does it since WoW 2.x.
Anyway in 0.4.0 you can '/chatsounds channelname' to blacklist specific channels like the carbonite one,
and keep sounds for other custom channels used by players and not addons.
Thank you for the instructions in the comments here, I was able to get it to work for Party-Leader chats.
If someone ever takes it over or starts working on it again, I would love to see sounds for earned achievements.
Great add-on, and one of my favorites. I highly recommend it to everyone.
(1) Open up ChatSounds.lua and find this line:
self:RegisterEvent("CHAT_MSG_PARTY")
...and after it, put this line:
self:RegisterEvent("CHAT_MSG_PARTY_LEADER")
(2) Find this line:
if (arg2 == UnitName ("player")) then
...and BEFORE it, add this line:
if msgtype == "PARTY_LEADER" then msgtype = "PARTY" end
That sound do it.
Can you please get in touch with WoWMatrix so as to enable their client to work with your add-on?
I like your add-on a lot. However, my aim playing WoW isn't about spending hours downloading add-ons, but hours playing it.
Thus - unless it can be included in my regular WoWmatrix update run, I will stop using it and encourage everyone doing same.
Cheers,
N.
-Allows users to /r after sending a whisper without getting a reply.
What does that mean? :/ Also, is there a way to preview the sounds?