MMOMinion
Profile - Task Prioritization - Printable Version

+- MMOMinion (https://www.mmominion.com)
+-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87)
+--- Forum: [DOWNLOADS] Addons, Lua Modules, Navigation Meshes.. (https://www.mmominion.com/forumdisplay.php?fid=90)
+---- Forum: I Need Help with LUA coding! (https://www.mmominion.com/forumdisplay.php?fid=104)
+---- Thread: Profile - Task Prioritization (/showthread.php?tid=18823)



Profile - Task Prioritization - ken333 - 06-11-2017

I'm currently tweaking an ARR Unspoiled Mining Profile and am trying to fix the fact that Platinum Ores a wide range of areas for its node spawn. I am doing this by attempting to create tasks with 2 different positions to check for unspoiled nodes with platinum. Below is my code.

Below is my code:
Task 6 - First platinum ore node check
Task 61 - Second platinum ore node check (61 so I know it's related to task 6)
Task 7 - Next task

In my test, it skipped from task 6 to task 7 instead of doing task 61. How can I make it so it will go directly from task 6 to task 61? Does the bot check these tasks in numerical order (so I should do it task 6, 7, and 8) or how does it make the determination?

Code:
        [6] = {
        -- Zona de Southern Thanalan Map ID 146.
        --[["condition"] = {
                ["Player.stats.gathering >= 420"] = true;
            };--]]
            ["minlevel"] = 46;
            ["maxlevel"] = 60;
            ["mapid"] = 146;
            ["pos"] = {
                ["x"] = -148.64;
                ["y"] = 17.8;
                ["z"] = -559;
            };
            ["type"] = "mining";
            ["radius"] = 300;
            ["item1"] = "Platinum Ore";
            ["usestealth"] = true;
            ["dangerousarea"] = true;
            ["skillprofile"] = "Mining Unspoiled";
            ["eorzeaminhour"] = 4;
            ["eorzeamaxhour"] = 6;
            ["resetdaily"] = true;
            ["mingp"] = 300;
            ["highpriority"] = true;
            ["unspoiled"] = true;
            ["gatherchocofood"] = false;
        };
        [61] = {
        -- Zona de Southern Thanalan Map ID 146.
        --[["condition"] = {
                ["Player.stats.gathering >= 420"] = true;
            };--]]
            ["minlevel"] = 46;
            ["maxlevel"] = 60;
            ["mapid"] = 146;
            ["pos"] = {
                ["x"] = -217.67;
                ["y"] = 21.97;
                ["z"] = -520.38;
            };
            ["type"] = "mining";
            ["radius"] = 300;
            ["item1"] = "Platinum Ore";
            ["usestealth"] = true;
            ["dangerousarea"] = true;
            ["skillprofile"] = "Mining Unspoiled";
            ["eorzeaminhour"] = 4;
            ["eorzeamaxhour"] = 7;
            ["resetdaily"] = true;
            ["mingp"] = 0;
            ["highpriority"] = true;
            ["unspoiled"] = true;
            ["gatherchocofood"] = false;
        };
        [7] = {
        -- Zona de Western Thanalan Map ID 140.
        --[["condition"] = {
                ["Player.stats.gathering >= 353"] = true;
            };--]]
            ["minlevel"] = 46;
            ["maxlevel"] = 60;
            ["mapid"] = 140;
            ["pos"] = {
                ["x"] = -111;
                ["y"] = 49;
                ["z"] = 319;
            };
            ["type"] = "mining";
            ["radius"] = 300;
            ["item2"] = "Grade 3 Thanalan Topsoil";
            ["item1"] = "Water Cluster";
            ["usestealth"] = true;
            ["dangerousarea"] = true;
            ["skillprofile"] = "Mining Unspoiled";
            ["eorzeaminhour"] = 4;
            ["eorzeamaxhour"] = 7;
            ["resetdaily"] = true;
            ["mingp"] = 0;
            ["highpriority"] = true;
            ["unspoiled"] = true;
            ["gatherchocofood"] = false;
        };



RE: Profile - Task Prioritization - sebbs - 06-12-2017

well its prioritized by number 1st uness you set a groud or higher prio/weather condition.

try a group


["group"] = "Quest 2081";