Quantcast FeastDrop Issue (sound not playing with 8.0.1) - WoWInterface
Thread Tools Display Modes
07-18-18, 05:37 PM   #1
Kyrgune
Premium Member
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2008
Posts: 8
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.

http://www.wowinterface.com/download...FeastDrop.html

Thankyou,

Kyrgune
  Reply With Quote
07-19-18, 02:59 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,178
My understanding is that custom sounds aren't possible and built in sounds are now using the SOUNDKIT table.

https://www.townlong-yak.com/framexm...tConstants.lua

PlaySound(SOUNDKIT.xxxxx) or PlaySound(SOUNDKIT[xxxx])
__________________
  Reply With Quote
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: 343
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
07-19-18, 12:36 PM   #4
Kyrgune
Premium Member
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2008
Posts: 8
Thanks VincentSDSH, that did the trick.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » FeastDrop Issue (sound not playing with 8.0.1)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off