Quick google search...and boom. Found a way to do it.
Just tested it out and worked as soon as a Call to Arms popped up. With your permission I can let people know how to do it. Saw there was a few other requests.
NOTE: I used a sound file that exists in WoW (YOU ARE NOT PREPARED -Illidan)
I removed this line: PlaySoundFile(LSM:Fetch("sound", self.db.profile.soundKey), channel) Replaced it with: PlaySoundFile("Sound\\Creature\\Illidan\\BLACK_Illidan_04.wav")
Honestly didn't think it would work at first...but sure enough...when CTA popped I heard it.
It's been working great until MoP-patch, but now im getting this error, any ideas?
I have downloaded the latest verson..
Message: ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:20: Cannot find a library instance of "AceGUI-3.0". Time: 08/31/12 19:10:43 Count: 1 Stack: [C]: in function `error' ...\AddOns\LFGCallToArmsBroker\libs\LibStub\LibStub.lua:38: in function `LibStub' ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:20: in main chunk
Locals: (*temporary) = "Cannot find a library instance of "AceGUI-3.0"."
Did your set of addons change with MoP (e.g. no longer loading out-of-date addons or something)? It's possible that there's an ordering issue with the dependent library loads that only shows up if this is the only (or first) Ace3 addon, but I would have expected to hear about this sooner if this is the case.
I just published an alpha that fixes the obvious error. I haven't had a chance to see if it function correctly beyond that. The alpha should be syndicated here to Curse as 1.0.3a1.
Actually the "RAID_ROSTER_UPDATE" event was removed along with the "PARTY_MEMBERS_CHANGED" event the event to use is "GROUP_ROSTER_UPDATE". This event is used for both party and raid group updates.
You can get rid of line 99 - self:RegisterEvent("PARTY_MEMBERS_CHANGED", "GroupMakeupChanged")
Line 100 shoud be changed to self:RegisterEvent("GROUP_ROSTER_UPDATE", "GroupMakeupChanged")
That's good to know, thanks. I'll make the change and shove out a2. I doubt I'll have time to actually do any dungeons until this weekend though so I won't be able to really test it.
This addon does not ship any sounds itself (mostly because I don't have any that are a) any good and b) something I have the rights to ship). But any other addon that uses LibSharedMedia and contains sounds will have its sounds made available to LFG Call to Arms Broker. For example, Omen registers 14 sounds.
I use no other Add-on, that is using LibSharedMedia. How is it possible, to register own sounds or can you define a standard filename in the LFG directory, so i can copy my file to that location.
Thank you for that addon, but I've got a few troubles.
When I press Ctrl-S, I see "Sound Effects Disabled" and after that addon won't sound alarming me when necessary. I have check on "Play sound when muted".
And second, could you please make sound alarm like 2x-3x louder? I prefer to listen to music while playing and currently sound alarm is too quiet.
I'm sorry you're having problems. When the sound is not playing, is the volume for the master channel in WoW still set high enough to be audible? "Play sound when muted" causes the addon to switch from the sound effects channel to the master channel, so it's still affected by the general volume level.
As for making the sound louder, unfortunately that is not possible. Blizzard provides no way to control the loudness of a given alert. All you can do is adjust your sound effects or master channel volumes.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Quick google search...and boom. Found a way to do it.
Just tested it out and worked as soon as a Call to Arms popped up. With your permission I can let people know how to do it. Saw there was a few other requests.
NOTE: I used a sound file that exists in WoW (YOU ARE NOT PREPARED -Illidan)
Sure thing. What did you do? My understanding is a lua addon has to register the sound explicitly, even if it's a built-in sound.
I removed this line: PlaySoundFile(LSM:Fetch("sound", self.db.profile.soundKey), channel)
Replaced it with: PlaySoundFile("Sound\\Creature\\Illidan\\BLACK_Illidan_04.wav")
Honestly didn't think it would work at first...but sure enough...when CTA popped I heard it.
Oh, you just sidestepped LibSharedMedia entirely. Clever.
Hehe...wouldn't call it clever. Lucky maybe. Just chose the right line.
Hope this helps. :)
Tnx for a great addon!
It's been working great until MoP-patch, but now im getting this error, any ideas?
I have downloaded the latest verson..
Message: ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:20: Cannot find a library instance of "AceGUI-3.0". Time: 08/31/12 19:10:43 Count: 1 Stack: [C]: in function `error' ...\AddOns\LFGCallToArmsBroker\libs\LibStub\LibStub.lua:38: in function `LibStub' ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:20: in main chunk
Locals: (*temporary) = "Cannot find a library instance of "AceGUI-3.0"."
Did your set of addons change with MoP (e.g. no longer loading out-of-date addons or something)? It's possible that there's an ordering issue with the dependent library loads that only shows up if this is the only (or first) Ace3 addon, but I would have expected to hear about this sooner if this is the case.
Does installing Ace3 directly through Curse cause the problem to go away? http://www.curse.com/addons/wow/ace3
Yes, this is the only Ace3 addon.
Problem solved by downloading Ace3 from curse
Thanks for the help!
Glad to hear it. I also put out 1.0.1a3 which reoders the Ace3 dependencies and hopefully fixes your problem.
This appears to be broken in 5.0.4. Any chance of an update?
I just published an alpha that fixes the obvious error. I haven't had a chance to see if it function correctly beyond that. The alpha should be syndicated here to Curse as 1.0.3a1.
Actually the "RAID_ROSTER_UPDATE" event was removed along with the "PARTY_MEMBERS_CHANGED" event the event to use is "GROUP_ROSTER_UPDATE". This event is used for both party and raid group updates.
You can get rid of line 99 - self:RegisterEvent("PARTY_MEMBERS_CHANGED", "GroupMakeupChanged")
Line 100 shoud be changed to self:RegisterEvent("GROUP_ROSTER_UPDATE", "GroupMakeupChanged")
That's good to know, thanks. I'll make the change and shove out a2. I doubt I'll have time to actually do any dungeons until this weekend though so I won't be able to really test it.
I've had the v1.0.3a2 beta version running for a while and it has been accurately giving notifications.
not sure if i have add on..how do i check?
hiho, some of my buddys can't choose any sounds, any idea?
This addon does not ship any sounds itself (mostly because I don't have any that are a) any good and b) something I have the rights to ship). But any other addon that uses LibSharedMedia and contains sounds will have its sounds made available to LFG Call to Arms Broker. For example, Omen registers 14 sounds.
I use no other Add-on, that is using LibSharedMedia. How is it possible, to register own sounds or can you define a standard filename in the LFG directory, so i can copy my file to that location.
Thanks for this Add-On !!!
Thank you for that addon, but I've got a few troubles.
When I press Ctrl-S, I see "Sound Effects Disabled" and after that addon won't sound alarming me when necessary. I have check on "Play sound when muted".
And second, could you please make sound alarm like 2x-3x louder? I prefer to listen to music while playing and currently sound alarm is too quiet.
Thanks again.
Hi gjytltkmybr,
I'm sorry you're having problems. When the sound is not playing, is the volume for the master channel in WoW still set high enough to be audible? "Play sound when muted" causes the addon to switch from the sound effects channel to the master channel, so it's still affected by the general volume level.
As for making the sound louder, unfortunately that is not possible. Blizzard provides no way to control the loudness of a given alert. All you can do is adjust your sound effects or master channel volumes.