FocusInterruptSounds
Makes a sound when your current target (or focus**) starts casting. To configure settings type '/fis' (or go to Interface Options).
Also has basic functionality to announce successful interrupts.
** Use with [target=focus] macros for interrupts (Counterspell, Spell Lock, Wind Shear, ...).
Message: ...AddOns/FocusInterruptSounds/FocusInterruptSounds.lua:1209: attempt to call global 'IsSpellInRange' (a nil value)
Time: Sun Feb 16 15:26:39 2025
Count: 2
Stack: ...AddOns/FocusInterruptSounds/FocusInterruptSounds.lua:1209: attempt to call global 'IsSpellInRange' (a nil value)
[string "@Interface/AddOns/FocusInterruptSounds/FocusInterruptSounds.lua"]:1209: in function `?'
[string "@Interface/AddOns/BattleGroundEnemies/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:109: in function <...ies/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Interface/AddOns/BattleGroundEnemies/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <...ies/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Interface/AddOns/BattleGroundEnemies/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@Interface/AddOns/BigDebuffs/Libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...AddOns/BigDebuffs/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>
Locals: self = <table> {
db = <table> {
}
modules = <table> {
}
str30YardSpellName = "Lightning Bolt"
defaultModuleLibraries = <table> {
}
strAntiCCSpellName = "Grounding Totem"
iInterruptSchool = 8
fCanDepoison = true
fCanDispel = false
fHasPurge = true
strClassName = "SHAMAN"
baseName = "FocusInterruptSounds"
name = "FocusInterruptSounds"
tblLastSoundPlayed = <table> {
}
orderedModules = <table> {
}
enabledState = true
defaultModuleState = true
}
event = "COMBAT_LOG_EVENT_UNFILTERED"
fHandled = true
(*temporary) = nil
(*temporary) = "Lightning Bolt"
(*temporary) = nil
(*temporary) = "attempt to call global 'IsSpellInRange' (a nil value)"
SETTING_MODE_ON = "on"
Getting Lua errors
In reply to ZuluWH: I keep getting this to pop everytime someone cast when I have them on focus
I have the same issue now too. It was working a few days ago but now all of a sudden it completely stopped making any sound to notify when to interrupt.
In reply to waterman790:
What version do you have installed? What spec do you play?
In reply to corgatag: Newest version r154. I play warrior fury spec.
It seems like ever since the pre patch. The interrupt sound does not work on my Warlock. I have tested this with all addons off and just FIS running. I have logged on mage, dk, druid and it works fine. I had a buddy log onto his warlock and he has the same issue. No sound while a spell is being cast. It does make a sound if you successfully interrupt but that's it. Please advise
In reply to Havo:
Thanks for the report. Should be fixed in r153.
Nobody is going to use GoSac, right? :) That one is going to be harder to make work.
In reply to corgatag: All fixed. Thank you! No I don't see people using GoSac, atleast in M+ and Raid.
Hi! There is an error since the latest update.
1x FocusInterruptSounds/FocusInterruptSounds.lua:1237: '=' expected near '<eof>'
In reply to Elitesparkle:
There's a 'w' at the end of the file. Remove it and all should work.
In reply to gyrester:
Thanks for the report and anlysis, Elitesparkle and gyrester!
MANY BUGS U NEED FIX IT PLS
Perhaps GetSpellLink should be (GetSpellLink or C_Spell.GetSpellLink)?
18x FocusInterruptSounds/FocusInterruptSounds.lua:1230: attempt to call global 'GetSpellLink' (a nil value)
[string "@FocusInterruptSounds/FocusInterruptSounds.lua"]:1230: in function `?'
[string "@Bartender4/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...er4/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Bartender4/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...er4/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Bartender4/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@Bartender4/libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <Bartender4/libs/AceEvent-3.0/AceEvent-3.0.lua:119>
Locals:
Skipped (In Encounter)
In reply to gyrester:
I see, my testing didn't work because you need to be in a party to hit the error. Thanks for the report.
Any chance to get this updated for TWW? In raid it causes an error. I didn't catch it this time but next I will.
In reply to Regulators:
I'll release a new version against the latest libraries, but I just tested it on my Ret Paladin and didn't see any errors.
In reply to Regulators: I experienced repeated lua errors too in a dungeon. I had to disable the addon because so many of the mobs were casters that needed to be interrupted. I got a screenshot but not sure if I can post it. Bag Brother is in the list of the lua error so maybe it is the problem. I have disabled Bag Brother too. Will try another dungeon an see.
any plan for localization/multi language support?
In reply to ekrid1107:
Switching the Spell Names to Spell ID #s is on my TODO list, hopefully that's enough to make it work on non-English clients. However, I don't really intend to localize all the UI.
This still works for WOTLK Classic, right? Unless I'm mistaken, I used to use this during TBC Classic. I even have a folder from my old TBCC installation named "FocusInterruptSounds" so I'm fairly certain it was this one.
EDIT: I think I was using a special, older version of FocusInterruptSounds. I'm gonna see if I can find it, otherwise not likely to work (as pointed out in some other comments)