Get an Epic Experience with Premium

AddonLoader

Miscellaneous Login to Add Favorites
  • 8 Likes
  • World of Warcraft
  • 562 Monthly Downloads
  • Supports: 5.2.0
  • 297,943 Total Downloads
  • Updated 03/17/2013
  • Created 08/24/2008
  • 455 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File: r126
or

About AddonLoader

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!

Documentation: See http://www.wowpedia.org/AddonLoader

------------------------------------------------------------------------
r126 | mikk | 2013-03-17 16:25:37 +0000 (Sun, 17 Mar 2013) | 2 lines
Changed paths:
   M /trunk/Conditions.lua

"X-LoadOn-Always: delayed" will now cease loading addons in combat. It resumes loading addons AFTER combat. This is due to Blizzard placing restrictions on how much CPU we can use during combat.
IF you want your addons to load in combat, use "X-LoadOn-Combat: true" and hope for the best.
------------------------------------------------------------------------
r125 | mikk | 2013-03-10 14:42:48 +0000 (Sun, 10 Mar 2013) | 1 line
Changed paths:
   M /trunk/AddonLoader.toc

TOC 50200
------------------------------------------------------------------------

Comments

First Previous Page 1 of 3 Next Last
  • #45

    I got about 15 of these from tradeskills, to lfr instance , to reputation. the main error was dif in all but 

    AddonLoader\AddonLoader.lua:125: LoadAddOn()
    AddonLoader\Conditions.lua:146:
    AddonLoader\Conditions.lua:134
    AddonLoader\Conditions.lua:166:
    AddonLoader\Conditions.lua:153

    was the same in all fo them

    Date: 2013-12-27 18:40:01
    ID: -6
    Error occured in: Global
    Count: 1
    Message: ...killLevels\LibPeriodicTable-3.1-TradeskillLevels.lua line 3:
    PT3 must be loaded before data
    Debug:
    [C]: ?
    [C]: error()
    ...killLevels\LibPeriodicTable-3.1-TradeskillLevels.lua:3: in main chunk
    [C]: ?
    [C]: LoadAddOn()
    AddonLoader\AddonLoader.lua:125: LoadAddOn()
    AddonLoader\Conditions.lua:146:
    AddonLoader\Conditions.lua:134
    AddonLoader\Conditions.lua:166:
    AddonLoader\Conditions.lua:153

  • #44

    Hello,

    I get an error in Addon Loader at startup with one particular addon enabled, GFW_XPVisualizer.  The error is:

    Date: 2012-09-11 15:50:21
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ## X-LoadOn-Hooks: MainMenuExpBar_Update (MainMenuExpBar_Update): not a function
    Debug:
    AddonLoader\Conditions.lua:259: handler()
    AddonLoader\AddonLoader.lua:145:
    AddonLoader\AddonLoader.lua:135

    I have also emailed the author of that addon to find out if this is something wrong with that code, but it seems like it may be that Addon Loader doesn't recognize this particular hook as a valid hook to load on.

  • #42
    Hi, Im trying to get an addon to load when the Archaeology window is opened

    ## X-LoadOn-ADDON_LOADED: if select(4,...) == 'Blizzard_ArchaeologyUI' then AddonLoader:LoadAddOn('DigIT') end

    Lua Error: Interface\AddOns\AddonLoader\AddonLoader.lua:138: attempt to index field '?' (a nil value)

    Also I noticed there is no Load-On-Archaeology: true option?
    In the mean time Im going to look for a workaround to my problem
  • #43
    ok workaround was easier then i thought
    X-LoadOn-ARCHAEOLOGY_TOGGLE: AddonLoader:LoadAddOn('DigIT')
  • #39
    Just wanted to let you know that AddonLoader and ArkInventory are not playing nicely together. With AddonLoader installed, the default bags show up at the bank over top the ArkInv screen. No errors so far.
  • #40
    Then that is a problem in ArkInventory's on-demand loading and should be reported there; it's no fault of AddonLoader.
  • #32
    As of 3.3.5, this addon (that I have been using for a very long time) now freezes wow about 3-5 seconds after the loading screen goes away and the I get disconnected. If I disable just this addon, it works fine. Tested 10+ times without addon (working) and 6 times with addon (freeze + disconnect).
  • #33
    Okay.. now try disabling addons getting loaded by AddonLoader instead - one by one - and I'll bet you'll find one of those that cause the problem.
  • #35
    It only happens when I load them via the AddonLoader, not when they are loaded like normal by the game client.

    But I guess it could be related to some functionality in another addon that only gets triggered if it is on-demand loaded?
  • #36
    Yes, that's my thought -- one of the addons is suddenly misbehaving when loaded on-demand.
  • #34
    aye it´s nothing to do with AddonLoader (i don´t have AddonLoader yet even, but might try it), and after the 3.3.5 patch i get a disconnect just about every time i reload my UI.
    Logging in is fine, but reload boots me from the server. Got too many addons to bother going through them, im hoping the addon(s) that cause this will get updated soon! :)
  • #37
    Do you have cellular? It's been causing that for me.
  • #29
    how can i make it work with all my addons?
    cuz i just add

    ## LoadManagers: AddonLoader
    ## X-LoadOn-Slash: /arl
    ## X-LoadOn-Events: TRADE_SKILL_SHOW
    ## X-LoadOn-TRADE_SKILL_SHOW: AddonLoader:LoadAddOn("AckisRecipeList"); AckisRecipeList:TRADE_SKILL_SHOW()

    to each .toc file? or sth like this

    tnx 4 this handy & lightweight addon,keep up the good work
  • #30
    ya id like to know this too please thanks
  • #31
    It is up to the addon author to 'make it work with their addon'. What AddonLoader needs to do for each is completely different. The fact that you're asking the question shows that you don't know enough to be doing it.

    http://www.wowwiki.com/AddonLoader

    That has all the information a DEVELOPER would need to make the changes.
  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Leaguepedia PAX Skin Giveaway