FeastDrop Issue (sound not playing with 8.0.1)
I recently took over an addon called Dinnerbell which would play a sound when feasts are dropped. Ever since 8.0.1 no sounds are being made when someone puts down a feast.
I am no LUA expert, I really updated the addon since I enjoyed it back in the day but it hasn't been updated in years. If someone could maybe help me out here I would really appreciate it. All spell IDs are correct, just not sure what I am missing if something has changed. The link to the FeastDrop addon is down below.
My understanding is that custom sounds aren't possible and built in sounds are now using the SOUNDKIT table.
PlaySound(SOUNDKIT.xxxxx) or PlaySound(SOUNDKIT[xxxx])
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 = ..."
Thanks VincentSDSH, that did the trick.
|All times are GMT -6. The time now is 11:31 AM.|
vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI