View Single Post
03-11-07, 02:17 PM   #1
Mazzlefizz
A Pyroguard Emberseer
 
Mazzlefizz's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 3,521
For those of you updating your add-ons

Due to the decreased amount of time I've spent on developing, I have not released a version in quite some time. As a result, I think many people are starting to update their add-ons on their own. While completely reasonable, I think some of these weird errors people are experiencing may be due to library conflicts. So, here's a quick primer on updating libraries. There's probably a better guide somewhere, but I didn't find anything in my quick search.

Most Ace2 add-on distributions you download on your own will include embedded libraries. That means each Ace2 add-on has sub-directories, usually within a folder called "libs", that contain little "helper add-ons". Most Ace2 add-ons use the exact same helper add-ons, so there's a lot of duplication going on. That means your UI would need to load up dozens of the same exact helper add-ons for each add-ons that uses them. To avoid this, MazzleUI does not include those "helper sub-directories"; instead, it puts one copy of the stand-alone version of those libraries at the top level. This speeds loading up and decreases initial memory use. (Those duplicates will eventually be cleaned up.)

When you update those Ace2 add-ons on your own, you're probably re-adding those little helper sub-directories that were removed. While the updated library may be fine for the add-on that you included it with, it's possible that it can introduce conflicts for other add-ons that load after it. The newer version of the library may have slightly different behavior that conflicts with the expectations of the older add-ons.

So, I suggest doing one of three things:
  1. Update everything including the stand-alone libraries on the top level. Make sure to delete the embedded libraries in any Ace2 add-ons you download.
  2. Do the inverse and delete all the stand-alone libraries and update all the Ace2 add-ons to make sure they include the embedded libraries.
  3. Don't update anything and just wait for a new version of MazzleUI.

If you do the first item, check the original version of the add-on I include. I don't always delete all the libraries. I only delete the ones that are used by multiple add-ons. Another thing to note is that those add-ons don't always use a "libs" directory. Make sure to check them individually and not to a search and delete type thing.
__________________
MazzleUI Home Page: Mazzlefizz.WoWInterface.com
Info, FAQs, Forums, Download can be found at that link.
  Reply With Quote