CoolLine (classic updated)

CoolLine (classic updated)

67.2k Downloads

[BUG][Classic] SetBackdrop error

raethkcj opened this issue ยท 3 comments

commented

The same changes that came to retail with SetBackdrop last year have now made their way to Classic, since Classic TBC is based on a more recent version of the retail client.

** Software verrsions (please complete the following information):**

  • OS: Win
  • WoW game version: 2.5.1 classic
  • Addon Version: 9.0.002
  • Character class: Shaman
Message: Interface\AddOns\CoolLine\core.lua:270: attempt to call method 'SetBackdrop' (a nil value)
Time: Wed May 19 10:38:31 2021
Count: 1
Stack: Interface\AddOns\CoolLine\core.lua:270: attempt to call method 'SetBackdrop' (a nil value)
[string "@Interface\AddOns\CoolLine\core.lua"]:270: in function <Interface\AddOns\CoolLine\core.lua:244>
[string "@Interface\AddOns\CoolLine\core.lua"]:358: in function `?'
[string "@Interface\AddOns\CoolLine\core.lua"]:15: in function <Interface\AddOns\CoolLine\core.lua:14>

Locals: option = nil
(*temporary) = nil
(*temporary) = <unnamed> {
 0 = <userdata>
}
(*temporary) = <table> {
 edgeSize = 12
 edgeFile = "Interface\AddOns\Details\images\border_3"
}
(*temporary) = "attempt to call method 'SetBackdrop' (a nil value)"
self = CoolLine {
 0 = <userdata>
 ClearCooldown = <function> defined @Interface\AddOns\CoolLine\core.lua:383
 SPELL_UPDATE_COOLDOWN = <function> defined @Interface\AddOns\CoolLine\core.lua:629
 chargespells = <table> {
 }
 frames = <table> {
 }
 NewCooldown = <function> defined @Interface\AddOns\CoolLine\core.lua:464
 UNIT_PET = <function> defined @Interface\AddOns\CoolLine\core.lua:703
 border = <unnamed> {
 }
 SetConfig = <function> defined @Interface\AddOns\CoolLine\core.lua:82
 PET_BAR_UPDATE_COOLDOWN = <function> defined @Interface\AddOns\CoolLine\core.lua:678
 bg = <unnamed> {
 }
 PLAYER_LEAVING_WORLD = <function> defined @Interface\AddOns\CoolLine\core.lua:373
 getConfig = <function> defined @Interface\AddOns\CoolLine\core.lua:101
 SPELL_UPDATE_CHARGES = <function> defined @Interface\AddOns\CoolLine\core.lua:629
 SPELLS_CHANGED = <function> defined @Interface\AddOns\CoolLine\core.lua:566
 spells = <table> {
 }
 NO_RELOCATE = "NO_RELOCATE"
 UNIT_EXITED_VEHICLE = <function> defined @Interface\AddOns\CoolLine\core.lua:744
 MainFrame = CoolLine {
 }
 UNIT_ENTERED_VEHICLE = <function> defined @Interface\AddOns\CoolLine\core.lua:735
 ACTIONBAR_UPDATE_COOLDOWN = <function> defined @Interface\AddOns\CoolLine\core.lua:714
 specialspells = <table> {
 }
 updatelook = <function> defined @Interface\AddOns\CoolLine\core.lua:244
 cooldowns = <table> {
 }
 PLAYER_ENTERING_WORLD = <function> defined @Interface\AddOns\CoolLine\core.lua:364
 BAG_UPDATE_COOLDOWN = <function> defined @Interface\AddOns\CoolLine\core.lua:643
 UNIT_SPELLCAST_FAILED = <function> defined @Interface\AddOns\CoolLine\core.lua:757
}
db = <table> {
 bgcolor = <table> {
 }
 border = "Details BarBorder 3"
 borderinset = 3
 h = 22
 fontsize = 14
 block = <table> {
 }
 iconplus = 2
 spellcolor = <table> {
 }
 nospellcolor = <table> {
 }
 inactivealpha = 0
 bordercolor = <table> {
 }
 w = 360
 y = -214
 x = 0
 dbinit = 3
 activealpha = 1
 bordersize = 12
 font = "Myriad Condensed Web"
 fontcolor = <table> {
 }
 statusbar = "Blizzard"
}
NO_RELOCATE = "NO_RELOCATE"
smed = <table> {
 OverrideMedia = <table> {
 }
 callbacks = <table> {
 }
 LOCALE_BIT_zhTW = 8
 SetDefault = <function> defined @Interface\AddOns\CoolLine\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:293
 GetDefault = <function> defined @Interface\AddOns\CoolLine\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:289
 LOCALE_BIT_ruRU = 2
 UnregisterAllCallbacks = <function> defined @Interface\AddOns\Bagnon\common\Wildpants\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
 MediaType = <table> {
 }
 LOCALE_BIT_western = 128
 SetGlobal = <function> defined @Interface\AddOns\CoolLine\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:280
 GetGlobal = <function> defined @Interface\AddOns\CoolLine\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:276
 List = <function> defined @Interface\AddOns\CoolLine\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:266
 HashTable = <function> defined @Interface\AddOns\CoolLine\Libs\LibSharedMedia-3.0\LibSharedMedia-3.0.lua:262
 MediaTable = <table> {
 }
 RegisterCallback = <function> defined @Interface\AddOns\Bagnon\common\Wildpants\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 IsValid = <function> defined @Interface\AddOns\CoolLine
commented

fixed with this pull request #17

commented

Hi,
Thanx for pull request, but saw it too late.

The beta version https://github.com/LoneWanderer-GH/CoolLine/releases/tag/9.1.000-beta2 already had the backdrop fix.

Please have a look at this beta release https://github.com/LoneWanderer-GH/CoolLine/releases/tag/9.1.000-beta3
(I did some tests on all game versions, but I would like some feedback)

It should land to curse forge as beta in a few hours.

commented

Thanks, 9.1.000-beta3 worked well for me all day yesterday on Classic. I'll close this issue since this particular bug is fixed, and open any new ones if needed.