Unfortunately the only way to add sounds is to include them into an addon. But maybe there's some way I can let you modify the addon to include extra sounds. Unfortunately I think doing that would at a minimum require editing a lua file, not just dropping them in (since I'm pretty sure WoW doesn't have a way to inspect the filesystem of the addon).
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.
Thanks again.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Sep 14, 2012Unfortunately the only way to add sounds is to include them into an addon. But maybe there's some way I can let you modify the addon to include extra sounds. Unfortunately I think doing that would at a minimum require editing a lua file, not just dropping them in (since I'm pretty sure WoW doesn't have a way to inspect the filesystem of the addon).
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Sep 14, 2012Quick 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)
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Sep 14, 2012Sure 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.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Sep 14, 2012I 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.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Sep 14, 2012Oh, you just sidestepped LibSharedMedia entirely. Clever.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Sep 14, 2012Hehe...wouldn't call it clever. Lucky maybe. Just chose the right line.
Hope this helps. :)
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 31, 2012Tnx 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"."
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 31, 2012Did 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
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Sep 1, 2012Yes, this is the only Ace3 addon.
Problem solved by downloading Ace3 from curse
Thanks for the help!
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Sep 1, 2012Glad to hear it. I also put out 1.0.1a3 which reoders the Ace3 dependencies and hopefully fixes your problem.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 29, 2012This appears to be broken in 5.0.4. Any chance of an update?
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 29, 2012I 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.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 29, 2012Actually 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")
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 29, 2012That'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.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 30, 2012I've had the v1.0.3a2 beta version running for a while and it has been accurately giving notifications.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 25, 2012not sure if i have add on..how do i check?
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Jul 31, 2012hiho, some of my buddys can't choose any sounds, any idea?
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Jul 31, 2012This 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.
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Aug 8, 2012I 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 !!!
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Jul 25, 2012Thank 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.