Quantcast WoWInterface - View Single Post - Updating addons to current patch..
View Single Post
06-29-09, 08:08 PM   #15
acapela
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 241
Originally Posted by chanceibmny View Post
What I'm trying to find out is: How do you update an addon to be compatible with the current WoW release?
if only it was just a matter of updating a TOC...

if Blizzard has engaged in undocumented changes to stuff that you use (Aloft, for instance, has to understand at runtime how Blizzard default nameplates plug together at the "frame" level, and this changed slightly in 3.2, but in a way that completely broke Aloft), you have to do some testing, reverse-engineer the changes, and modify/re-test your addon accordingly.

generally speaking, this can be anything from a trivial "annoyance" to a major pain. in this particular case, it required a couple hours of work (it looked worse that it actually turned out to be).

WoW, viewed as a "programming environment", is not subject to the same sort of standards of documentation and feature evolution that govern something like a major release of Java (or any other "major software product")... it is more like an early-generation open source project (potentially in constant flux, almost solely community-supported and community-documented, but without the option of retaining an older revision for the sake of stability; all the ships are more-or-less completely burned on every release, and you may have to rebuild).

to detect, in LUA, what version of the WoW client you are running under, take a look at GetBuildInfo().
__________________
Retired author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"
  Reply With Quote