AdiButtonAuras

AdiButtonAuras

404k Downloads

The spell data for %s is for the previous expansion and is inaccurate.

ghankins opened this issue ยท 2 comments

commented

Version (*):

Interface: 110200
Version: 11.0.2

Bug description (*):

Starting several expansions and releases I started getting a message that my class and race spell data is inaccurate when I log in. I deleted the AddOn and setting, and still get them after a fresh install with no SavedVariables/AdiButtonAuras.lua.

Class and spell data:

I get these messages on all classes and races that I play (I have a lot of alts).

Error report:

In RuleDSL.lua, but I can't figure out what is causing it.

        local function WarnOnStaleData(category)
                local _, patch = LibPlayerSpells:GetVersionInfo(category)
                local _, _, _, build = _G.GetBuildInfo()

                if math.floor(patch / 1e4) < math.floor(build / 1e4) then
                        print(
                                format(
                                        '%s |cffe7c82aThe spell data for %s is for the previous expansion and is inaccurate.|r',
                                        format('|cff00ccff%s:|r', addonName),
                                        category
                                )
                        )
                end
        end
commented

Thanks for your quick reply and for maintaining this Addon!

commented

ABA comes bundled with LibPlayerSpells-1.0 which includes stale data. I do not have the time to keep class data up to date or review PRs in this regard. The current data is left as is and the warning is displayed to warn you that you might get inaccurate results.

If you want the warning to go away, create your own spell data addon to feed LibPlayerSpells-1.0 up-to-date data for your class spec (or just pass it an empty set with a version matching the current WoW build). See https://github.com/AdiAddons/LibPlayerSpells-1.0/tree/master/data for examples.