Using Skinner Beta7.24864.1 from 20.08 I get the following error:
29144x Skinner\UIFrames.lua:828: attempt to index upvalue 'bmDB' (a nil value)
Skinner\UIFrames.lua:839: in function <Skinner\UIFrames.lua:790>
(tail call): ?
[C]: in function `xpcall'
Skinner\UtilFuncs.lua:105: in function <Skinner\UtilFuncs.lua:98>
(tail call): ?
Skinner\AddonFrames.lua:108: in function <Skinner\AddonFrames.lua:99>
Skinner\AddonFrames.lua:133: in function <Skinner\AddonFrames.lua:132>
Locals:
nil
I have reset the setup to defaults, but the error stays. I am a bit lost, where this error comes from.
local s = Status(unit)
WordWrap() -- enables wrapping
if s then
return s
end
return "%s \n %s", Short(HP(unit),true), ManafunctionIDontKnow(unit) --\n should give you a newline
local r,g,b = HostileColor(unit)
local gr,gg,gb = HostileColor(unit)
local rank = strsub(UnitPVPName(unit) or UnitName(unit), 1, 22)
-- rank = "123456789012345678901234567890123456789012345678901234567890"
local guild = GetGuildInfo(unit)
if not guild then
-- guess NPC guild from Tooltip[2]
if not tt then
tt = CreateFrame("GameTooltip")
tt:SetOwner(UIParent, "ANCHOR_NONE")
tt.left = {}
tt.right = {}
for i = 1, 30 do
tt.left[i] = tt:CreateFontString()
tt.left[i]:SetFontObject(GameFontNormal)
tt.right[i] = tt:CreateFontString()
tt.right[i]:SetFontObject(GameFontNormal)
tt:AddFontStrings(tt.left[i], tt.right[i])
end
end
tt:ClearLines()
tt:SetUnit(unit)
local left_2 = tt.left[2]:GetText()
if not left_2 or left_2:find(_G.LEVEL) then
guild = ""
else
guild = "<"..left_2..">"
end -- if
end -- if not guild
if guild == GetGuildInfo("player") then
gr,gg,gb = 00, 118, 236
end -- if guild
if guild ~= "" then
guild = "<" .. guild .. ">"
end
return "|cff%02x%02x%02x%s|r |n|cff%02x%02x%02x%s|r",r,g,b,rank,gr,gg,gb,guild
I was able to ressurect an old Wow Install and get my old Lua:texts back. But it seems there was a change how the code works.
Old Install used v4.0.0-beta54-17-gf55620a New Install uses v4.0.0-beta55
The new code prints the "\n" instead of using a newline and "|n" just shows "|..." and the remaining string is discarded. See the attached screenshot.
Old Health
local s = Status(unit)
if s then
return s
end
local cur, max = HP(unit), MaxHP(unit)
if UnitIsFriend(unit,"player") then
local miss = max - cur
if miss ~= 0 then
return "%s/%s|n |cffff7f7f%s|r",Short(cur,true),Short(max,true),miss
--return \"|cffff7f7f%d|r\",miss
else
return Short(max,true)
end
else
return "%s/%s\\n %s%%",Short(cur,true),Short(max,true),Percent(cur,max)
end
I am redoing my Pitbull config and I am running into a weird problem. I want a multiline display in my healthbar.
left:
Name
<Guild>
right:
CurHP/MaxHP
%HP
But I am unable to group 2 LuaTexts below one another or insert a linebreak into the return statement.
I tried to escape the linebreak with "\n", "\\n" and "|n" but neither of those seem to work. Inside the health bar I can only assign left, right, center, but not above or below.
I am trying to add Boss frames to my Pittbull layout.
I have added a new Group "Boss" with unit group "Boss".
I am getting a lot of LUA errors and so far I have not seen them show up in a Raid environment - maybe because I did just use legacy raids that did not have them yet.
Where could I test those frames - what do I need to bear in mind?
I have been using buffet for ages, but with Pandaria it is a huge mess for me, as buff food is not added to the list as "normal food".
thus I have either to manage food myself - accidentally using precious pots - ... I have been looking for an alternative, but it seems there is non - nor an update with "all" food for buffet.
I do not care for the food bonus for everyday affairs so much, but having a single button that replanishes health and reduces food in my backpack.
I have looked at curse and wowinterface so far, but have not found one.
0
Using Skinner Beta7.24864.1 from 20.08 I get the following error:
I have reset the setup to defaults, but the error stays. I am a bit lost, where this error comes from.
0
0
0
with lots of Raid Icons at the start, my UI is unable to copy unfortunately.
0
0
0
0
I was able to ressurect an old Wow Install and get my old Lua:texts back. But it seems there was a change how the code works.
Old Install used v4.0.0-beta54-17-gf55620a
New Install uses v4.0.0-beta55
The new code prints the "\n" instead of using a newline and "|n" just shows "|..." and the remaining string is discarded. See the attached screenshot.
Old Health
0
I am redoing my Pitbull config and I am running into a weird problem. I want a multiline display in my healthbar.
left:
Name
<Guild>
right:
CurHP/MaxHP
%HP
But I am unable to group 2 LuaTexts below one another or insert a linebreak into the return statement.
I tried to escape the linebreak with "\n", "\\n" and "|n" but neither of those seem to work. Inside the health bar I can only assign left, right, center, but not above or below.
I must be missing something really obvious.
0
I am trying to add Boss frames to my Pittbull layout.
I have added a new Group "Boss" with unit group "Boss".
I am getting a lot of LUA errors and so far I have not seen them show up in a Raid environment - maybe because I did just use legacy raids that did not have them yet.
Where could I test those frames - what do I need to bear in mind?
0
0
0
Conjured not conjured, holiday, ...
0
solidice.com/downloads/world-of-warcraft
But I guess they did contact the respective authors prior to hosting them.
0
I have been using buffet for ages, but with Pandaria it is a huge mess for me, as buff food is not added to the list as "normal food".
thus I have either to manage food myself - accidentally using precious pots - ... I have been looking for an alternative, but it seems there is non - nor an update with "all" food for buffet.
I do not care for the food bonus for everyday affairs so much, but having a single button that replanishes health and reduces food in my backpack.
I have looked at curse and wowinterface so far, but have not found one.