Quantcast WoWInterface - View Single Post - PlaySoundFile issue
View Single Post
08-18-19, 07:46 PM   #3
Kanegasi
A Scalebane Royal Guard
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 440
Yes, PlaySound no longer takes sound names, only sound IDs, but that's not the issue here.

OP is using PlaySoundFile, which is affected by another issue. A recent change to further obfuscate the WoW install has broken sound files. PlaySoundFile cannot be used to play any WoW sound paths, only addon sound paths. Sounds can no longer be "replaced" either, such as a Hunter silencing/changing gun sounds.

If PlaySoundFile takes IDs, they will be file IDs, not sound IDs. Using the loot coin sound mentioned above, these two function calls should theoretically produce the same sound:

PlaySound(120)
PlaySoundFile(567428)

Based on the file searches, there are two loot coin sounds. I believe sound ID 120 plays both, but I only found that one file ID. wow.tools is frustrating to navigate on a phone.
  Reply With Quote