MMOMinion

Full Version: Teleporting to Azyslla fail
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This has been an issue since there's no map id 402 in ffxiv_nav_data,
However before I update today, I can always fix this problem by manually adding a 402 index into file to make it work but it's not anymore.

It failed on ffxiv_common_cne.lua, line:1024 assert(type(gotoPos) == "table","Destination position is invalid.")
since line:637 ml_nav_manager.GetNextPathPos returns a nil

ml_nav_manager seems like in black box now, so I have no way to go deeper and find out what's wrong.
What information do you usually add to nav_data?
I used to put an empty table "{}" indexed to 402 so it's like

[402] = {},

UPDATES: I just find out that this might not be a specific problem for my Azys lla case. I use navTest mode and try to reach The Churning Mist from different places and get the same error message. Churning Mist is map 400, which is already written in nav data.

Idyllshire -> The churning mist (OK)
Western Thanalan -> The churning mist (ERROR)
Central Thanalan -> The churning mist (ERROR)

Wester Thanalan -> Idyllshire (ERROR)
Gridania -> Idyllshire (ERROR)

Seems like the way to find path is doing something wrong?

UPDATES2: However, you can do it reversely.
Idyllshire -> Wester Thanalan (OK)
Idyllshire -> Gridania (OK)
Okay, so I do some blind guess and fix this.

Linkage from Foundation to CWH is not defined and that's why you can't teleport from old map to Idyllshire. I also add a bi-direction link between foundation and azys lla, but i'm not sure if i use that "b" attribute correctly, I put a contentid into it like Sea of Cloud.

Code:
[402] =
    {
        [419] =
        {
            cost = 3,
            gates = {
                {x = -876.7509765625, y = -184.29299926758, z = -669.19744873047, h = -2.3307199478149, b = 2005372 },
            },
        },
    },
    [418] =
    {
        [155] =
        {
            cost = 5,
            gates = {
                {x = 4.2846689224243, y = -2.5668189525604, z = 148.25918579102, h = 0.24493718147278, b = 1011224 },
            },
        },        
        [397] =
        {
            cost = 1,
            gates = {
                {x = -187.50071716309, y = 14.727224349976, z = -57.018878936768, h = -2.245659828186},
            },
        },
        [419] =
        {
            cost = 1,
            gates = {
                {x = -153.8108215332, y = 30.949907302856, z = -141.81959533691, h = -3.120050907135},
                {x = -57.653438568115, y = 20.542848587036, z = -97.128196716309, h = 2.4447572231293},
                {x = 53.141960144043, y = 29.736303329468, z = -80.891120910645, h = -2.9000406265259},
                {x = 156.03057861328, y = -19.477405548096, z = 55.064247131348, h = 2.3485136032104},
            },
        },
        [439] =
        {
            cost = 1,
            gates = {
                {x = 93.577056884766, y = 24.026489257813, z = -33.090774536133, h = 1.1162509918213, a = 1011214 },
            },
        },
    },
    [419] =
    {
        [427] =
        {
            cost = 1,
            gates = {
                {x = -144.67098, y = 14.8031, z = -129.4461, h = -1.5209, b = 1011215 },
            },
        },
        [433] =
        {
            cost = 1,
            gates = {
                {x = 17.2442, y = 16.0096, z = -9.5047, h = 1.5103, b = 1011217 },
            },
        },
        [418] =
        {
            cost = 1,
            gates = {
                {x = 17.5327, y = -13.0772, z = -66.0502, h = -0.86},
                {x = -16.8083, y = -13.0683, z = -67.0495, h = 0.92},
                {x = 258.4115, y = -13.7349, z = -103.4960, h = 1.72},
                {x = -314.8616, y = -25.5761, z = -64.8715, h = -0.79},
            },
        },
        [401] =
        {
            cost = 3,
            gates = {
                {x = 151.99447631836, y = -12.559194564819, z = -8.2321929931641, h = -1.4262824058533, b = 1011211 },
            },
        },
        [402] =
        {
            cost = 3,
            gates = {
                {x = 166.46820068359, y = -14.313319206238, z = 48.422393798828, h = 0.81401968002319, b = 1012153 },
            },
        },
    },

Anyway, this solved my problem.