LibDualSpec-1.0

This project has become inactive.

This project is inactive and its default file will likely not work with the most recent version of World of Warcraft. The author may have abandoned it, or it may have outlived its usefulness.

Adds dual spec support to individual AceDB-3.0 databases and provides AceDBOptions-3.0 hooks to handle it.

This allows the user to enable dual spec feature and to select the alternate profile to be enabled on talent switching.

This feature is disabled by default and the user has to create the alternate profile himself/herself.

Read the quick tutorial to know how to add dual spec support to your addon. There is also an API reference though it should not be very useful in most cases.

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

  • 5 comments
  • Avatar of xbeeps xbeeps Aug 05, 2012 at 17:20 UTC - 0 likes

    If this works in 4.x, can you tag the repository so that it can be packaged with addons? I use "tag: latest" in .pkgmeta and it currently seems to pick up 1.6 which errors in 5.x, and i would like to start pushing a release of my addons with a version of libdualspec that also works in 5.x for minimal breakage when the patch hits. Thanks!

  • Avatar of Stanzilla Stanzilla Jul 02, 2012 at 18:09 UTC - 0 likes

    3x LibDualSpec-1.0\LibDualSpec-1.0-11.lua:50: attempt to compare nil with number LibDualSpec-1.0\LibDualSpec-1.0-11.lua:50: in main chunk

  • Avatar of Parnic Parnic Jul 02, 2012 at 16:44 UTC - 0 likes

    @Adirelle: Go

    I like your fix better :). Thanks!

  • Avatar of Adirelle Adirelle Jul 02, 2012 at 06:46 UTC - 0 likes

    Fixed in latest alpha.

  • Avatar of Parnic Parnic Jun 30, 2012 at 19:36 UTC - 0 likes

    WoW 5.0 changed GetActiveTalentGroup() to GetActiveSpecGroup(). I fixed this by adding

    local wow_500 = select(4, GetBuildInfo()) >= 50000
    

    above the SetScript for OnEvent, then changed newTalentGroup's assignment to:

    local newTalentGroup = wow_500 and GetActiveSpecGroup() or GetActiveTalentGroup()
    

    NoDualSpec() needs similar treatment for GetNumSpecGroups().

    I would submit the fix, but attempting to login to the development git is asking for a password.

    Last edited Jul 02, 2012 by Parnic: added note about NoDualSpec()
  • 5 comments

Facts

Date created
Jun 08, 2009
Category
Last update
Apr 13, 2013
Development stage
Inactive
Language
  • deDE
  • enUS
  • frFR
  • zhCN
  • zhTW
License
LibDualSpec-1.0 license
Curse link
LibDualSpec-1.0
Reverse relationships
11
Downloads
98,339
Recent files

Authors