Addons.txt: Now how does that work?
Does anyone know how WoW decides which addons to load for all characters, provided those individual characters do not have an opposing state set in the Addons.txt file? I ran some tests but they left me perplexed.
What I noticed:
The first character's Addons.txt could potentially be considered a master file, but there are at least two issues with this:
Which leads us to possible solutions:
I also noticed that the system is pretty easy to break. I can't remember exactly how, but I managed to get WoW thinking that toggling an addon on any character would toggle it globally. This is why my solutions aren't exactly bulletproof. So does anyone know what's going on here? Anyone know how it actually works? It would save me quite some time trying to work this out if you could share. Thanks. |
Isn't an addon enabled by default? Unless you have "## DefaultState: disabled" in your .toc.
When you disable the addon for the first time, even if only on one character, it's disabled globally. |
Yes, but my question is more in regards to how WoW deals with other situations. If one character has an addon set to disabled but another has it set to enabled, which one is globally default? It's possible to have something globally disabled, meaning that anyone who wants to enable it can do so on a per-character basis. How would it then maintain global disabled state?
|
Doesn't it just write to each character's file that it's disabled? An easy way to test would be to disable an addon (restart the game to make sure files are written to) and then check the files themselves. You can then create a new character on the server - you'll see that all of the addons are enabled by default for that character (but still disabled for the others). Once you disable an addon for that character, it will be written to that character's file.
|
From my experience what happens is WoW will default it to whatever you change it to the first time, no matter what character you're on, or if you've selected all.
So if you download a new addon, and then turn it off for your Hunter before doing anything else with it, it will toggle it off for all of your characters. Only after that initial time will it then save it by a per character state. I have no idea if the state changes reset when WoW gets an update or not though, because I haven't really paid much attention to it during that. This is just what I have found from my own personal experience. |
Thanks for the responses! Totally forget about this thread! I'll be using some of the information here, along with some extra research, once I get round to a certain project. Might be a long while.
|
All times are GMT -6. The time now is 09:22 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI