Fixed issue reported at Curse in comments. Added in some functionality.
Cette révision appartient à :
Parent
f2c47d0f97
révision
bf1a04a431
|
@ -13,7 +13,8 @@ local GetLoc
|
||||||
local Merger
|
local Merger
|
||||||
|
|
||||||
local function DoZoneUpdate(label, debugverbose)
|
local function DoZoneUpdate(label, debugverbose)
|
||||||
local zname = string.format("%s@@%s@@%s", GetZoneText(), GetRealZoneText(), GetSubZoneText()) -- I don't *think* any zones will have a @@ in them :D
|
local zt, rzt, szt, mzt = GetZoneText() or "", GetRealZoneText() or "", GetSubZoneText() or "", GetMinimapZoneText() or ""
|
||||||
|
local zname = string.format("%s@@%s@@%s@@%s", zt, rzt, szt, mzt) -- I don't *think* any zones will have a @@ in them :D
|
||||||
if zname == "@@@@" then return end -- denied
|
if zname == "@@@@" then return end -- denied
|
||||||
if not QHCZ[zname] then QHCZ[zname] = {} end
|
if not QHCZ[zname] then QHCZ[zname] = {} end
|
||||||
if not QHCZ[zname][label] then QHCZ[zname][label] = {} end
|
if not QHCZ[zname][label] then QHCZ[zname][label] = {} end
|
||||||
|
@ -29,6 +30,12 @@ local function DoZoneUpdate(label, debugverbose)
|
||||||
if loc.delayed == 128 and loc.c == 0 and loc.z == 0 and loc.x == -128 and loc.y == -128 then return end
|
if loc.delayed == 128 and loc.c == 0 and loc.z == 0 and loc.x == -128 and loc.y == -128 then return end
|
||||||
--if loc == "€\000\000\000€\000\000\000€€€" then return end -- this is kind of the "null value"
|
--if loc == "€\000\000\000€\000\000\000€€€" then return end -- this is kind of the "null value"
|
||||||
local found = false
|
local found = false
|
||||||
|
|
||||||
|
if not znl.locs then
|
||||||
|
znl.locs = {}
|
||||||
|
end
|
||||||
|
|
||||||
|
table.insert(znl.locs, loc)
|
||||||
|
|
||||||
-- Commented out, 'cause this module isn't really loaded anymore. I'll remove it after the next commit.
|
-- Commented out, 'cause this module isn't really loaded anymore. I'll remove it after the next commit.
|
||||||
--Merger.Add(znl, loc, true)
|
--Merger.Add(znl, loc, true)
|
||||||
|
|
Référencer dans un nouveau ticket