|
|
#1 |
|
Junior Member
Join Date: May 2006
Posts: 69
|
As per http://www.wowace.com/addons/addon-l...-combat-false/ (but read comments, not ticket),
I'm considering changing "X-LoadOn-Always: delayed" behavior slightly to make "delayed" mean "not in combat". This would be a slightly incompatible change, since IF you want something loaded when you log on into combat (think crash/disconnect in a bossfight), you would have to explicitly add a condition to load it during combat. If there's anyone wildly against this, please say so here or in the ticket. To everyone else using delayed loading: consider adding "X-LoadOn-Combat: true" already if your addon is important for combat. It's even a good-ish idea without the change.
__________________
Yes. I'm actually Mikk. The curse user DB has mixed this old account up with my new one. Going on 3 years now! It's awesome.
|
|
|
|
|
|
#2 |
|
Legendary Member
Join Date: Dec 2006
Posts: 2,327
|
Will delayed addons still be loaded "slowly", one at a time ? If yes, this seems fine to me.
I'm also wondering if "X-LoadOn-Combat: true" does load the addon before the combat lock up, so they can create any needed secure frames (or whatever cannot be done in combat).
__________________
Author of Inline Aura, AdiBags, Squire2 and several other addons. Each time you hit your "copy" command with a block of code, think about a way to refactor it so it did what you want without using the "paste" command. |
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: May 2006
Posts: 69
|
Quote:
Good question - it "should" since it does all the processing and loading inside the event for PLAYER_REGEN_DISABLED (where we should be able to do noncombat stuff still, according to Blizzard), but I for one haven't actually tested that it works, and I have to admit that it IS somewhat of a special case with going ahead and loading a whole addon inside the event handler.
__________________
Yes. I'm actually Mikk. The curse user DB has mixed this old account up with my new one. Going on 3 years now! It's awesome.
|
|
|
|
|
|
|
#4 |
|
Super Moderator
Join Date: Aug 2005
Location: Germany/Hamburg
Posts: 1,785
|
If your addon needs to make sure that it is created early enough to work after a login in combat, i would suggest to just not delay its loading.
__________________
Author/Maintainer of Ace3, Bartender, Mapster, Quartz, HotCandy, and various small and helpful addons WoWAce Administrator and AddOn Moderator You can Donate if you want, any help is appreciated! |
|
|
|
|
|
#5 |
|
Legendary Member
Join Date: Dec 2006
Posts: 2,327
|
Fair enough.
__________________
Author of Inline Aura, AdiBags, Squire2 and several other addons. Each time you hit your "copy" command with a block of code, think about a way to refactor it so it did what you want without using the "paste" command. |
|
|
|
|
|
#6 |
|
Wiki Master
Join Date: Feb 2005
Posts: 5,085
|
I'm with Nevvy, it's rare for you to *need* to load properly in combat, so if you do you should be taking extra steps to ensure that works in the first place. Using both delayed and combat triggers will probably cover you, then if you log in mid-combat it loads immediately, otherwise it loads delayed.
|
|
|
|
![]() |
| Tags |
| addonloader lod delayed |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
All times are GMT. The time now is 01:15 AM.
WowAce Forums






