KuiNameplates

KuiNameplates

11M Downloads

Getting 3 different Lua errors

Anodrai opened this issue ยท 1 comments

commented

The errors seem to be constantly popping up now every few seconds and on one occasion, the add-on stopped working completely and even reinstalling didn't fix (had to go into WTF folder and delete any KUI files).

I would appreciate any help in some assistance in figuring out what these mean:

Message: Interface\FrameXML\AuraUtil.lua:58: Usage: local continuationToken, slot1, slot2, ... = UnitAuraSlots("unit" [, "filter"][, maxSlots][, continuationToken])
Time: Sat Jan 2 02:27:54 2021
Count: 1
Stack: Interface\FrameXML\AuraUtil.lua:58: Usage: local continuationToken, slot1, slot2, ... = UnitAuraSlots("unit" [, "filter"][, maxSlots][, continuationToken])
[string "=[C]"]: ?
[string "=[C]"]: in function UnitAuraSlots' [string "@Interface\FrameXML\AuraUtil.lua"]:58: in function ForEachAura'
[string "@interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:597: in function UpdateBuffs' [string "@Interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:209: in function OnUnitAuraUpdate'
[string "@interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:182: in function OnTargetChanged' [string "@Interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:61: in function <...e\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua:47> [string "=[C]"]: in function CameraOrSelectOrMoveStop'
[string "CAMERAORSELECTORMOVE"]:4: in function <[string "CAMERAORSELECTORMOVE"]:1>

Message: ...e\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua:216: Usage: GetRaidTargetIndex(unit)
Time: Sat Jan 2 02:28:00 2021
Count: 2
Stack: ...e\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua:216: Usage: GetRaidTargetIndex(unit)
[string "=[C]"]: ?
[string "=[C]"]: in function GetRaidTargetIndex' [string "@Interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:216: in function OnRaidTargetUpdate'
[string "@interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:122: in function `OnNamePlateAdded'
[string "@interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:56: in function <...e\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua:47>

Message: Interface\FrameXML\AuraUtil.lua:58: Usage: local continuationToken, slot1, slot2, ... = UnitAuraSlots("unit" [, "filter"][, maxSlots][, continuationToken])
Time: Sat Jan 2 02:27:54 2021
Count: 1
Stack: Interface\FrameXML\AuraUtil.lua:58: Usage: local continuationToken, slot1, slot2, ... = UnitAuraSlots("unit" [, "filter"][, maxSlots][, continuationToken])
[string "=[C]"]: ?
[string "=[C]"]: in function UnitAuraSlots' [string "@Interface\FrameXML\AuraUtil.lua"]:58: in function ForEachAura'
[string "@interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:597: in function UpdateBuffs' [string "@Interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:209: in function OnUnitAuraUpdate'
[string "@interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:182: in function OnTargetChanged' [string "@Interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua"]:61: in function <...e\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua:47> [string "=[C]"]: in function CameraOrSelectOrMoveStop'
[string "CAMERAORSELECTORMOVE"]:4: in function <[string "CAMERAORSELECTORMOVE"]:1>

This one happens when I log out and back into another character and that is when the add-on stops working and it is no longer listed in the interface AddOns menu:

Message: Interface\AddOns\Kui_Nameplates_Core\config.lua:310: attempt to perform arithmetic on local 'v' (a string value)
Time: Sat Jan 2 02:51:28 2021
Count: 1
Stack: Interface\AddOns\Kui_Nameplates_Core\config.lua:310: attempt to perform arithmetic on local 'v' (a string value)
[string "=[C]"]: ?
[string "@interface\AddOns\Kui_Nameplates_Core\config.lua"]:310: in function Scale' [string "@Interface\AddOns\Kui_Nameplates_Core\create.lua"]:216: in function <Interface\AddOns\Kui_Nameplates_Core\create.lua:189> [string "@Interface\AddOns\Kui_Nameplates_Core\create.lua"]:277: in function SetLocals'
[string "@interface\AddOns\Kui_Nameplates_Core\config.lua"]:925: in function <Interface\AddOns\Kui_Nameplates_Core\config.lua:920>
[string "@interface\AddOns\Kui_Nameplates_Core\config.lua"]:1014: in function InitialiseConfig' [string "@Interface\AddOns\Kui_Nameplates_Core\hook.lua"]:346: in function Initialise'
[string "@interface\AddOns\Kui_Nameplates\addon.lua"]:190: in function <Interface\AddOns\Kui_Nameplates\addon.lua:154>

I've tried disabling all other add-ons and only enabling KUI, and the issue still persists. I look forward to anyone knowing what could be going wrong. As far as I know, I don't have any other UI add-ons that may conflict.

Thanks,

-Ano

commented

The first three aren't related to KNP as far as I can tell, and I don't know what would be causing them. The last one means that there's an invalid value in your KNP config. Unless you manually changed a setting with the slash commands, I don't know how that would've happened, but deleting the WTF should have fixed it. It shouldn't be possible for it to disappear from the add-ons list. So it sounds like your game has its own problems, but it would be weird if that was only affecting nameplates. Do you get any errors with KNP disabled?