Reminders before 4.2 goes live
Just a few notes for everyone since all the signs are pointing to 4.2 going live next week (barring any major bugs showing up that delays its release):
|
Quote:
Addon Author: That's right! Every time they make a WoW patch, they burn our addons down! |
Quote:
|
Hey, as long as changes are for the better and/or make sense (which I've never come across an API change that did not meet those criteria - not that I can remember, anyway), I don't care. :)
|
Having a "find in files" text editor one could search for "COMBAT_LOG_EVENT" (case sensitive) and find all the addons that use these events, hence know what to update and what won't be affected by the combat log change. :)
|
lawlfourpointone |
string.replace is gone
COMBAT_LOG_EVENT_UNFILTERED is not the only change that will affect addons when 4.2 goes live. I author an addon that used string.replace to remove unneeded spaces from a string, only to find that Blizzard decided to remove string.replace for some strange reason.
|
Quote:
Quote:
|
Hmm, does this mean that since string.replace is gone then using ("text"):replace(...) or strreplace(...) also not work? :S
|
Quote:
About the FrameXML, here are the strreplace diffs..
|
|
I had no idea that even existed, I've always used gsub.
|
Quote:
|
Quote:
|
Simply converting all string.replace/strreplace/:replace into "gsub" won't do as you got to escape certain characters. Yet it appears that Blizzard just did a mass "find and replace" on the few lines I read but maybe not, in any case addon authors gotta watch this and get familiar with how gsub and patterns work with lua for 4.2 I figure.
Strange isn't it, removing string.replace? I wonder why... |
So is it confirmed the 4.2 will be on live server on June 28th?
|
Quote:
|
Quote:
Quote:
I never came across the bug because my strings were never very long, as they were just a list of tanks that are currently in my party. |
Hmm, darn windows search isn't finding a single COMBAT_LOG_EVENT_UNFILTERED in the addons folder. That simply cannot be right. I knew there was a reason I stopped using that search system.
Edit: Ah, programmers notepad to the rescue, haha. But thankfully the only ones of my own addons that use it are about 4 years old and I'm sure they're no longer used by now unless they have miraculously been working all these years with no problems. |
There's a specific thing you need to do to make it search in Lua and XML files. Unfortunately, I forgot it as soon as I did it. :)
|
Notepad++ is free and has a "find in files" feature, I don't think windows search is really designed to look into files for strings, never used it for that myself in any case. :P
Btw very unhappy that major interface changes aren't officially announced in a compilation on the official forums, even the MVP aren't really doing it and I reckon if you are a Interface/addons MVP you'd have to focus and try report API changes and such between major patches. I don't know, maybe I demand too much. :) |
You could just get on the PTR yourself and see if your addons broked. It's not that hard to do.
|
Did they end up fixing the Cata Beta > PTR bug?
|
Quote:
in fact they fixed it during 4.1 ptr toward end of it. |
All times are GMT -6. The time now is 03:52 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI