AddonLoader support #27


  • Enhancment
  • Replied
Open
Assigned to whitetooth3
  • Forge_User_96189362 created this issue Feb 5, 2009

    RatingBuster.toc:
    ## LoadManagers: AddonLoader
    ## X-LoadOn-Always: delayed

    Unfortunately, this alone won't do it; I tried it locally and RB just stopped adding things to tooltips (though everything else worked), so there's probably something funny going on with initialization ordering.

    Why, you ask? Well, when you have lots of non-essential addons loading "delayed", you just zip past the loading screen and can start doing things quickly. Me likes :)

  • Forge_User_96189362 added the tags New Enhancment Feb 5, 2009
  • whitetooth3 posted a comment Mar 8, 2009

    I'm not sure how AddonLoader works or if it can be done with RB, and I don't really have enough time to learn it at this moment. But if someone can make it work feel free to commit it.

  • whitetooth3 removed a tag New Mar 8, 2009
  • whitetooth3 added a tag Waiting Mar 8, 2009
  • Forge_User_96189362 posted a comment Jun 29, 2009

    There's nothing really unusual about AddonLoader. It just loads addons on demand.

    Or, with the settings I pasted, in a timer sequence after P_E_W, so that you get past the loading screen faster by delaying nonessential addons.

    So, if your addon can be loaded on demand ( LoadAddOn("Foo") ), it can be AddonLoader:ed.

  • Forge_User_96189362 removed a tag Waiting Jun 29, 2009
  • Forge_User_96189362 added a tag Replied Jun 29, 2009
  • whitetooth3 posted a comment Aug 17, 2009

    LibTipHooker and RatingBuster needs to do initialization on load for hooks, so I don't think I can delay the load. But I think I'll look into it.


    Edited Aug 30, 2009
  • whitetooth3 removed a tag Replied Aug 30, 2009
  • whitetooth3 added a tag Waiting Aug 30, 2009
  • whitetooth3 posted a comment Aug 31, 2009

    After playing around with AddonLoader, I can't support it because of LibTipHooker upgrading problems.

    If you have another addon with an older LibTipHooker that is loaded first, the hooks are already in place when you try to load the newer LibTipHooker and there is no way to unhook the old hooks.

  • whitetooth3 removed a tag Waiting Aug 31, 2009
  • whitetooth3 added a tag Replied Aug 31, 2009
  • whitetooth3 posted a comment Aug 31, 2009

    I've updated LibTipHooker to work with LoD but you will be on your own for library upgrades.

    Adding
    ## LoadManagers: AddonLoader
    ## X-LoadOn-Always: delayed
    worked if you use disembedded libraries, and will now work if you use RatingBuster r248 with embedded libraries.


    Edited Aug 31, 2009

To post a comment, please login or register a new account.