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 Mon, 31 Aug 2009 05:13:27 Changed status from Waiting to Replied
Whitetooth Mon, 31 Aug 2009 04:11:34 Changed status from Replied to Waiting
mikk Mon, 29 Jun 2009 05:48:59 Changed status from Waiting to Replied
Whitetooth Sun, 08 Mar 2009 11:21:01 Changed status from New to Waiting
mikk Thu, 05 Feb 2009 11:04:49 Create

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

  • 5 comments
  • Avatar of Whitetooth Whitetooth Mon, 31 Aug 2009 07:24:39

    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 on 31 Aug 2009 by Whitetooth
  • Avatar of Whitetooth Whitetooth Mon, 31 Aug 2009 05:13:27

    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 Mon, 17 Aug 2009 10:07:33

    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 on 31 Aug 2009 by Whitetooth
  • Avatar of mikk mikk Mon, 29 Jun 2009 05:48:59

    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 Sun, 08 Mar 2009 11:20:48

    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 on
31 Aug 2009
Reported on
05 Feb 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.

Reported by

Possible assignees