KuiNameplates

KuiNameplates

11M Downloads

WotLK - LUA error - UnitEffectiveLevel

Zamogit86 opened this issue ยท 0 comments

commented

Background info:

Noticed this issue today, but I haven't logged into the game since last Friday, February 10th.
There was a small 50Mb update today, before I logged into Wrath of the Lich King
The entire addon appear to not load, or atleast the option entry in the Interface menu.
Tried with all other addons disabled.
Command /knp dump seems to be unrecognized.

Description:

The nameplates do not load up, when you get closer to a target.

At distance:

WoWScrnShot_021623_184120

When you get close:

WoWScrnShot_021623_184128

When you disable enemy nameplates (default key V):

WoWScrnShot_021623_184148

First error:


4x Kui_Nameplates/elements/level.lua:13: attempt to call global 'UnitEffectiveLevel' (a nil value)
[string "@Kui_Nameplates/elements/level.lua"]:13: in function `UpdateLevel'
[string "@Kui_Nameplates/elements/level.lua"]:24: in function `func'
[string "@Kui_Nameplates/messages.lua"]:128: in function `DispatchMessage'
[string "@Kui_Nameplates/nameplate.lua"]:75: in function `OnShow'
[string "@Kui_Nameplates/nameplate.lua"]:68: in function `OnUnitAdded'
[string "@Kui_Nameplates/addon.lua"]:115: in function `?'
[string "@Kui_Nameplates/addon.lua"]:157: in function <Kui_Nameplates/addon.lua:154>

Locals:
f = KuiNamePlate2 {
 0 = <userdata>
 unit = "nameplate1"
 elements = <table> {
 }
 guid = "Creature-0-4460-571-5135-28011-00006E4D53"
 parent = NamePlate2 {
 }
 state = <table> {
 }
 handler = <table> {
 }
}
(*temporary) = <table> {
 health_max = 11001
 healthColour = <table> {
 }
 combat = false
 personal = false
 health_cur = 11001
 health_deficit = 0
 reaction = 2
 name = "Emperor Cobra"
 attackable = true
 health_per = 100
}
(*temporary) = nil
(*temporary) = "nameplate1"
(*temporary) = "attempt to call global 'UnitEffectiveLevel' (a nil value)"
kui = <table> {
 table_to_string = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:71
 DebugPopup = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:523
 CLASSIC = false
 Pluralise = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:365
 UnitLevel = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:265
 print = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:187
 string_to_table = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:110
 m = <table> {
 }
 frameFadeRemoveFrame = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:596
 utf8sub = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:396
 SetTextureToClass = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:220
 num = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:335
 GetClassColour = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:197
 frameIsFading = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:589
 FrameLockMixin = <table> {
 }
 CreateFontString = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:303
 CreateEightSlice = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:749
 frameFade = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:612
 UNIT_HEALTH = "UNIT_HEALTH_FREQUENT"
 GetUnitColour = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:238
 SHADOWLANDS = false
 FormatTime = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:349
 ModifyFontFlags = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:289
 UnitIsPet = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:235
 Brighten = <function> defined @Kui_Nameplates/lib/Kui/Kui.lua:376
}
instanced_pvp = false

Second error:


Message: Frame:RegisterEvent(): Frame:RegisterEvent(): Attempt to register unknown event "UNIT_SPELLCAST_INTERRUPTIBLE"
Time: Thu Feb 16 18:32:40 2023
Count: 1
Stack: Frame:RegisterEvent(): Frame:RegisterEvent(): Attempt to register unknown event "UNIT_SPELLCAST_INTERRUPTIBLE"
[string "=[C]"]: in function `RegisterEvent'
[string "@Interface/AddOns/Kui_Nameplates/messages.lua"]:347: in function `RegisterEvent'
[string "@Interface/AddOns/Kui_Nameplates/messages.lua"]:353: in function `RegisterUnitEvent'
[string "@Interface/AddOns/Kui_Nameplates/elements/castbar.lua"]:247: in function `OnEnable'
[string "@Interface/AddOns/Kui_Nameplates/messages.lua"]:501: in function `Enable'
[string "@Interface/AddOns/Kui_Nameplates/addon.lua"]:183: in function <Interface/AddOns/Kui_Nameplates/addon.lua:154>

Locals: (*temporary) = Frame {
 0 = <userdata>
}
(*temporary) = "UNIT_SPELLCAST_INTERRUPTIBLE"