Quantcast
WoWInterface - View Single Post - FeastDrop Issue (sound not playing with 8.0.1)
View Single Post
07-19-18, 04:12 AM   #3
VincentSDSH
Non-Canadian Luzer!
 
VincentSDSH's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 350
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 = ..."
__________________
AddonsExecutive Assistant User Configurable To-Do ListLegible Mail Choose the Font for Your Mail
  Reply With Quote