Masque

Masque

7M Downloads

Bug: Masque Causing `LibDualSpec-1.0` Error on BCC PTR

Nillx opened this issue ยท 2 comments

commented

Is there a planned TBC update? I tried using the current 9.0 or 1.13 versions of the addon on the Beta but im getting this errors:

2x ...dOns\Masque\Libs\LibDualSpec-1.0\LibDualSpec-1.0-19.lua:77: attempt to call global 'GetNumSpecializationsForClassID' (a nil value)
[string "@Masque\Libs\LibDualSpec-1.0\LibDualSpec-1.0-19.lua"]:77: in main chunk

Locals:
MAJOR = "LibDualSpec-1.0"
MINOR = 19
lib = <table> {
 registry = <table> {
 }
 options = <table> {
 }
 upgrades = <table> {
 }
 currentSpec = 0
 eventFrame = <unnamed> {
 }
 mixin = <table> {
 }
}
minor = nil
registry = <table> {
}
options = <table> {
}
mixin = <table> {
}
upgrades = <table> {
}
AceDB3 = <table> {
 db_registry = <table> {
 }
 frame = <unnamed> {
 }
 New = <function> defined @AtlasLootClassic\Libs\AceDB-3.0\AceDB-3.0.lua:709
}
AceDBOptions3 = <table> {
 optionTables = <table> {
 }
 handlers = <table> {
 }
 GetOptionsTable = <function> defined @Masque\Libs\AceDBOptions-3.0\AceDBOptions-3.0.lua:442
}
AceConfigRegistry3 = <table> {
 RegisterOptionsTable = <function> defined @Masque\Libs\AceConfig-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:315
 validated = <table> {
 }
 tables = <table> {
 }
 callbacks = <table> {
 }
 RegisterCallback = <function> defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 GetOptionsTable = <function> defined @Masque\Libs\AceConfig-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:360
 UnregisterCallback = <function> defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
 IterateOptionsTables = <function> defined @Masque\Libs\AceConfig-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:346
 NotifyChange = <function> defined @Masque\Libs\AceConfig-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:289
 ValidateOptionsTable = <function> defined @Masque\Libs\AceConfig-3.0\AceConfigRegistry-3.0\AceConfigRegistry-3.0.lua:276
 UnregisterAllCallbacks = <function> defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
}
_ = "Warlock"
_ = "WARLOCK"
classId = 9
(*temporary) = nil
(*temporary) = 9
(*temporary) = "attempt to call global 'GetNumSpecializationsForClassID' (a nil value)"

2x Masque\Masque-90002.lua:107: attempt to call method 'EnhanceDatabase' (a nil value)
[string "@Masque\Masque-90002.lua"]:107: in function <Masque\Masque.lua:73>
[string "=[C]"]: ?
[string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:70: in function <...aceMasque\Libs\AceAddon-3.0\AceAddon-3.0.lua:65>
[string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:498: in function `InitializeAddon'
[string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0-13.lua"]:623: in function <...aceMasque\Libs\AceAddon-3.0\AceAddon-3.0.lua:615>
commented

That fix worked thanks.

commented

There will be a TBC update fairly soon. For now, if you're comfortable editing a file, you can change line 33 of Masque.lua from:

local WOW_RETAIL = (select(4, GetBuildInfo()) > 20000) and true or nil

to:

local WOW_RETAIL = (select(4, GetBuildInfo()) > 30000) and true or nil

In the Classic version.