RatingBuster

27 - AddonLoader support

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 :)

User When Change
Whitetooth Aug 31, 2009 at 05:13 UTC Changed status from Waiting to Replied
Whitetooth Aug 31, 2009 at 04:11 UTC Changed status from Replied to Waiting
mikk Jun 29, 2009 at 05:48 UTC Changed status from Waiting to Replied
Whitetooth Mar 08, 2009 at 11:21 UTC Changed status from New to Waiting
mikk Feb 05, 2009 at 11:04 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 5 comments
  • Avatar of Whitetooth Whitetooth Aug 31, 2009 at 07:24 UTC - 0 likes

    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.

    Last edited Aug 31, 2009 by Whitetooth
  • Avatar of Whitetooth Whitetooth Aug 31, 2009 at 05:13 UTC - 0 likes

    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.

  • Avatar of Whitetooth Whitetooth Aug 17, 2009 at 10:07 UTC - 0 likes

    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.

    Last edited Aug 31, 2009 by Whitetooth
  • Avatar of mikk mikk Jun 29, 2009 at 05:48 UTC - 0 likes

    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.

  • Avatar of Whitetooth Whitetooth Mar 08, 2009 at 11:20 UTC - 0 likes

    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.

  • 5 comments

Facts

Last updated
Aug 31, 2009
Reported
Feb 05, 2009
Status
Replied - Someone has replied after waiting for more information.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees