Sorry for not replying sooner...
I never expected this sort of discussion to come from my little issue with my pos ('03 plus bits & pieces, model) pc & the load times from having addons, which have seemingly gone from 45 seconds to 1 minute, down to 25-45 seconds with 4 or 5 collectgarbage calls interrupted during load.
As for me, I'd like to consider myself an experienced addon user, due to my experience of lua coding being pretty much = nil; (Though I do tend to learn things on-the-fly)
The issue is that you would have addon authors that believe they have the right to do so (justifiably so imo as they are the authors), just to try & keep memory useage down from their addon & or doing so merely for the want to claim a smaller than actual footprint!?
Those same authors when given the suggestion are most likely going to turn around & tell you to go point you towards the nearest cliff as they wrote the addon & they know better, at least coming from my pov as an addon user not author (Same crap happens in rl with people thinking they know better than others, even if it is clear they are mis-informed on the subject)
I'm guessing that the core concern is true for all addon users, any addon using the 'collectgarbage' call to effectively clean its own mess before the igc feature in wow does, really should not be doing so as the system can & does do the job quite well in comparison to vanilla wow...
Addons started out to enhance the ui of wow which was woefully lacking, these days seemingly turning towards automatic features to cut out the micro-management needed for some aspects of the game (automatic weapon swap, dismount/mount, quest accept/completion, etc)
In saying that, how is it possible to set a precedent of sorts when every addon starts off by an individual & his/her own concepts of coding habits?
Particularly when the environment of wow is changing, bringing along players that decide to turn authors due to frustration @ an aspect of the game or lack of... It's either going to end being a copy/paste rip-off of coding or it's going to be code that will inherit their own habits, wether they be good or bad.
- Registered User
Member for 12 years, 3 months, and 13 days
Last active Fri, Oct, 4 2013 21:33:02
- 0 Followers
- 6 Total Posts
- 0 Thanks
Aug 17, 2009So in the end what I ended up doing was tagging all the addons that don't have load dependency to be dependent on addonloader, then tagged addonloader to be dependent on the addon zoom, then changed the event call for zoom from player_enter_world to CHAT_MSG_CHANNEL_NOTICE, which is the event that is called before you see 'Joined channel 1.general, etc.' when you load in... Did that to escape any addons still being loaded/memory active after the player_entered_world event... Seems to work fine, was around 35-40 seconds loading down to 10-15 on average.Posted in: AddOn HELP!
Wether or not it actually does work, or was just good luck on resources not being used by background applications at the time... It seems to be doing the job atm.
Aug 17, 2009mmm, I pretty much changed the dependency of all addons to to load 'addonloader' first, changed addonloader to load 'zoom' first so it holds the garbage collection, it does the job though it still doesn't grab all of the garbage collection calls as the addons are still loading once the 'player has entered world' tag has fired...Posted in: AddOn HELP!
Would be better to just alter that tag in 'zoom' now since I have it firing as the first addon to be loaded.
Anybody know of an event that would be good to have 'zoom' look for before it does an end call to disable itself and restart the garbage collection of the ui feature?
Going through all the addons to find the hooks for garbage collection just to remove those lines seems to be a bit of an overkill when one addond can do the job itself now that it is more or less sequential in loading ;p
Aug 16, 2009Posted in: AddOn HELP!Quote from fyryeWhat I would do is this
In the ToC, of the other addons in the line for ## OptionalDeps:
Add Addonloader, !!!Zoom!!!
In Addonloader add !!!Zoom!!!
With WoW addons, adding the ## OptionalDeps:
will load that addon prior to other addons, allowing them to take use of their functions when loaded.
Aye, that was my intention once I started hacking the files...
I'm planning on making addonloader dependent on the zoom addon with all the other addons dependent on addonloader, cuts down on amount of copy/pasting plus means I don't have to use clipboard or a new notepad file to collate what I want to copy/paste :)
Aug 16, 2009Posted in: AddOn HELP!Quote from OrionShockhave you tried using AddonLoader ?
ty for the tip... Upon looking @ a couple of addons with the tag for addonloader & some without, I'm thinking I will just hack the ones without the tag to set them as delayed upon load, will take a little while to do though should do though the means should justify the end result.
ty again for the reply.
Quick question here while I play around with the toc files... Will setting every addon to have a delayed load-time other than the addon 'Zoom', which I will set to Always, is there any problem that I don't have hindsight of?
I guess in other words, which method does addonloader use to load addons?
Aug 16, 2009First post here so sorry in advance if it is in the wrong forums... Let me know & I'll move it, or if you are happy to do so, move it for me ;)Posted in: AddOn HELP!
Down to business...
Upon using an ever-growing collection of addons, the load-time for my ui has become increasingly long, I recently came across an out-dated addon by the name of Zoom which halts the garbage collection feature of the ui until all addons have loaded, which makes for a large decrease in load-time for the ui unfortunately as it is so out-dated it doesn't pick up more than 1/2 of my addons... I was wondering if the author of the addon is still around to maybe work on it or if there was another author willing to take it up, pending of course, on the original author's approval...
Alternatevily if an author could throw some pointers my way in updating the addon itself I would be happy to venture into the fray of addon management.
- To post a comment, please login or register a new account.