phanx-wow / OPieMasque

WoW AddOn — Adds Masque skinning support to OPie.
Other
2 stars 1 forks source link

OpieMasque stopped working 8.3.7 #2

Closed Shirofune closed 4 years ago

Shirofune commented 4 years ago

Basically the title. An Opie update must've broken OPieMasque

jshiell commented 4 years ago

Seeing here as well - cheers!

2x OPie\OPieUI.lua:509: attempt to call method 'RegisterIndicatorConstructor' (a nil value)
[string "@OPie\OPieUI.lua"]:509: in function `SetIndicatorConstructor'
[string "@OPieMasque\Addon.lua"]:228: in main chunk

Locals:
self = <table> {
 SetIndicatorConstructor = <function> defined @OPie\OPieUI.lua:506
 SetQuestHint = <function> defined @OPie\OPieUI.lua:474
 SetDisplayOptions = <function> defined @OPie\OPieUI.lua:470
 GetTexColor = <function> defined @OPie\OPieUI.lua:477
}
func = <function> defined @OPieMasque\Addon.lua:173
(*temporary) = nil
(*temporary) = <table> {
 SetIndicatorConstructor = <function> defined @OPie\OPieUI.lua:506
 SetQuestHint = <function> defined @OPie\OPieUI.lua:474
 SetDisplayOptions = <function> defined @OPie\OPieUI.lua:470
 GetTexColor = <function> defined @OPie\OPieUI.lua:477
}
(*temporary) = "legacy"
(*temporary) = <table> {
 apiLevel = 0
 name = "Legacy"
 CreateIndicator = <function> defined @OPieMasque\Addon.lua:173
}
(*temporary) = "attempt to call method 'RegisterIndicatorConstructor' (a nil value)"
ricErrorOffset = 1
api = <table> {
 SetIndicatorConstructor = <function> defined @OPie\OPieUI.lua:506
 SetQuestHint = <function> defined @OPie\OPieUI.lua:474
 SetDisplayOptions = <function> defined @OPie\OPieUI.lua:470
 GetTexColor = <function> defined @OPie\OPieUI.lua:477
}
LastRegisteredIndicatorFactory = "mirage"

Possibly relevant from the patch notes:

Deprecated the OneRingLib.ext.OPieUI​:SetIndicatorConstructor API. Use OPie.UI:RegisterIndicatorConstructor instead.

DwayneHawkins commented 4 years ago

I'm having this problem as well.

Shirofune commented 4 years ago

OPie got another update today and OPieMasque started working again.