Thread Tools Display Modes
08-30-17, 07:17 AM   #1
JDoubleU00
A Firelord
 
JDoubleU00's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 463
Talking The Sound of a Patch Breaking

Ahh, the sounds of addons breaking and addon authors updating them as fast as they can.

7.3 is a pretty big patch (eight hours of server maintenance even with preloading the patch), I haven't seen this much chaos in a while. IIRC, Legion's launch was fairly smooth.

As much as I want to play, I think I will wait till the weekend for the kinks to get worked out and most of my addons to get updated (some need more than a .TOC update).
__________________
Author of JWExpBar and JWRepBar.
  Reply With Quote
08-30-17, 11:08 AM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,871
The problem with changing PlaySound is it will "break " many addons that aren't being maintained but work perfectly well otherwise.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote
08-30-17, 09:25 PM   #3
Ammako
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 256
Originally Posted by Fizzlemizz View Post
The problem with changing PlaySound is it will "break " many addons that aren't being maintained but work perfectly well otherwise.
From my point of view that was a pretty fun one, seeing so many addons in my repertoire reporting the same PlaySound errors and completely breaking beyond use.
6 addons that do completely unrelated tasks, and all it took to single-handedly break all of them at once? A function to play sound files, which is even more unrelated. It's just so dumb I can't help but laugh at it. I probably have other addons that were also affected by this that I've yet to notice.

But yeah I guess this feels like change for the sake of change lol, but at least it's a really easy fix, and if an addon isn't maintained anymore, I can just leave a comment on the page with instructions on fixing for people who may come across the addon and would want to use it.

What I'd give to just have official + up-to-date/complete API documentation straight from Blizzard with a complete changelog whenever patches happen, lol. Do people just rely on looking at diffs or is there some other place people find all their info on what changed between patches that I haven't heard of? (mostly asking for somebody else but I'd probably be interested too tbh.)
  Reply With Quote
08-31-17, 12:40 AM   #4
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Originally Posted by Ammako View Post
Do people just rely on looking at diffs...
Yes. (10chars)
  Reply With Quote
08-31-17, 12:49 AM   #5
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Originally Posted by p3lim View Post
Yes. (10chars)
And Dan. /10char
__________________
  Reply With Quote
08-31-17, 01:26 AM   #6
BujuArena
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 13
I made a handy little tool called PlaySoundFixer to fix PlaySound breakage.

https://wow.curseforge.com/projects/playsoundfixer

This tiny addon hooks PlaySound, running any working PlaySound call and preventing any broken PlaySound call from breaking the game and telling you the line of code in your broken addon so you can go comment it out (with "--" at the beginning of the line) or fix it (with "SOUNDKIT.THE_CORRECT_SOUND").

Here's the code:

Code:
local oldPlaySound = PlaySound
PlaySound = function(sound, ...)
    if type(sound)=="number" then
        return oldPlaySound(sound, ...)
    else
        local soundstring = tostring(sound)
        local source = gsub(strtrim(debugstack(2,1,0),".\n"),"Interface\\AddOns\\","")
        print("PSF: broken PlaySound(\""..soundstring.."\") called from "..source)
    end
end
  Reply With Quote
08-31-17, 09:44 AM   #7
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
Things may have changed, but in the past, PlaySound has been a taint proxy. I wouldn't replace it since you'll end up with CompactRaidFrame taints.
  Reply With Quote
08-31-17, 10:03 AM   #8
BujuArena
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 13
Hopefully it's okay. It's been okay in my play-testing so far; haven't seen any taint-related issues with it yet.
  Reply With Quote
09-02-17, 03:00 AM   #9
BujuArena
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 13
I encountered a taint-related issue when trying to use toys. I've added a warning about this to the addon description on CurseForge.
  Reply With Quote

WoWInterface » General Discussion » General WoW Chat » The Sound of a Patch Breaking

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