Shadowlands Update
l3uGsY opened this issue ยท 7 comments
Thank you for creating this, it's not only been awesome for the causal group but from Sergeants to Heroes
A quote about the issue
"One of the major changes in 9.0 is a change to SetBackdrop. The TL/DR, on live, 100% of frames support backdrops, whether they are used or not. 1000s of frames between every addon and default UI, even frames that never see such as event frames have backdrops. UI team realized this is a serious performance issue. so effective in 9.0, no frames have backdrops unless the addon imports/inherits the backdrop template.
this means addons that aren't importing them now throw nil errors with method "Setbackdrop". This issue affects a large number of addons."
Here is the error codes
Message: ...es\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:189: attempt to call method 'SetBackdrop' (a nil value) Time: Wed Oct 14 13:52:35 2020 Count: 1 Stack: ...es\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:189: attempt to call method 'SetBackdrop' (a nil value) [string "@Interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua"]:189: in function
?'
[string "@interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:107: in function <...s\BattleGroundEnemies\Libs\AceGUI-3.0\AceGUI-3.0.lua:96>
[string "@interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:145: in function Create' [string "@Interface\AddOns\BattleGroundEnemies\Libs\AceConfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua"]:1849: in function
Open'
[string "@interface\AddOns\BattleGroundEnemies\Options.lua"]:2270: in function ?' [string "@Interface\FrameXML\ChatFrame.lua"]:5073: in function
ChatEdit_ParseText'
[string "@interface\FrameXML\ChatFrame.lua"]:4737: in function ChatEdit_SendText' [string "@Interface\FrameXML\ChatFrame.lua"]:4773: in function
ChatEdit_OnEnterPressed'
[string ":OnEnterPressed"]:1: in function <[string ":OnEnterPressed"]:1>
Locals: frame = {
0 =
}
(*temporary) = nil
(*temporary) = {
0 =
}
(*temporary) =
bgFile = "Interface\DialogFrame\UI-DialogBox-Background"
tileSize = 32
edgeFile = "Interface\DialogFrame\UI-DialogBox-Border"
tile = true
edgeSize = 32
insets =
}
}
(*temporary) = "attempt to call method 'SetBackdrop' (a nil value)"
CreateFrame = defined =[C]:-1
UIParent = UIParent {
0 =
firstTimeLoaded = 1
variablesLoaded = true
}
FrameBackdrop =
bgFile = "Interface\DialogFrame\UI-DialogBox-Background"
tileSize = 32
edgeFile = "Interface\DialogFrame\UI-DialogBox-Border"
tile = true
edgeSize = 32
insets =
}
}
Frame_OnShow = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:28
Frame_OnClose = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:32
Frame_OnMouseDown = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:36
Button_OnClick = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:23
PaneBackdrop =
bgFile = "Interface\ChatFrame\ChatFrameBackground"
tileSize = 16
edgeFile = "Interface\Tooltips\UI-Tooltip-Border"
tile = true
edgeSize = 16
insets =
}
}
StatusBar_OnEnter = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:71
StatusBar_OnLeave = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:75
Title_OnMouseDown = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:40
MoverSizer_OnMouseUp = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:45
SizerSE_OnMouseDown = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:56
SizerS_OnMouseDown = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:61
SizerE_OnMouseDown = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:66
Type = "Frame"
pairs = defined =[C]:-1
methods =
OnHeightSet = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:108
OnRelease = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:93
OnWidthSet = defined @interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIContainer-Frame.lua:98
`
I just uploaded v9.0.1-beta file, hopefully the packager still works as expected. I update the functions for the SetBackdrop change. File should be available on curseforge soon. Feel free to give feedback. Its untested for now, but i am confidend that it could work
v9.0.1-beta
Message: Interface\SharedXML\Backdrop.lua:384: stack overflow Time: Wed Oct 14 18:17:22 2020 Count: 1 Stack: Interface\SharedXML\Backdrop.lua:384: stack overflow [string "@Interface\SharedXML\Backdrop.lua"]:384: in function
SetBackdrop'
[string "@interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function ApplyBackdrop' [string "@Interface\SharedXML\Backdrop.lua"]:394: in function
SetBackdrop'
[string "@interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function ApplyBackdrop' [string "@Interface\SharedXML\Backdrop.lua"]:394: in function
SetBackdrop'
[string "@interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function ApplyBackdrop' [string "@Interface\SharedXML\Backdrop.lua"]:394: in function
SetBackdrop'
[string "@interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function ApplyBackdrop' [string "@Interface\SharedXML\Backdrop.lua"]:394: in function
SetBackdrop'
[string "@interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function ApplyBackdrop' [string "@Interface\SharedXML\Backdrop.lua"]:394: in function
SetBackdrop'
[string "@interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function ApplyBackdrop' ... [string "@Interface\AddOns\BattleGroundEnemies\Testmode.lua"]:105: in function
FillData'
[string "@interface\AddOns\BattleGroundEnemies\Testmode.lua"]:145: in function EnableTestMode' [string "@Interface\AddOns\BattleGroundEnemies\Testmode.lua"]:50: in function <Interface\AddOns\BattleGroundEnemies\Testmode.lua:46> [string "=[C]"]: ? [string "@Interface\AddOns\BattleGroundEnemies\Libs\AceConfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua"]:51: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:49> [string "@Interface\AddOns\BattleGroundEnemies\Libs\AceConfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua"]:843: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:664> [string "=[C]"]: ? [string "@Interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:72: in function <...s\BattleGroundEnemies\Libs\AceGUI-3.0\AceGUI-3.0.lua:70> [string "@Interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:306: in function
Fire'
[string "@interface\AddOns\BattleGroundEnemies\Libs\AceGUI-3.0\widgets\AceGUIWidget-Button.lua"]:22: in function <...mies\Libs\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19>
Locals: `
Pardon, I had other addons running with the deleted post.
When entering a BG
Message: Interface\AddOns\BattleGroundEnemies\Main.lua:196: Attempt to register unknown event "UNIT_HEALTH_FREQUENT" Time: Wed Oct 14 18:54:40 2020 Count: 1 Stack: Interface\AddOns\BattleGroundEnemies\Main.lua:196: Attempt to register unknown event "UNIT_HEALTH_FREQUENT" [string "=[C]"]: in function
RegisterEvent'
[string "@interface\AddOns\BattleGroundEnemies\Main.lua"]:196: in function <Interface\AddOns\BattleGroundEnemies\Main.lua:194>
[string "=[C]"]: in function Show' [string "@Interface\AddOns\BattleGroundEnemies\Main.lua"]:1251: in function
CheckIfShouldShow'
[string "@interface\AddOns\BattleGroundEnemies\Main.lua"]:1246: in function ApplyBGSizeSettings' [string "@Interface\AddOns\BattleGroundEnemies\Main.lua"]:404: in function
BGSizeChanged'
[string "@interface\AddOns\BattleGroundEnemies\Main.lua"]:416: in function BGSizeCheck' [string "@Interface\AddOns\BattleGroundEnemies\Main.lua"]:3129: in function
?'
[string "@interface\AddOns\BattleGroundEnemies\Main.lua"]:77: in function <Interface\AddOns\BattleGroundEnemies\Main.lua:77>
Locals: (*temporary) = {
0 =
SetPlayerCountJustifyV = defined @interface\AddOns\BattleGroundEnemies\Main.lua:1292
PlayerCount = {
}
bgSizeConfig =
}
RemovePlayer = defined @interface\AddOns\BattleGroundEnemies\Main.lua:1562
InactivePlayerButtons =
}
ApplyBGSizeSettings = defined @interface\AddOns\BattleGroundEnemies\Main.lua:1214
SortPlayers = defined @interface\AddOns\BattleGroundEnemies\Main.lua:1717
NAME_PLATE_UNIT_REMOVED = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2644
UNIT_HEALTH_FREQUENT = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2653
NewPlayerDetails =
}
OnUpdate =
}
NAME_PLATE_UNIT_ADDED = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2636
Players =
}
RealPlayersOnUpdate = defined @interface\AddOns\BattleGroundEnemies\Main.lua:166
SetupButtonForNewPlayer = defined @interface\AddOns\BattleGroundEnemies\Main.lua:1300
NumPlayers = false
ApplyAllSettings = defined @interface\AddOns\BattleGroundEnemies\Main.lua:1208
GetPlayerbuttonByUnitID = defined @interface\AddOns\BattleGroundEnemies\Main.lua:1283
ButtonPositioning = defined @interface\AddOns\BattleGroundEnemies\Main.lua:1577
RemoveAllPlayers = defined @interface\AddOns\BattleGroundEnemies\Main.lua:1571
DeleteAndCreateNewPlayers = defined @interface\AddOns\BattleGroundEnemies\Main.lua:1661
config =
}
CheckIfShouldShow = defined @interface\AddOns\BattleGroundEnemies\Main.lua:1249
CreateOrUpdatePlayer = defined @interface\AddOns\BattleGroundEnemies\Main.lua:1635
PlayerType = "Enemies"
UpdatePlayerCount = defined @interface\AddOns\BattleGroundEnemies\Main.lua:1258
PlayerSortingTable =
}
UNIT_POWER_FREQUENT = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2660
}
(*temporary) = "UNIT_HEALTH_FREQUENT"
`
Message: Interface\AddOns\BattleGroundEnemies\Objects\DR.lua:190: stack overflow Time: Wed Oct 14 18:55:42 2020 Count: 12 Stack: Interface\AddOns\BattleGroundEnemies\Objects\DR.lua:190: stack overflow [string "@Interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function
ApplyBackdrop'
[string "@interface\SharedXML\Backdrop.lua"]:394: in function SetBackdrop' [string "@Interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function
ApplyBackdrop'
[string "@interface\SharedXML\Backdrop.lua"]:394: in function SetBackdrop' [string "@Interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function
ApplyBackdrop'
[string "@interface\SharedXML\Backdrop.lua"]:394: in function SetBackdrop' [string "@Interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function
ApplyBackdrop'
[string "@interface\SharedXML\Backdrop.lua"]:394: in function SetBackdrop' [string "@Interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function
ApplyBackdrop'
[string "@interface\SharedXML\Backdrop.lua"]:394: in function SetBackdrop' [string "@Interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function
ApplyBackdrop'
[string "@interface\SharedXML\Backdrop.lua"]:394: in function SetBackdrop' ... [string "@Interface\SharedXML\Backdrop.lua"]:394: in function
SetBackdrop'
[string "@interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function ApplyBackdrop' [string "@Interface\SharedXML\Backdrop.lua"]:394: in function
SetBackdrop'
[string "@interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:190: in function ApplyBackdrop' [string "@Interface\AddOns\BattleGroundEnemies\Objects\DR.lua"]:35: in function
ApplySettings'
[string "@interface\AddOns\BattleGroundEnemies\Main.lua"]:650: in function ApplyButtonSettings' [string "@Interface\AddOns\BattleGroundEnemies\Main.lua"]:1528: in function
SetupButtonForNewPlayer'
[string "@interface\AddOns\BattleGroundEnemies\Main.lua"]:1678: in function DeleteAndCreateNewPlayers' [string "@Interface\AddOns\BattleGroundEnemies\Main.lua"]:3167: in function
?'
[string "@interface\AddOns\BattleGroundEnemies\Main.lua"]:77: in function <Interface\AddOns\BattleGroundEnemies\Main.lua:77>
Locals: self = {
BottomLeftCorner = {
}
OnBackdropLoaded = defined @interface\SharedXML\Backdrop.lua:205
GetBackdropColor = defined @interface\SharedXML\Backdrop.lua:443
SetWidthOfAuraFrames = defined @interface\AddOns\BattleGroundEnemies\Objects\DR.lua:55
TopLeftCorner = {
}
RightEdge = {
}
DrPositioning = defined @interface\AddOns\BattleGroundEnemies\Objects\DR.lua:142
ApplyBackdrop = defined @interface\AddOns\BattleGroundEnemies\Objects\DR.lua:189
SetBackdrop = defined @interface\SharedXML\Backdrop.lua:382
ClearBackdrop = defined @interface\SharedXML\Backdrop.lua:335
GetBackdropBorderColor = defined @interface\SharedXML\Backdrop.lua:462
GetBackdrop = defined @interface\SharedXML\Backdrop.lua:400
DisplayDR = defined @interface\AddOns\BattleGroundEnemies\Objects\DR.lua:64
SetBorderBlendMode = defined @interface\SharedXML\Backdrop.lua:319
SetPosition = defined @interface\AddOns\BattleGroundEnemies\Objects\DR.lua:50
backdropInfo =
}
OnBackdropSizeChanged = defined @interface\SharedXML\Backdrop.lua:235
HasBackdropInfo = defined @interface\SharedXML\Backdrop.lua:331
ApplySettings = defined @interface\AddOns\BattleGroundEnemies\Objects\DR.lua:34
GetEdgeSize = defined @interface\SharedXML\Backdrop.lua:241
0 =
TopEdge = {
}
Center = {
}
BottomEdge = {
}
TopRightCorner = {
}
DR =
}
SetupTextureCoordinates = defined @interface\SharedXML\Backdrop.lua:267
SetBackdropBorderColor = defined @interface\SharedXML\Backdrop.lua:475
BottomRightCorner = `
`Message: Interface\AddOns\BattleGroundEnemies\Main.lua:3119: attempt to call upvalue 'IsRatedBattleground' (a nil value)
Time: Wed Oct 14 18:54:45 2020
Count: 1
Stack: Interface\AddOns\BattleGroundEnemies\Main.lua:3119: attempt to call upvalue 'IsRatedBattleground' (a nil value)
[string "@interface\AddOns\BattleGroundEnemies\Main.lua"]:3119: in function <Interface\AddOns\BattleGroundEnemies\Main.lua:3118>
Locals: (*temporary) = BattleGroundEnemies {
0 =
UI_SCALE_CHANGED = defined @interface\AddOns\BattleGroundEnemies\Main.lua:108
ToggleTestmodeOnUpdate = defined @interface\AddOns\BattleGroundEnemies\Testmode.lua:42
PLAYER_ENTERING_WORLD = defined @interface\AddOns\BattleGroundEnemies\Main.lua:3173
Allies = {
}
PlayerAlive = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2946
CropImage = defined @interface\AddOns\BattleGroundEnemies\Main.lua:346
options =
}
ArenaEnemyIDToPlayerButton =
}
ProfileChanged = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2680
Objects =
}
DisableTestMode = defined @interface\AddOns\BattleGroundEnemies\Testmode.lua:55
UPDATE_BATTLEFIELD_SCORE = defined @interface\AddOns\BattleGroundEnemies\Main.lua:3061
BattleGroundDebuffs =
}
ARENA_CROWD_CONTROL_SPELL_UPDATE = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2917
SetBasicPosition = defined @interface\AddOns\BattleGroundEnemies\Main.lua:325
BGSize = 15
PLAYER_LOGIN = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2613
BattlegroundBuff =
}
AllyFaction = 1
Enemies = {
}
MyCreateCooldown = defined @interface\AddOns\BattleGroundEnemies\Main.lua:381
EnemyFaction = 0
PLAYER_FOCUS_CHANGED = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2872
ToggleArenaFrames = defined @interface\AddOns\BattleGroundEnemies\Main.lua:3000
FillFakePlayerData = defined @interface\AddOns\BattleGroundEnemies\Testmode.lua:65
db =
}
PLAYER_TARGET_CHANGED = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2842
SetupOptions = defined @interface\AddOns\BattleGroundEnemies\Options.lua:2117
PLAYER_ALIVE = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2958
PlayerIsAlive = true
UPDATE_MOUSEOVER_UNIT = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2895
COMBAT_LOG_EVENT_UNFILTERED = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2834
FillData = defined @interface\AddOns\BattleGroundEnemies\Testmode.lua:82
GetPlayerbuttonByUnitID = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2732
ToggleTestmode = defined @interface\AddOns\BattleGroundEnemies\Testmode.lua:46
ARENA_OPPONENT_UPDATE = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2704
EnableTestMode = defined @interface\AddOns\BattleGroundEnemies\Testmode.lua:112
UNIT_TARGET = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2970
MyCreateFontString = defined @interface\AddOns\BattleGroundEnemies\Main.lua:373
BGSizeChanged = defined @interface\AddOns\BattleGroundEnemies\Main.lua:401
PLAYER_UNGHOST = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2946
ARENA_COOLDOWNS_UPDATE = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2928
BGSizeCheck = defined @interface\AddOns\BattleGroundEnemies\Main.lua:408
Debug = defined @interface\AddOns\BattleGroundEnemies\Main.lua:2685
}
(*temporary) = nil
(*temporary) = "attempt to call upvalue 'IsRatedBattleground' (a nil value)"
self = BattleGroundEnemies {
0 =
UI_SCALE_CHANGED = defined @interface\AddOns\BattleGroundEnemies\Main.lua:108
ToggleTestmodeOnUpdate = defined @interface\A`
Thanks for your feedback guys, today i got the chance to log into the game myself. i think i got it this time. v9.0.3-beta should be available shortly on curseforge. Please let me know if this version works for you
v9.0.4-beta should be the one working niceley now, i did a bg and it looked good so far