View Single Post
09-09-10, 05:00 PM   #5
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Why do you need this? If you want to load addons A and B on character X, but addons B and C on character Y, and addons A and C on character Z, just hit "Disable All" at the addons screen, then select each character from the dropdown at the top, and selectively enable the addons you want for that character. Using the default methods to enable different addons on different characters is (a) faster, (b) less work because it doesn't require copying and pasting, or deleting and creating files, and (c) easier to update in the future if you decide character X needs addon C after all, or if you install a new addon.

That aside, calling one addon's TOC from another addon's TOC does nothing. WoW just ignores it. You'd need to copy ALL of the file listings from the original TOC and paste them in yours, as well as merge in all of the saved variables lines.

Another issue you'd likely run into is that addons written (or updated) for WoW 3.3 often make use of the addon namespacing feature added in that patch, and are likely to use generic names in their namespace, expecting it to be private to their addon as they wrote it. For example, "db" or "L". Unless you modified the addons to rename these namespace values, you'd encounter errors as one addon's value overwrote another.

Finally, you'd only be able to use this setup for yourself, as copyright and license terms would prohibit you from distributing a "single addon" version of multiple addons, unless they were all licensed under identical terms which allowed such distribution (eg. the GPL).
  Reply With Quote