Download
(37Kb)
Download
Updated: 07-13-10 05:34 PM
Pictures
File Info
Updated:07-13-10 05:34 PM
Created:unknown
Downloads:2,593
Favorites:12
MD5:

Casting Audio Alert

Version: 2.0.3
by: Jashoo [More]

Customize audio alert while casting to indicate Line Of Sight (LoS) or Out of Range (OoR) issues.

Comment by Author:
I've noticed during raids that as a spambot/healbot I would waste a lot of time trying to spam heal someone only to realize I was out of range or my target was out of line of sight. Staring at health bars I rarely looked down at my action bars to notice greyed out keys or any other visual effect.

I went searching for an audio alert addon that would help me react faster when my target was not reachable. Unfortunately I couldn't find one and my guildies told me to write one although I think they might've been joking.

Enjoy!

*****Sound Packs*****

Any mp3 file can be used to alert
player.

To create your own Sound Pack:
1. Create a folder in the CAA\audio\ directory
2. Place the audio file in your new folder.
** The files need to be labeled as:
**** LOS.mp3 for "Line of Sight" alert
**** OOR.mp3 for "Out of Range" alert
3. Edit the localization.lua file
** Add your folder name to the CAA_AUDIO_PACK variable
** Example: CAA_AUDIO_PACK = {"Default", "JRocks", "MyNewFolderName"}

**Note** You will have to restart WoW to load the new folder with your tracks.

v.2.0.3 - 7.13.2010
- Modified Code
- Cleaned up unneccessary test functions

v.2.0.2 - 7.13.2010
- Tested, verified CAA is compatible with 3.3.x
- rev'd version
- created list of upcoming features.

v1.1.0 - 7.29.2008
- Add GUI configurations menu.
- Introduce Sound Pack feature, you can now create a "theme" which can be toggled with a drop down menu (thank you Akryn for your help).
- Added Play Buttons allowing you to sample the current sound.
- Added /caa config to bring up GUI config menu


*****Archived*****

v1.0.3 - 7.25.2008
- First public stable release
- Temporarily removed GUI :(
- Settings are now saved per character.
Optional Files (0)


Post A Reply Comment Options
Unread 08-18-11, 02:47 PM  
Pixol
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 53
Uploads: 8
For anyone who wants a fix, delete everything but the following files:
"caa.lua" file
"caa.toc" file
"audio" folder

Open caa.lua and delete the entire code and put the following code inside.
This strips every GUI option and slash commands but lets you have only the functionality.

Code:
function CAA_Event(self, event, ...)
  local timeStamp, type, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags = select(1,...)
  local failtype = select(15,...)
  if (event=="COMBAT_LOG_EVENT_UNFILTERED") then
    if (type == "SPELL_CAST_FAILED") then
      if(failtype == "Out of range") then
        PlaySoundFile("Interface\\AddOns\\CAA\\audio\\Default\\OOR.mp3", "master");
      elseif(failtype == "Target not in line of sight") then
        PlaySoundFile("Interface\\AddOns\\CAA\\audio\\Default\\LOS.mp3", "master")
      end
    end
  end
end

local CAA_frame = CreateFrame("frame")
CAA_frame:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED");
CAA_frame:SetScript("OnEvent", CAA_Event)
Last edited by Pixol : 08-18-11 at 10:54 PM.
Report comment to moderator  
Reply With Quote
Unread 07-13-10, 06:20 PM  
Jashoo
A Deviate Faerie Dragon
 
Jashoo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 2
Uploads: 2
Originally posted by zohar101
This notifies you once you've tried the cast and failed the first time right? (for either or the reasons). It won't notify you before the cast is done?

It will notify you when you attempt to cast if your target is Out of Range or Line of Sight. It's meant to be used as a replacement audio alert for the WoW default sounds. WoW default sound isn't unique in distinguishing OoR or LoS. Being able to set a unique sound reduces the time to react appropriately to the cast problem.
__________________
Won't you look at me
I'm crazy
But I get the job done
Yeah I'm crazy
But I get the job done
Report comment to moderator  
Reply With Quote
Unread 07-13-10, 06:09 PM  
zohar101
A Cyclonian
 
zohar101's Avatar

Forum posts: 43
File comments: 188
Uploads: 0
This notifies you once you've tried the cast and failed the first time right? (for either or the reasons). It won't notify you before the cast is done?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: