LunaUnitFrames

LunaUnitFrames

268k Downloads

Using only '[rep]' tag for the player XP bar causes error, loads no unitframes

jH- opened this issue ยท 1 comments

commented

Branch: TBC
Version: 4.190 Beta

Replace any existing tags for the player XP bar (tested with center position) with only the '[rep]' tag.
Works as intended for the active session, but on reload/exit or character change will result in errors, and no unitframes loading.

image

Error 1

Message: [string "return function(unit)..."]:3: attempt to concatenate local 'name' (a nil value)
Time: Wed Jul 21 00:01:19 2021
Count: 1
Stack: [string "return function(unit)..."]:3: attempt to concatenate local 'name' (a nil value)
[string "return function(unit)
		local name, standing, min, max, value, factionID = GetWatchedFactionInfo()
		return (value-min).."/"..(max-min).." "..name
	end"]:3: in function `fnc'
[string "@Interface\AddOns\LunaUnitFrames\libs\oUF_Plugins\oUF_TagsWithHeal\oUF_TagsWithHeal.lua"]:1474: in function `UpdateTag'
[string "@Interface\AddOns\LunaUnitFrames\libs\oUF_Plugins\oUF_TagsWithHeal\oUF_TagsWithHeal.lua"]:1355: in function `func'
[string "@Interface\AddOns\LunaUnitFrames\libs\oUF\ouf.lua"]:201: in function `UpdateAllElements'
[string "@Interface\AddOns\LunaUnitFrames\LunaUnitFrames.lua"]:980: in function `ApplySettings'
[string "@Interface\AddOns\LunaUnitFrames\LunaUnitFrames.lua"]:1173: in function `func'
[string "@Interface\AddOns\LunaUnitFrames\libs\oUF\ouf.lua"]:330: in function <Interface\AddOns\LunaUnitFrames\libs\oUF\ouf.lua:250>
[string "=(tail call)"]: ?
[string "@Interface\AddOns\LunaUnitFrames\libs\oUF\ouf.lua"]:704: in function `Spawn'
[string "@Interface\AddOns\LunaUnitFrames\LunaUnitFrames.lua"]:1212: in function `SpawnUnits'
[string "@Interface\AddOns\LunaUnitFrames\LunaUnitFrames.lua"]:236: in function `OnLoad'
[string "@Interface\AddOns\LunaUnitFrames\LunaUnitFrames.lua"]:1511: in function <Interface\AddOns\LunaUnitFrames\LunaUnitFrames.lua:1509>

Locals: unit = "player"
name = nil
standing = 0
min = 0
max = 0
value = 0
factionID = 0
(*temporary) = 0
(*temporary) = "/"
(*temporary) = 0
(*temporary) = " "
(*temporary) = nil
(*temporary) = "attempt to concatenate local 'name' (a nil value)"

Error 2

Message: [string "return function(unit)..."]:3: attempt to concatenate local 'name' (a nil value)
Time: Wed Jul 21 00:01:19 2021
Count: 1
Stack: [string "return function(unit)..."]:3: attempt to concatenate local 'name' (a nil value)
[string "return function(unit)
		local name, standing, min, max, value, factionID = GetWatchedFactionInfo()
		return (value-min).."/"..(max-min).." "..name
	end"]:3: in function `fnc'
[string "@Interface\AddOns\LunaUnitFrames\libs\oUF_Plugins\oUF_TagsWithHeal\oUF_TagsWithHeal.lua"]:1474: in function `UpdateTag'
[string "@Interface\AddOns\LunaUnitFrames\libs\oUF_Plugins\oUF_TagsWithHeal\oUF_TagsWithHeal.lua"]:1355: in function `func'
[string "@Interface\AddOns\LunaUnitFrames\libs\oUF\ouf.lua"]:201: in function <Interface\AddOns\LunaUnitFrames\libs\oUF\ouf.lua:184>
[string "=(tail call)"]: ?

Locals: unit = "player"
name = nil
standing = 0
min = 0
max = 0
value = 0
factionID = 0
(*temporary) = 0
(*temporary) = "/"
(*temporary) = 0
(*temporary) = " "
(*temporary) = nil
(*temporary) = "attempt to concatenate local 'name' (a nil value)"

commented

Fixed.