1
0
Bifurcation 0

Added routes for all of Vash'Jir, Hyjal and Uldum. There is an issue when crossing the Ocean from Vash to mainland EK. This issue also arises during map browsing. I think this is just an issue with what Astrolabe is sending back and will figure it out sometime in the near future.

Cette révision appartient à :
Nathanial.C.Jones 2010-12-10 03:15:15 +00:00
Parent 1b3780c0da
révision 05aa02c879
2 fichiers modifiés avec 16 ajouts et 3 suppressions

Voir le fichier

@ -10,9 +10,11 @@ local function signed(c)
end
local function float(c)
local orig_c = c
if c then
c = math.floor(c * 16777216 + 0.5) -- 24 bits of fraction baby
QuestHelper: Assert(c >= -2147483647 and c < 2147483647)
QuestHelper: Assert(c >= -2147483648, string.format("c is too big. It was %s, and now is %s.", tostring(orig_c), tostring(c)))
QuestHelper: Assert(c < 2147483647, string.format("c is too small. It was %s, and now is %s.", tostring(orig_c), tostring(c)))
else
c = -2147483648
end
@ -26,7 +28,9 @@ local function BolusizeLocation(delayed, c, z, x, y)
-- Overall we're using a weird 11 bytes on this. Meh.
-- Also, any nil values are being turned into MIN_WHATEVER.
-- if x and y then print(delayed, c, z, x, y) end
return signed(delayed and 1 or 0) .. signed(c) .. signed(z) .. float(x) .. float(y)
local float_x = float(x)
local float_y = float(y)
return signed(delayed and 1 or 0) .. signed(c) .. signed(z) .. float_x .. float_y
end
-- This merely provides another API function

Voir le fichier

@ -73,7 +73,16 @@ local static_shared_routes =
{{34, 0.817, 0.461}, {78, 0.492, 0.312}, 86400}, -- EPL Ebon Hold <--> Scarlet Enclave Ebon Hold. Exists solely to fix some pathing crashes. 24-hour boat ride :D
{{67, 0.256, 0.515}, {8, 0.659, 0.498}, 5, true}, -- Dalaran --> CoT
{{178, 0.83, 0.34}, {167, 0.45, 0.23}, 210, true}, -- Vash'jir --> Vash'jir Kelp Forest (One time, One way)
{{167, 0.69, 0.60}, {178, 0.80, 0.30}, 5}, -- Vash'jir Kelp Forest <--> Vash'jir
{{178, 0.84, 0.23}, {62, 0.37, 0.58}, 5}, -- Vash'jir <--> The Great Sea (EK Continent, zone 0)
{{62, 0.39, 0.60}, {28, 0.00, 0.20}, 5}, -- The Great Sea (EK Continent, zone 0) <--> Dun Morogh
{{167, 0.40, 0.64}, {171, 0.56, 0.14}, 5}, -- VKF <--> SE
{{178, 0.50, 0.28}, {165, 0.72, 0.04}, 5}, -- Vash <--> Vash'jir Depths
{{185, 0.85, 0.41}, {19, 0.58, 0.91}, 5}, -- Hyjal <--> Winterspring
{{164, 0.84, 0.41}, {8, 0.37, 0.82}, 5}, -- Uldum <--> Tanaris
{{164, 0.70, 0.22}, {8, 0.25, 0.66}, 5}, -- Uldum <--> Tanaris
-- Wrath instance entrances
{{80, 0.693, 0.730}, {70, 0.573, 0.467}, 5}, -- UK
{{86, 0.362, 0.880}, {65, 0.275, 0.260}, 5}, -- Nexus