Das Problem besteht laut error meldung in der funktion LoadHonorNormal() - attempt to concatenate a nil value.
Ich seh die entsprechende Stelle nicht, aber vllt hängts auch an ner weiteren unterfunktion.
- Update PvP Info
function funcs.PVPUpdate()
if (HasInspectHonorData()) or (funcs.CheckLastUnit() and UnitIsUnit(u.token,"player")) then
funcs.LoadHonorNormal();
funcs.LoadArenaTeamsNormal();
else
RequestInspectHonorData();
end
end
-- Load Honor Normal
function funcs.LoadHonorNormal()
local unit = (u.token or "");
local faction = UnitFactionGroup(unit);
local todayHK, todayHonor, yesterdayHK, yesterdayHonor, lifetimeHK, lifetimeRank;
-- Query
if (UnitIsUnit(unit,"player")) then
todayHK, todayHonor = GetPVPSessionStats();
yesterdayHK, yesterdayHonor = GetPVPYesterdayStats();
lifetimeHK, lifetimeRank = GetPVPLifetimeStats();
else
todayHK, todayHonor, yesterdayHK, yesterdayHonor, lifetimeHK, lifetimeRank = GetInspectHonorData();
end
-- Update
funcs.UpdateHonor(todayHK, todayHonor, yesterdayHK, yesterdayHonor, lifetimeHK, lifetimeRank, faction);
-- Show Honor Points for Player only
if (UnitIsUnit(unit,"player")) then
ex.pvpLabels[9]
etText(GetHonorCurrency());
ex.pvpLabels[9]
etTextColor(0,1,0);
end
-- Cache
if (cfg.EnableCache) and (cfg.CachePvP) then
local cacheEntry = cache[funcs.GetEntryName()];
if (cacheEntry) and (time() - cacheEntry.time <= 8) then
cacheEntry["Honor"] = { todayHK = todayHK, todayHonor = todayHonor, yesterdayHK = yesterdayHK, yesterdayHonor = yesterdayHonor, lifetimeHK = lifetimeHK, lifetimeRank = lifetimeRank };
end
end
end
EDIT; mit [code zeigts im forum nur 2 zeilen an oO