Addon stop working after reload
sonic1226 opened this issue ยท 10 comments
After I reload the UI, addon just stops working (shadowlands beta). I can't even /apt gui to bring it up. The only solution I found is closing the game and reopening it. No error messages are shown too :/
Try disabling "Hide blizzard raid frames" in global settings. Although if it works at all that's unlikely the cause.
Idk, i don't have the beta to say anything else.
And btw are you sure you have errors enabled?
They could be disabled by default. /console scriptErrors 1
Got these errors:
Message: Interface\AddOns\Aptechka\Aptechka.lua:435: attempt to call global 'CanAccessObject' (a nil value)
Time: Sun Jul 26 16:20:12 2020
Count: 20
Stack: Interface\AddOns\Aptechka\Aptechka.lua:435: attempt to call global 'CanAccessObject' (a nil value)
[string "@interface\AddOns\Aptechka\Aptechka.lua"]:435: in function <Interface\AddOns\Aptechka\Aptechka.lua:434>
[string "=[C]"]: ?
[string "=[C]"]: in function CreateFrame' [string "@Interface\SharedXML\Pools.lua"]:113: in function
creationFunc'
[string "@interface\SharedXML\Pools.lua"]:50: in function Acquire' [string "@Interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:101: in function
AcquireUnitFrame'
[string "@interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:114: in function `OnNamePlateAdded'
[string "@interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:56: in function <...e\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua:47>
Locals: self = {
ignoreCUFNameRequirement = true
WidgetContainer = {
}
ClassificationFrame = {
}
RaidTargetFrame = {
}
maxDispelDebuffs = 0
disableMouse = true
healthBar = {
}
BuffFrame = {
}
optionTable =
}
0 =
selectionHighlight = {
}
name = {
}
aggroHighlight = {
}
maxDebuffs = 0
maxBuffs = 0
LoseAggroAnim = {
}
castBar = {
}
}
(*temporary) = nil
(*temporary) = {
ignoreCUFNameRequirement = true
WidgetContainer = {
}
ClassificationFrame = {
}
RaidTargetFrame = {
}
maxDispelDebuffs = 0
disableMouse = true
healthBar = {
}
BuffFrame = {
}
optionTable =
}
0 =
selectionHighlight = {
}
name = {
}
aggroHighlight = {
}
maxDebuffs = 0
maxBuffs = 0
LoseAggroAnim = {
}
castBar = {
}
}
(*temporary) = "attempt to call global 'CanAccessObject' (a nil value)"
Message: Interface\AddOns\Aptechka\Aptechka.lua:435: attempt to call global 'CanAccessObject' (a nil value)
Time: Sun Jul 26 16:20:12 2020
Count: 20
Stack: Interface\AddOns\Aptechka\Aptechka.lua:435: attempt to call global 'CanAccessObject' (a nil value)
[string "@interface\AddOns\Aptechka\Aptechka.lua"]:435: in function <Interface\AddOns\Aptechka\Aptechka.lua:434>
[string "=[C]"]: ?
[string "=[C]"]: in function CreateFrame' [string "@Interface\SharedXML\Pools.lua"]:113: in function
creationFunc'
[string "@interface\SharedXML\Pools.lua"]:50: in function Acquire' [string "@Interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:101: in function
AcquireUnitFrame'
[string "@interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:114: in function `OnNamePlateAdded'
[string "@interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:56: in function <...e\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua:47>
Locals: self = {
ignoreCUFNameRequirement = true
WidgetContainer = {
}
ClassificationFrame = {
}
RaidTargetFrame = {
}
maxDispelDebuffs = 0
disableMouse = true
healthBar = {
}
BuffFrame = {
}
optionTable =
}
0 =
selectionHighlight = {
}
name = {
}
aggroHighlight = {
}
maxDebuffs = 0
maxBuffs = 0
LoseAggroAnim = {
}
castBar = {
}
}
(*temporary) = nil
(*temporary) = {
ignoreCUFNameRequirement = true
WidgetContainer = {
}
ClassificationFrame = {
}
RaidTargetFrame = {
}
maxDispelDebuffs = 0
disableMouse = true
healthBar = {
}
BuffFrame = {
}
optionTable =
}
0 =
selectionHighlight = {
}
name = {
}
aggroHighlight = {
}
maxDebuffs = 0
maxBuffs = 0
LoseAggroAnim = {
}
castBar = {
}
}
(*temporary) = "attempt to call global 'CanAccessObject' (a nil value)"
Anyway I can increase the number of BUFFS that are shown? I'm using bars on all my buffs but it seems to be capped at 5. Also any way to move the buff indicators to custom spots on the frame? or are they set in certain places (like buff1 buff2 and so on) ?
Well there's a problem with that level of customization currently.
If you're familiar with some wow Lua what you can do is install this https://github.com/rgd87/AptechkaUserConfig/releases/download/1.0/AptechkaUserConfig_1.zip
And there you can create new indicators or move the existing ones. Although increasing "bars" to more than 5 i don't think is possible
https://github.com/rgd87/Aptechka/releases
Latest build allows creating custom bar and icon groups, and default bars group can go up to 7 now