Download
(16 Kb)
Download
Updated: 10-16-10 06:50 AM
Pictures
File Info
Updated:10-16-10 06:50 AM
Created:10-30-08 01:28 PM
Downloads:14,614
Favorites:283
MD5:
Addon Loader  Popular! (More than 5000 hits)
Version: r113-release
by: Ammo [More]
AddonLoader is an addon that loads other addons automatically, as and when they are needed, which speeds up the logon process.

Note that addons need to be aware of AddonLoader for this to work; if you see "X-LoadOn-..." tags in their .toc files, they are!

For documentation on AddonLoader and its use: http://www.wowpedia.org/AddonLoader

Amongst the supported addons:
- Most of Tekkub's Addons
- Mapster
- Most of Ammo's Addons
r113-release
- 4.0 compatible release

------------------------------------------------------------------------
r110 | ammo | 2010-06-23 07:40:33 +0000 (Wed, 23 Jun 2010) | 1 line
Changed paths:
A /tags/r110-release (from /trunk:109)

Tagging as r110-release
------------------------------------------------------------------------
r109 | shefki | 2010-06-23 06:40:15 +0000 (Wed, 23 Jun 2010) | 2 lines
Changed paths:
M /trunk/Conditions.lua

Fix X-LoadOn-Slash for 3.3.5.

------------------------------------------------------------------------
r107-release
- smoothen out loading X-LoadOn-Delayed
- toc bump

r103-release
- 3.2 compat
- fix bug with LibBabble-Zone-3.0 not being loaded if available and needed

r100-release
- support multiple classes in X-LoadOn-Class
- minor fixes
- URL to wiki documentation now points the right way

r95-release
- add AddonLoader:RemoveInterfaceOptions API to remove the addonloader added interface options. Should be used in case the addon can be loaded from smoething other than the interface options as well:
if AddonLoader and AddonLoader.RemoveInterfaceOptions then
AddonLoader:RemoveInterfaceOptions(<name>)
end
-- add interface options for addon here

r93-release
- Add support for X-LoadOn-InterfaceOptions: <name>
This will add a dummy entry in the interface options addons screen, and when clicked loads the addon and refreshes to the same category <name>. The addon is responsible for adding a new screen with the same name.

r90-release
- ruRU added
- Fix coloring of addon dropdown
- Add tooltips to LDB launchers

r83-release
- fix bug that would occur when having no AddonLoader enabled addons installed

r81-release
- remove a wotlk exception
- sort addons alphabetically

r79-release:
- 3.1 update

r77-release:
- fix X-LoadOn-AuctionHouse that has been broken for ages, thanks Medah

r75-release:
- add support for subzones in X-LoadOn-Zone

r72-release:
- add support for X-LoadOn-Realm
- add support for multiple slashcommand handlers each slashcommand in X-LoadOn-Slash can now have an individual handler

r68-release:
- Add zhTW and zhCN locales

r66-release:
- Fix issue with X-LoadOn-Execute not working properly

r61-release:
- Initial release on wowinterface
Optional Files (0)


Archived Files (15)
File Name
Version
Size
Author
Date
r110-release
16kB
Ammo
06-25-10 03:32 PM
r107-release
16kB
Ammo
04-30-10 05:37 AM
r103-release
15kB
Ammo
08-19-09 02:53 AM
r100-release
16kB
Ammo
07-01-09 06:28 AM
r95-release
16kB
Ammo
05-30-09 12:45 AM
r93-release
16kB
Ammo
05-29-09 03:39 AM
r90-release
15kB
Ammo
05-21-09 10:06 AM
r83-release
15kB
Ammo
05-13-09 02:14 AM
r81-release
14kB
Ammo
05-12-09 03:43 AM
r79-release
14kB
Ammo
04-30-09 01:07 AM
r77-release
17kB
Ammo
02-04-09 12:20 AM
r75-release
17kB
Ammo
01-22-09 01:18 AM
r67-release
17kB
Ammo
01-17-09 05:10 AM
r68-release
16kB
Ammo
11-30-08 01:55 AM
r66-release
15kB
Ammo
11-24-08 01:35 PM


Post A Reply Comment Options
Old 11-14-08, 02:32 AM  
Jzar
A Chromatic Dragonspawn
 
Jzar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 157
File comments: 299
Uploads: 5
Ammo, most of your mods are top rate, and you and tekkub seem to design your mods very thoroughly, and have reasons for all the decisions that go into your mods. So I'm curious what was the reasoning to make AddonLoader settings per character instead of global.

I've got an LDB addon that's AL enabled, but set to delayed by default. This makes it disappear from my Titan Panel. I finally figured out how to set the delayed to true to get it to load as normal for that addon, but I have to keep making that change every time I log a new alt.

Could you possibly make an option for whether the configurations should be global or character specific? Either way, this is a great little piece of code, and I really appreciate what it does to help speed up my bloated load time. Thank you as always for your hard work.
Jzar is offline Report comment to moderator  
Reply With Quote
Old 01-22-09, 07:57 AM  
Mike-N-Go
A Theradrim Guardian
 
Mike-N-Go's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 147
Uploads: 19
Originally posted by Jzar
Ammo, most of your mods are top rate, and you and tekkub seem to design your mods very thoroughly, and have reasons for all the decisions that go into your mods. So I'm curious what was the reasoning to make AddonLoader settings per character instead of global.

I've got an LDB addon that's AL enabled, but set to delayed by default. This makes it disappear from my Titan Panel. I finally figured out how to set the delayed to true to get it to load as normal for that addon, but I have to keep making that change every time I log a new alt.

Could you possibly make an option for whether the configurations should be global or character specific? Either way, this is a great little piece of code, and I really appreciate what it does to help speed up my bloated load time. Thank you as always for your hard work.
Jzar, you could edit the .toc file of whatever addon's metadata 'X-LoadOn-' you wish to alter. Look for the line 'X-LoadOn-..' This is where the settings are defaulted from. Or, you could look at http://old.wowace.com/wiki/AddonLoader and chose the setting. IE: 'X-LoadOn-Always: true'. I cannot help you with the specific mod, because you did not name it. Hope this helps for you.

Alternatively, you could just delete the 'X-LoadOn' lines, and the addon would not register with AddonLoader.

Check out the setting options for this addon at the Ace page.
__________________
Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated.

Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.
Last edited by Mike-N-Go : 01-22-09 at 07:58 AM.
Mike-N-Go is offline Report comment to moderator  
Reply With Quote
Old 02-11-09, 07:08 PM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 358
Uploads: 1
AL & Broker2Fubar

I use several LDB AddOns with Broker2Fubar to display them in Fubar. After I installed AddOn Loader, several of the LDB mods are delayed. After they are loaded, the fonts & icons are much larger than before, and much larger than the Fubar/LDB plugins that are not delayed. These are the LDB AddOns affected, as far as I could tell:

Reveleation
Broker_Trainer
TradeSkillInfo
Broker_Hitcrit
Ara_Broker_Guilds_Friends

OK, so I disable AddOn Loader, reload UI/relog, and forget about using AddOn Loader, right?
Nope. Not that simple.
When I did that, the delayed AddOns are now disabled and won't load on logging in or reload UI.

To get things back to normal I had to disable AddOn Loader and all of the AddOns that were delayed, then log on & re-enable the disabled AddOns (except AddOn Loader), then reloadUI or log off/on.

Until I can figure out how to resolve the enlarged display thing, I will have to live without AddOn Loader.

Thank you.
Jaim Sandar is offline Report comment to moderator  
Reply With Quote
Old 02-14-09, 11:58 AM  
Ammo
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 137
Uploads: 26
Re: AL & Broker2Fubar

Originally posted by Jaim Sandar
I use several LDB AddOns with Broker2Fubar to display them in Fubar. After I installed AddOn Loader, several of the LDB mods are delayed. After they are loaded, the fonts & icons are much larger than before, and much larger than the Fubar/LDB plugins that are not delayed. These are the LDB AddOns affected, as far as I could tell:

Reveleation
Broker_Trainer
TradeSkillInfo
Broker_Hitcrit
Ara_Broker_Guilds_Friends

OK, so I disable AddOn Loader, reload UI/relog, and forget about using AddOn Loader, right?
Nope. Not that simple.
When I did that, the delayed AddOns are now disabled and won't load on logging in or reload UI.

To get things back to normal I had to disable AddOn Loader and all of the AddOns that were delayed, then log on & re-enable the disabled AddOns (except AddOn Loader), then reloadUI or log off/on.

Until I can figure out how to resolve the enlarged display thing, I will have to live without AddOn Loader.

Thank you.
If you disable AddonLoader it is still in the addonlist and the other addons won't be loading due to their loadmanager being present but not available

As for the Fubar2Broker issue I suggest taking it up with the authors, it's a bug in your display addon not AddonLoader.

-Ammo
Ammo is offline Report comment to moderator  
Reply With Quote
Old 02-14-09, 01:24 PM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 358
Uploads: 1
Re: Re: AL & Broker2Fubar

Originally posted by Ammo
If you disable AddonLoader it is still in the addonlist and the other addons won't be loading due to their loadmanager being present but not available.
I'm not sure what all of that means. So, to easily get things back to normal after removing AddonLoader (AddonLoader out of addonlist and other addons loadmanager available so they can load), what must be done? Did I miss a step when I disabled AddonLoader, like maybe log off/log on?

Thank you.
Jaim Sandar is offline Report comment to moderator  
Reply With Quote
Old 02-14-09, 03:43 PM  
Ammo
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 137
Uploads: 26
Re: Re: Re: AL & Broker2Fubar

Originally posted by Jaim Sandar
I'm not sure what all of that means. So, to easily get things back to normal after removing AddonLoader (AddonLoader out of addonlist and other addons loadmanager available so they can load), what must be done? Did I miss a step when I disabled AddonLoader, like maybe log off/log on?

Thank you.
Disabling AddonLoader from the Character Screen is not good enough, deleting the folder is the only way. The problem is when the game detects a loadmanager it sets all addons that have that loadmanager set as a dep to wait for the loadmanager to load them. But a disabled loadmanager doesn't load itself so the addons never get their signal to load.
Ammo is offline Report comment to moderator  
Reply With Quote
Old 02-15-09, 09:12 AM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 358
Uploads: 1
Re: AL & Broker2Fubar

Originally posted by Ammo
Disabling AddonLoader ...
Thank you so much for the explanation.
Jaim Sandar is offline Report comment to moderator  
Reply With Quote
Old 02-24-09, 09:12 AM  
forty2j
A Cobalt Mageweaver

Forum posts: 232
File comments: 260
Uploads: 0
TomTom

Your screenshot shows TomTom, but the only addon of mine AddonLoader finds is Tipsy. My TomTom (and everything else) just loads normally.
Did you manually edit TomTom's TOC to look for AddonLoader? And is that something you need to repeat with each addon update?
Last edited by forty2j : 02-24-09 at 09:13 AM.
forty2j is offline Report comment to moderator  
Reply With Quote
Old 02-26-09, 04:41 PM  
Ammo
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 137
Uploads: 26
Re: TomTom

Originally posted by forty2j
Your screenshot shows TomTom, but the only addon of mine AddonLoader finds is Tipsy. My TomTom (and everything else) just loads normally.
Did you manually edit TomTom's TOC to look for AddonLoader? And is that something you need to repeat with each addon update?
I didn't edit anything.

-Ammo
Ammo is offline Report comment to moderator  
Reply With Quote
Old 04-30-09, 03:37 AM  
cashdash
A Deviate Faerie Dragon
 
cashdash's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 14
Uploads: 4
Re: TomTom

Originally posted by forty2j
Your screenshot shows TomTom, but the only addon of mine AddonLoader finds is Tipsy. My TomTom (and everything else) just loads normally.
Did you manually edit TomTom's TOC to look for AddonLoader? And is that something you need to repeat with each addon update?
TomTom has its Options in the interface/addons panel so this is why its shown there, the AddonLoader option Panel is there aswell, as every addon that use the Blizzard Option Panel.
__________________
cashdash is offline Report comment to moderator  
Reply With Quote
Old 05-29-09, 05:22 AM  
Slakah
A Molten Giant
 
Slakah's Avatar
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 146
Uploads: 26
- Add support for X-LoadOn-InterfaceOptions: <name>
Sweet, was just about to suggest this .
Slakah is offline Report comment to moderator  
Reply With Quote
Old 05-30-09, 11:53 AM  
AyaJulia
A Deviate Faerie Dragon

Forum posts: 15
File comments: 7
Uploads: 0
Hello. First off, thanks for the wonderful addon. I have disconnect-prone load screens because of the number of addons I have, and this REALLY helps.

One question though.

I've edited the .toc files of many of my class-specific addons, (Necrosis, PallyPower, GridStatusMending, GridStatusLifebloom, Track-o-Matique) to include the line ## X-LoadOn-Class: <ClassName here> but all of these are still loading at all times. For example, my priest has PallyPower and is getting an error that Track-o-Matique has disabled itself since it's a hunter-only addon.

Here's an example of what I did from PallyPower:
Code:
## X-Curse-Project-Name: PallyPower
## X-Curse-Project-ID: pally-power
## X-Curse-Repository-ID: wow/pally-power/mainline
## X-LoadOn-Class: Paladin

#@no-lib-strip@
embeds.xml
Did I do it wrong, or does X-LoadOn-Class not work anymore?

Thanks very much in advance.
AyaJulia is offline Report comment to moderator  
Reply With Quote
Old 05-30-09, 04:25 PM  
Ammo
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 137
Uploads: 26
Here's an example of what I did from PallyPower:
Code:
## X-Curse-Project-Name: PallyPower
## X-Curse-Project-ID: pally-power
## X-Curse-Repository-ID: wow/pally-power/mainline
## X-LoadOn-Class: Paladin

#@no-lib-strip@
embeds.xml
Did I do it wrong, or does X-LoadOn-Class not work anymore?

Thanks very much in advance. [/b]
You forgot:

## LoadManagers: AddonLoader
Ammo is offline Report comment to moderator  
Reply With Quote
Old 05-30-09, 05:27 PM  
AyaJulia
A Deviate Faerie Dragon

Forum posts: 15
File comments: 7
Uploads: 0
Originally posted by Ammo
You forgot:

## LoadManagers: AddonLoader
Oh. Weird, all of the other addons loaded fine without having to put that in. >.>

Oh well, thanks very much for the tech support and keep up the awesome work. ^^
AyaJulia is offline Report comment to moderator  
Reply With Quote
Old 07-11-09, 02:01 PM  
kappe
A Deviate Faerie Dragon

Forum posts: 13
File comments: 115
Uploads: 0
problem maybe

i'm getting this bug on login and or reloadui:

[2009/07/11 21:58:37-163-x1]: Cartographer_Notes-2.0\Notes.lua:3587: attempt to index field 'externalDBs' (a nil value)
InFlight_Load-3.1.001\InFlight_Load.lua:344: in function `PLAYER_LOGIN'
InFlight_Load-3.1.001\InFlight_Load.lua:28: in function `?'
InFlight_Load-3.1.001\InFlight_Load.lua:3: in function <Interface\AddOns\InFlight_Load\InFlight_Load.lua:3>
<in C code>: in function `LoadAddOn'
AddonLoader-2.0\AddonLoader.lua:109: in function <Interface\AddOns\AddonLoader\AddonLoader.lua:100>
(tail call): ?:
<string>:"LoadAddOn('Quartz')":1: in function `handler'
AddonLoader-2.0\AddonLoader.lua:129: in function <Interface\AddOns\AddonLoader\AddonLoader.lua:119>
<in C code>: in function `CallCompanion'
SmartMount-1.1\Core.lua:96: in function `OnEvent'
<string>:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>

---

and this when i vidit a flight master:

[2009/07/11 22:00:00-163-x1]: InFlight_Load-3.1.001\InFlight_Load.lua:317: Database "InFlight" not registered.
Cartographer_Notes-2.0\Notes.lua:4055: in function `GetNearbyNote'
InFlight_Load-3.1.001\InFlight_Load.lua:317: in function <Interface\AddOns\InFlight_Load\InFlight_Load.lua:316>
InFlight_Load-3.1.001\InFlight_Load.lua:271: in function <Interface\AddOns\InFlight_Load\InFlight_Load.lua:264>
InFlight_Load-3.1.001\InFlight_Load.lua:45: in function `?'
InFlight_Load-3.1.001\InFlight_Load.lua:3: in function <Interface\AddOns\InFlight_Load\InFlight_Load.lua:3>

---



any suggestion?
kappe is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.