FlithPaths - fix coordinates
partial fix, removed un-needed zeroes between nodes. the debug print still cannot find out the right hops between nodes.
This commit is contained in:
@@ -41,6 +41,8 @@ Accept Ress - Will it ever accept ressurection if ressurecter in combat ?
|
||||
|
||||
QueueTimer - Need to test if timer .After 0.1 is fine in SetupBar func (was 1 second before)
|
||||
|
||||
LibCandyBar - Will it be conflicting with other addons that use 3.3.5 version of CandyBar lib?
|
||||
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
-- Stuff to-do:
|
||||
|
||||
+5
-5
@@ -6545,10 +6545,10 @@ function LeaPlusLC:FriendCheck(name)
|
||||
local numEnterHops = GetNumRoutes(index)
|
||||
local debugString = '["' .. currentNode
|
||||
local routeString = currentNode
|
||||
for i = 2, numEnterHops + 1 do
|
||||
local nextHopX = string.format("%0.2f", TaxiGetDestX(index, i))
|
||||
local nextHopY = string.format("%0.2f", TaxiGetDestY(index, i))
|
||||
local hopPos = nextHopX .. ":" .. nextHopY
|
||||
for i = 1, numEnterHops do
|
||||
local nextHopX = TaxiGetDestX(index, i)
|
||||
local nextHopY = TaxiGetDestY(index, i)
|
||||
local hopPos = string.format("%0.2f", nextHopX) .. ":" .. string.format("%0.2f", nextHopY)
|
||||
|
||||
|
||||
local fpName = TaxiNodeName(i)
|
||||
@@ -6590,7 +6590,7 @@ function LeaPlusLC:FriendCheck(name)
|
||||
|
||||
-- Add node names to debug string
|
||||
debugString = debugString .. " -- " .. nodeName
|
||||
for i = 2, numEnterHops + 1 do
|
||||
for i = 1, numEnterHops do
|
||||
local fpName = TaxiNodeName(i)
|
||||
|
||||
-- Find comma index
|
||||
|
||||
@@ -961,7 +961,7 @@
|
||||
["0.63:0.44:0.45:0.56"] = 224, -- Orgrimmar, Thunder Bluff (David Galindo suggested 233)
|
||||
["0.63:0.44:0.56:0.53"] = 110, -- Orgrimmar, Crossroads
|
||||
["0.63:0.44:0.61:0.55"] = 108, -- Orgrimmar, Ratchet
|
||||
["0.63:0.56:0.00:0.00:0.63:0.64"] = 95, -- Orgrimmar, Valormok
|
||||
["0.63:0.56:0.63:0.64"] = 95, -- Orgrimmar, Valormok
|
||||
["0.63:0.56:0.00:0.000.63:0.64"] = 90, -- Orgrimmar, Splintertree Post
|
||||
["0.63:0.44:0.56:0.53:0.41:0.47"] = 258, -- Orgrimmar, Crossroads, Sun Rock Retreat
|
||||
["0.63:0.44:0.55:0.42:0.41:0.37"] = 249, -- Orgrimmar, Splintertree Post, Zoram'gar Outpost
|
||||
|
||||
Reference in New Issue
Block a user