PlaySoundFile() works just fine. The problem with that addon is that it expects COMBAT_LOG_EVENT_UNFILTERED to provide arguments but it doesn't anymore -- not the ones you want. You have to get them from CombatLogGetCurrentEventInfo().
If I'm reading it right, in Addon:COMBAT_LOG_EVENT_UNFILTERED(), as the first line add:
local _, eventtype, _, _, _, _, _, _, _, _, _, spellid = CombatLogGetCurrentEventInfo()
and remove the line "local _,_,_,_,_,_,_,_,_,spellid = ..."
|