• 0

    posted a message on AceDB - Switch Profiles when User changes Spec?
    Thanks Adirelle, I'll plug it into my addon and report back.
    Posted in: Ace3
  • 0

    posted a message on AceDB - Switch Profiles when User changes Spec?
    Quote from Nevcairiel
    Consider something thats not even related to the Characters skills, like a crafting addon with individual filters and whatnot, or a quest addon that stores your progress. Its certainly set for storing per-character data, but it doesnt care about your spec at all.

    Need more examples? =)

    The keyword is "per-character data". That's not per character configuration profiles.
    Are you suggesting you configure your crafting and quest addons differently for each character?

    I too cannot think of any example where per character profiles would make sense, without per spec profiles making sense too, especially when considering you can enable/disable addons on a per character basis.
    Posted in: Ace3
  • 0

    posted a message on AceDB - Switch Profiles when User changes Spec?
    Quote from Nevcairiel
    On another note, a lot of addons do not even support changing the profile sanely. They require a reload ui. I woudn't want a half-broken UI after changing spec, waiting for me to reload.

    Of course being the feature optional and enabled explicitly by the developer, something like that happening would be the case of an addon author completely ignoring library documentation.



    I'm sure spec-specific profiles are more relevant than player-specific profiles, and I'm also sure most people (if not everyone) configure their UI in a way that proves it, even if they're not aware of it.
    It's obvious when you stop and think about it.

    There's three kinds of addons from a configuration point of view:

    Interface enhancements and other addons that are not gameplay specific (tradeskills, quests, map) are configured globally. There's no reason not to. If one of your quest database addons is so heavy you don't use it on your raiding main, then the solution is not a different configuration, it's outright disabling it. I really don't think anyone configures their bags in different ways depending on the character.

    Class specific addons. Again, global configuration. There's no point enabling them unless they're pertinent, and when they are pertinent they're always configured the same. A case could be made for spec-based configuration, since a shadowpriest probably won't care about tracking his prayer of mending, but those are not very common cases.

    Role or spec specific addons. Here is the bulk of combat related addons. Unitframes, raidframes, buff/debuff monitors, timers and so on. These are configured either based on role (dps, healer, tank), or on very specific spec-dependent needs.


    The rare cases are not addons that would benefit from spec-based configuration, but addons that would benefit from character-based configuration, but at the same time not from spec-based configuration.

    PS: Since the replies will surely mention specific cases, I'd like to remind the feature is requested as optional and needs to be explicitly enabled by the addon developer.
    Posted in: Ace3
  • 0

    posted a message on AceDB - Switch Profiles when User changes Spec?
    It's a feature a couple of addons using AceDB and AceDBOptions implement, each on it's own, and one that authors that use these libraries receive as requests fairly often.
    It's tightly tied into the libraries' logic, while being completely untied from any addon-specific logic.

    I understand your reluctance towards adding event handling code to a low level library, and the hiccups it causes, but surely you can't deny there is some merit in the idea.
    Posted in: Ace3
  • 0

    posted a message on AceDB - Switch Profiles when User changes Spec?
    Quote from OrionShock
    Yeah it is a huge leap. What if an addon that uses acedb dosn't care about spec and doesn't want the user to change the profile on spec. What if the Player dosn't want it to swap on spec. There are plenty of addons out there that would be hurt by this being added.

    I think what most people have in mind is an additional choice in AceDBOptions to select a profile for the secondary talent spec, that would default to none, meaning "keep the same profile as the primary spec".
    Users wouldn't be forced to switch profile automatically on spec switch, and developers wouldn't be forced to implement it either, if they feel their addon is not spec-dependant.
    Posted in: Ace3
  • To post a comment, please or register a new account.