NeatPlates

NeatPlates

7M Downloads

LUA Errors on retail 10.0

cpuritscher opened this issue ยท 1 comments

commented

What version of the game you are experiencing the issue with:
Live/Retail 10.0, Neatplates v420

Describe the bug
Two LUA errors, persist even after resetting addon settings. Curious why no one else seems to be experiencing them!?

Message: Interface/AddOns/NeatPlates/NeatPlatesCore.lua:1954: attempt to call field 'SetSubText' (a nil value)
Time: Fri Oct 28 22:59:23 2022
Count: 1753
Stack: Interface/AddOns/NeatPlates/NeatPlatesCore.lua:1954: attempt to call field 'SetSubText' (a nil value)
[string "@Interface/AddOns/NeatPlates/NeatPlatesCore.lua"]:1954: in function <Interface/AddOns/NeatPlates/NeatPlatesCore.lua:1952>
[string "@Interface/AddOns/NeatPlates/NeatPlatesCore.lua"]:654: in function <Interface/AddOns/NeatPlates/NeatPlatesCore.lua:642>
[string "@Interface/AddOns/NeatPlates/NeatPlatesCore.lua"]:678: in function <Interface/AddOns/NeatPlates/NeatPlatesCore.lua:665>
[string "@Interface/AddOns/NeatPlates/NeatPlatesCore.lua"]:810: in function <Interface/AddOns/NeatPlates/NeatPlatesCore.lua:800>
[string "@Interface/AddOns/NeatPlates/NeatPlatesCore.lua"]:380: in function <Interface/AddOns/NeatPlates/NeatPlatesCore.lua:353>

Locals: index = nil
unitSubtext = nil
unitPlateStyle = nil
(*temporary) = nil
(*temporary) =

{
guid = "Player-3691-092448A8"
isMouseover = false
class = "DRUID"
rawName = "Scratcher"
level = 60
red = 0
levelcolorRed = 1
isDangerous = false
isPet = false
name = "Scratcher"
pvpname = "Archdruid Scratcher"
levelcolorBlue = 0
isBoss = false
isFocus = false
healthmax = 42700
isTarget = false
levelcolorGreen = 0.820000
alphaMult = 0.239216
isMarked = false
realm = "Taerar"
isTapped = false
type = "PLAYER"
blue = 1
power = 160
isInCombat = false
threatSituation = "LOW"
powermax = 160
reaction = "FRIENDLY"
isTrivial = false
showName = true
health = 42700
green = 0
isCasting = false
threatValue = 0
unitid = "nameplate1"
isMini = false
}
(*temporary) = "attempt to call field 'SetSubText' (a nil value)"
style =
{
powerbar =
{
}
spellicon =
{
}
extrabar =
{
}
target =
{
}
spelltarget =
{
}
healthbar =
{
}
healthborder =
{
}
targetindicator_arrowright =
{
}
mouseover =
{
}
durationtext =
{
}
name =
{
}
hitbox =
{
}
raidicon =
{
}
customtext =
{
}
targetindicator =
{
}
eliteicon =
{
}
extratext =
{
}
spelltext =
{
}
extraborder =
{
}
threatcolor =
{
}
targetindicator_arrowtop =
{
}
castbar =
{
}
highlight =
{
}
threatborder =
{
}
skullicon =
{
}
focus =
{
}
targetindicator_arrowsides =
{
}
targetindicator_arrowleft =
{
}
castborder =
{
}
subtext =
{
}
level =
{
}
frame =
{
}
rangeindicator =
{
}
castnostop =
{
}
}
activetheme =
{
powerbar =
{
}
spellicon =
{
}
extrabar =
{
}
target =
{
}
spelltarget =
{
}
healthbar =
{
}
healthborder =
{
}
targetindicator_arrowright =
{
}
mouseover =
{
}
durationtext =
{
}
name =
{
}
hitbox =
{
}
raidicon =
{
}
customtext =
{
}
targetindicator =
{
}
eliteicon =
{
}
extratext =
{
}
spelltext =
{
}
extraborder =
{
}
threatcolor =
{
}
targetindicator_arrowtop =
{
}
castbar =
{
}
highlight =
{
}
threatborder =
{
}
skullicon =
{
}
focus =
{
}
targetindicator_arrowsides =
{
}
targetindicator_arrowleft =
{
}
castborder =
{
}
subtext =
{
}
level =
{
}
frame =
{
}
rangeindicator =
{
}
castnostop =
{
}
}
unit =
{
guid = "Player-3691-092448A8"
isMouseover = false
class = "DRUID"
rawName = "Scratcher"
level = 60
red = 0
levelcolorRed = 1
isDangerous = false
isPet = false
name = "Scratcher"
pvpname = "Archdruid Scratcher"
levelcolorBlue = 0
isBoss = false
isFocus = false
healthma


Message: Interface/AddOns/NeatPlates/NeatPlatesCore.lua:261: attempt to call field 'SetScale' (a nil value)
Time: Fri Oct 28 22:59:12 2022
Count: 3
Stack: Interface/AddOns/NeatPlates/NeatPlatesCore.lua:261: attempt to call field 'SetScale' (a nil value)
[string "@Interface/AddOns/NeatPlates/NeatPlatesCore.lua"]:261: in function <Interface/AddOns/NeatPlates/NeatPlatesCore.lua:260>

Locals: (*temporary) = nil
(*temporary) = "attempt to call field 'SetScale' (a nil value)"
activetheme =

{
powerbar =
{
}
spellicon =
{
}
extrabar =
{
}
target =
{
}
spelltarget =
{
}
healthbar =
{
}
healthborder =
{
}
targetindicator_arrowright =
{
}
mouseover =
{
}
durationtext =
{
}
name =
{
}
hitbox =
{
}
raidicon =
{
}
customtext =
{
}
targetindicator =
{
}
eliteicon =
{
}
extratext =
{
}
spelltext =
{
}
extraborder =
{
}
threatcolor =
{
}
targetindicator_arrowtop =
{
}
castbar =
{
}
highlight =
{
}
threatborder =
{
}
skullicon =
{
}
focus =
{
}
targetindicator_arrowsides =
{
}
targetindicator_arrowleft =
{
}
castborder =
{
}
subtext =
{
}
level =
{
}
frame =
{
}
rangeindicator =
{
}
castnostop =
{
}
}
cWidth = nil
cHeight = nil
plate = NamePlate3 {
0 =
driverFrame = NamePlateDriverFrame {
}
extended = Frame {
}
GetAdditionalInsetPadding = defined @Interface/AddOns/Blizzard_NamePlates/Blizzard_NamePlates.lua:557
ApplyOffsets = defined @Interface/AddOns/Blizzard_NamePlates/Blizzard_NamePlates.lua:539
UpdateMe = true
showBlizzardPlate = false
template = "NamePlateUnitFrameTemplate"
UpdateCastbar = true
OnSizeChanged = defined @Interface/AddOns/Blizzard_NamePlates/Blizzard_NamePlates.lua:587
GetPreferredInsets = defined @Interface/AddOns/Blizzard_NamePlates/Blizzard_NamePlates.lua:568
OnRemoved = defined @Interface/AddOns/Blizzard_NamePlates/Blizzard_NamePlates.lua:526
OnAdded = defined @Interface/AddOns/Blizzard_NamePlates/Blizzard_NamePlates.lua:515
carrier = NeatPlatesCarrier-1 {
}
namePlateUnitToken = "nameplate3"
UnitFrame = Button {
}
OnOptionsUpdated = defined @Interface/AddOns/Blizzard_NamePlates/Blizzard_NamePlates.lua:533
}
SetNamePlateFriendlySize = defined @Interface/AddOns/NeatPlates/NeatPlatesCore.lua:28
SetNamePlateEnemySize = defined =[C]:-1
show = nil

To Reproduce
Login

Expected behavior
Working addon, no errors

Screenshots

Additional context

commented

I found the issue: It happens when no theme is loaded.