1
0
Bifurcation 0

Resolved issue 194. Made some more changes to the saved variables layout.

Cette révision appartient à :
Nathanial.C.Jones 2010-12-16 03:23:48 +00:00
Parent 6264665bef
révision d0cb454610
8 fichiers modifiés avec 12 ajouts et 10 suppressions

Voir le fichier

@ -24,7 +24,7 @@ local function BolusizeLocation(delayed, c, z, x, y)
-- Also, any nil values are being turned into MIN_WHATEVER.
local float_x = float(x)
local float_y = float(y)
return string.format("%s %s %s %s %s", signed(delayed and 1 or 0), signed(c), signed(z), float_x, float_y)
return string.format("%s,%s,%s,%s,%s", signed(delayed and 1 or 0), signed(c), signed(z), float_x, float_y)
--return signed(delayed and 1 or 0) .. signed(c) .. signed(z) .. float_x .. float_y
end

Voir le fichier

@ -446,7 +446,7 @@ local function LootOpened()
if IsFishingLoot() then
-- yaaaaay
--if debug_output then QuestHelper:TextOut("Fishing loot") end
local loc = GetLoc()
local loc = "(" .. GetLoc() .. ")"
if not QHC.fishing[loc] then QHC.fishing[loc] = {} end
spot = QHC.fishing[loc]
prefix = "fish"
@ -505,7 +505,7 @@ local function LootOpened()
monsterrefresh[targetguid] = GetTime() + 2
else
--if debug_output then QuestHelper:TextOut("Who knows") end -- ugh
local loc = GetLoc()
local loc = "(" .. GetLoc() .. ")"
if not QHC.worldloot[loc] then QHC.worldloot[loc] = {} end
spot = QHC.worldloot[loc]
prefix = "loot"

Voir le fichier

@ -80,7 +80,7 @@ local function MouseoverUnit()
end
end
QuestHelper: Assert(minrange >= 0 and minrange < 256 and maxrange >= 0 and maxrange < 256)
Merger.Add(critter, string.format("%s %s %s", GetLoc(), tostring(minrange), tostring(maxrange))) --strchar(minrange, maxrange))
Merger.Add(critter, string.format("(%s %s %s),", GetLoc(), tostring(minrange), tostring(maxrange))) --strchar(minrange, maxrange))
if #recentlySeenCritters_Recent >= 100 then
for k, v in recentlySeenCritters_NextTrash do

Voir le fichier

@ -88,7 +88,7 @@ local function Tooltipy(self)
-- We have no unique identifier, so I'm just going to record every position we see. That said, I wonder if it's a good idea to add a cooldown.
-- Obviously, we also have no possible range data, so, welp.
Merger.Add(qhci, GetLoc(), true)
Merger.Add(qhci, "(" .. GetLoc() .. ")", true)
end
end

Voir le fichier

@ -189,7 +189,7 @@ local function StartOrEnd(se, id)
if targuid and IsMonsterGUID(targuid) then
chunk = string.format("M%dm", GetMonsterType(targuid))
end
chunk = chunk .. GetLoc()
chunk = chunk .. "(" .. GetLoc() ..")"
AppendMember(QHCQ[id], se, chunk)
AppendMember(QHCQ[id], se .. "_spec", GetSpecBolus())
@ -293,7 +293,7 @@ local function UpdateQuests()
token = ""
for k, v in pairs(eventy) do token = token .. v.event end
debugtok = token
token = token .. "L" .. GetLoc() .. "l"
token = token .. "(" .. GetLoc() .. ")"
end
local ttok = token

Voir le fichier

@ -43,7 +43,7 @@ local function OnUpdate()
if last_warp + 10 < GetTime() and leapy then
if debug_output then QuestHelper:TextOut("REAL Warpy!") end
Merger.Add(QHCW, lastloc_bolus .. bolus)
Merger.Add(QHCW, "(" .. lastloc_bolus .. ")(" .. bolus .. ")")
last_warp = GetTime()
end
end

Voir le fichier

@ -90,8 +90,9 @@ local static_shared_routes =
{{35, 0.45, 0.85}, {169, 0.60, 0.09}, 5}, -- Silverpine <--> Ruins of Gilneas
{{169, 0.5, 0.5}, {170, 0.5, 0.5}, 5}, -- Ruins of Gilneas <--> Ruins of Gilneas City (Meta info, map doesn't change properly as of 2010-12-11-0156UET)
{{179, 0.5, 0.5}, {180, 0.5, 0.5}, 86400}, -- DeepHolm <--> Kezan (Meta info for when major error is fixed.)
{{181, 0.5, 0.5}, {180, 0.5, 0.5}, 86400}, -- The Lost Isles <--> Kezan (Meta info for when major error is fixed.)
{{208, 0.5, 0.5}, {180, 0.5, 0.5}, 86400}, -- The Lost Isles <--> Kezan (Meta info for when major error is fixed.)
{{181, 0.24, 0.77}, {180, 0.22, 0.17}, 90}, -- The Lost Isles <--> Kezan (Meta info for when major error is fixed.)
{{208, 0.24, 0.77}, {180, 0.22, 0.17}, 90}, -- The Lost Isles <--> Kezan (Meta info for when major error is fixed.)
{{209, 0.24, 0.77}, {180, 0.22, 0.17}, 90}, -- The Lost Isles <--> Kezan (Meta info for when major error is fixed.)
{{181, 0.5, 0.5}, {182, 0.5, 0.5}, 86400}, -- The Lost Isles <--> The Maelstrom (Meta info for when major error is fixed.)
{{183, 0.5, 0.5}, {182, 0.5, 0.5}, 86400}, -- The Maelstrom Continent <--> The Maelstrom (Meta info for when major error is fixed.)
{{183, 0.5, 0.5}, {1, 0.5, 0.5}, 86400}, -- The Maelstrom Continent <--> Orgrimmar (Meta info for when major error is fixed.)

Voir le fichier

@ -270,6 +270,7 @@ QuestHelper_IndexLookup =
["Kezan"] = {180, 5, 2},
["TheLostIsles"] = {181, 5, 3},
["TheLostIsles_terrain1"] = {208, 5, 3},
["TheLostIsles_terrain2"] = {209, 5, 3},
["TheMaelstrom"] = {182, 5, 4},
["TheMaelstromContinent"] = {183, 5, 0},
["TwilightHighlands"] = {184, 2, 34},