MMOMinion

Full Version: Bot Won't Collect
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am creating my first gathering profile for collectables and I cant find the command to actually "Collect" The bot gets to this point then I have to manually hit the collect button.

Skill Profile:
Code:
-- Persistent Data
local multiRefObjects = {

} -- multiRefObjects
local obj1 = {
    ["classes"] = {
***Omitted for length
    };
    ["filters"] = {
        [1] = "";
        [2] = "";
        [3] = "";
        [4] = "";
        [5] = "";
    };
    ["mingp"] = 400;
    ["skills"] = {
        [1] = {
            ["alias"] = "";
            ["collraritygt"] = 0;
            ["collraritylt"] = 0;
            ["collweareq"] = 0;
            ["collweargt"] = 0;
            ["collwearlt"] = 0;
            ["gatherattempts"] = 0;
            ["gatherattemptsmax"] = 0;
            ["gathermax"] = false;
            ["gpbuff"] = "";
            ["gpmax"] = 0;
            ["gpmin"] = 0;
            ["gpnbuff"] = "";
            ["gsecspassed"] = 0;
            ["hasitem"] = "";
            ["id"] = 241;
            ["isitem"] = "";
            ["isunspoiled"] = false;
            ["itemchancemax"] = 0;
            ["itemhqchancemin"] = 0;
            ["lastcast"] = 0;
            ["lastcastunique"] = {
            };
            ["name"] = "King's Yield II";
            ["prio"] = 1;
            ["pskillg"] = "";
            ["singleuseonly"] = true;
            ["type"] = 1;
            ["used"] = true;
        };
        [2] = {
            ["alias"] = "";
            ["collraritygt"] = 0;
            ["collraritylt"] = 0;
            ["collweareq"] = 0;
            ["collweargt"] = 0;
            ["collwearlt"] = 0;
            ["gatherattempts"] = 0;
            ["gatherattemptsmax"] = 0;
            ["gathermax"] = false;
            ["gpbuff"] = "";
            ["gpmax"] = 0;
            ["gpmin"] = 0;
            ["gpnbuff"] = "";
            ["gsecspassed"] = 0;
            ["hasitem"] = "";
            ["id"] = 239;
            ["isitem"] = "";
            ["isunspoiled"] = false;
            ["itemchancemax"] = 0;
            ["itemhqchancemin"] = 0;
            ["lastcast"] = 0;
            ["lastcastunique"] = {
            };
            ["name"] = "King's Yield";
            ["prio"] = 2;
            ["pskillg"] = "";
            ["singleuseonly"] = true;
            ["type"] = 1;
            ["used"] = true;
        };
    };
    ["version"] = 3;
}
return obj1
Hi,
that is an skill profile where you set up the skills that you like to use - the rotation. But you need also a gather profile that includes the coors and the info which item you like to obtain. There you set it as a collectable.

thats my gather profile but there is also an example under MINIONAPP\Bots\FFXIVMinion64\LuaMods\ffxivminion\GatherProfiles

Code:
local obj1 = {
    ["setup"] = {
        ["gearsetmining"] = 17;
        ["gearsetbotany"] = 16;
    };
    ["tasks"] = {
        [1] = {  -- Almandin @ 12AM-4AM (Botanist / The Lochs)
            ["mapid"] = 621;
            ["radius"] = 300;
            ["pos"] = {
                ["x"] = -420.36;
                ["y"] = 11.67;
                ["z"] = -241.9;
                ["h"] = 0;
            };
            ["type"] = "mining";
            ["item1"] = "Almandin";
            ["item2"] = "";
            ["mingp"] = 600;
            ["eorzeaminhour"] = 0;
            ["eorzeamaxhour"] = 4;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = true;
            ["gatherspecialrares"] = true;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["usecordials"] = true;
            ["lowpriority"] = true;
            ["timeout"] = 1500;
            ["unspoiled"] = true;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
            ["collectables"] = {
                ["Almandin"] = 414;
            };
        };        
        [2] = {  -- Re-Pop Task 01 (1of3) @ 12AM-4AM (Mining / The Lochs)
            ["mapid"] = 621;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = -393.61;
                ["y"] = 13.93;
                ["z"] = -262.3;
                ["h"] = -0.00;
            };
            ["type"] = "mining";
            ["item1"] = "Ice Crystal";
            ["eorzeaminhour"] = 0;
            ["eorzeamaxhour"] = 4;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        [3] = {  -- Re-Pop Task 01 (2of3) @ 12AM-4AM (Mining / The Lochs)
            ["mapid"] = 621;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = -404.0;
                ["y"] = 14.02;
                ["z"] = -270.8;
                ["h"] = -0.00
            };
            ["type"] = "mining";
            ["item1"] = "Ice Crystal";
            ["eorzeaminhour"] = 0;
            ["eorzeamaxhour"] = 4;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        [4] = {  -- Re-Pop Task 01 (3of3) @ 12AM-4AM (Mining / The Lochs)
            ["mapid"] = 621;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = -578.15;
                ["y"] = 20.08;
                ["z"] = -153.19;
                ["h"] = -0.00
            };
            ["type"] = "mining";
            ["item1"] = "Ice Crystal";
            ["eorzeaminhour"] = 0;
            ["eorzeamaxhour"] = 4;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        
        [5] = {  -- Torreya Branch @ 4AM-8AM (Botany / The Lochs)
            ["mapid"] = 621;
            ["radius"] = 300;
            ["pos"] = {
                ["x"] = 354.07;
                ["y"] = 25.24;
                ["z"] = -567.5;
                ["h"] = -0.00;
            };
            ["type"] = "botany";
            ["item1"] = "Torreya Branch";
            ["item2"] = "Ice Crystal";
            ["mingp"] = 600;
            ["eorzeaminhour"] = 4;
            ["eorzeamaxhour"] = 8;
            ["skillprofile"] = "(D) Coll_EPHnode";            
            ["gatherrares"] = true;
            ["gatherspecialrares"] = true;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["usecordials"] = true;
            ["lowpriority"] = true;
            ["timeout"] = 1500;
            ["unspoiled"] = true;
            ["dangerousarea"] = true;
            ["usestealth"] = true;            
            ["collectables"] = {
                ["Torreya Branch"] = 414;
            };
        };
        [6] = {  -- Re-Pop Task 04 (1of3) @ 4AM-8AM (Botany / The Lochs)
            ["mapid"] = 621;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = 368.58;
                ["y"] = 24.38;
                ["z"] = -507.3;
                ["h"] = -0.00;
            };
            ["type"] = "botany";                
            ["item1"] = "Ice Crystal";
            ["eorzeaminhour"] = 4;
            ["eorzeamaxhour"] = 8;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        [7] = {  -- Re-Pop Task 04 (2of3) @ 4AM-8AM (Botany / The Lochs)
            ["mapid"] = 621;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = 374.91;
                ["y"] = 25.01;
                ["z"] = -515.2;
                ["h"] = -0.00;
            };
            ["type"] = "botany";                
            ["item1"] = "Ice Crystal";
            ["eorzeaminhour"] = 4;
            ["eorzeamaxhour"] = 8;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        [8] = {  -- Re-Pop Task 04 (3of3) @ 4AM-8AM (Botany / The Lochs)
            ["mapid"] = 621;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = 400.10;
                ["y"] = 25.22;
                ["z"] = -648.0;
                ["h"] = -0.00;
            };
            ["type"] = "botany";                
            ["item1"] = "Ice Crystal";
            ["eorzeaminhour"] = 4;
            ["eorzeamaxhour"] = 8;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        [9] = {  -- Doman Yellow @ 8AM-12AM (Botany / Azim Steppe)
            ["mapid"] = 622;
            ["radius"] = 300;
            ["pos"] = {
                ["x"] = -265.2;
                ["y"] = 13.22;
                ["z"] = 339.33;
                ["h"] = -0.00;
            };
            ["type"] = "botany";
            ["item1"] = "Doman Yellow";
            ["item2"] = "Earth Crystal";
            ["mingp"] = 600;
            ["eorzeaminhour"] = 8;
            ["eorzeamaxhour"] = 12;
            ["skillprofile"] = "(D) Coll_EPHnode";            
            ["gatherrares"] = true;
            ["gatherspecialrares"] = true;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["usecordials"] = true;
            ["lowpriority"] = true;
            ["timeout"] = 1500;
            ["unspoiled"] = true;
            ["dangerousarea"] = true;
            ["usestealth"] = true;            
            ["collectables"] = {
                ["Doman Yellow"] = 414;
            };
        };
        [10] = {  -- Re-Pop Task 04 (1of3) @ 8AM-12AM (Botany / Azim Steppe)
            ["mapid"] = 622;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = -166.66;
                ["y"] = 3.62;
                ["z"] = 361.21;
                ["h"] = -0.00;
            };
            ["type"] = "botany";                
            ["item1"] = "Earth Crystal";
            ["eorzeaminhour"] = 8;
            ["eorzeamaxhour"] = 12;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        [11] = {  -- Re-Pop Task 04 (2of3) @ 8AM-12AM (Botany / Azim Steppe)  
            ["mapid"] = 622;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = -167.5;
                ["y"] = 2.52;
                ["z"] = 377.14;
                ["h"] = -0.00;
            };
            ["type"] = "botany";                
            ["item1"] = "Earth Crystal";
            ["eorzeaminhour"] = 8;
            ["eorzeamaxhour"] = 12;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        [12] = {  -- Re-Pop Task 04 (3of3) @ 8AM-12AM (Botany / Azim Steppe)
            ["mapid"] = 622;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = -298.73;
                ["y"] = 5.81;
                ["z"] = 414.34;
                ["h"] = -0.00;
            };
            ["type"] = "botany";                
            ["item1"] = "Earth Crystal";
            ["eorzeaminhour"] = 8;
            ["eorzeamaxhour"] = 12;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        [13] = {  -- Schörl @ 12AM-16PM (Mining / Azim Steppe)
            ["mapid"] = 622;
            ["radius"] = 300;
            ["pos"] = {
                ["x"] = 394.96;
                ["y"] = 24.12;
                ["z"] = -295.32;
                ["h"] = -0.00;
            };
            ["type"] = "mining";
            ["item1"] = "Schorl";
            ["item2"] = "Lightning Crystal";
            ["mingp"] = 600;
            ["eorzeaminhour"] = 12;
            ["eorzeamaxhour"] = 16;
            ["skillprofile"] = "(D) Coll_EPHnode";            
            ["gatherrares"] = true;
            ["gatherspecialrares"] = true;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["usecordials"] = true;
            ["lowpriority"] = true;
            ["timeout"] = 1500;
            ["unspoiled"] = true;
            ["dangerousarea"] = true;
            ["usestealth"] = true;            
            ["collectables"] = {
                ["Schorl"] = 414;
            };
        };
        [14] = {  -- Re-Pop Task 04 (1of3) @ 12AM-16PM (Mining / Azim Steppe)
            ["mapid"] = 622;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = 326.78;
                ["y"] = 27.22;
                ["z"] = -328.17;
                ["h"] = -0.00;
            };
            ["type"] = "mining";                
            ["item1"] = "Lightning Crystal";
            ["eorzeaminhour"] = 12;
            ["eorzeamaxhour"] = 16;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        [15] = {  -- Re-Pop Task 04 (2of3) @ 12AM-16PM (Mining / Azim Steppe)
            ["mapid"] = 622;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = 340.35;
                ["y"] = 34.57;
                ["z"] = -374.39;
                ["h"] = -0.00;
            };
            ["type"] = "mining";                
            ["item1"] = "Lightning Crystal";
            ["eorzeaminhour"] = 12;
            ["eorzeamaxhour"] = 16;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        [16] = {  -- Re-Pop Task 04 (3of3) @ 12AM-16PM (Mining / Azim Steppe)
            ["mapid"] = 622;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = 460.06;
                ["y"] = 32.45;
                ["z"] = -382.81;
                ["h"] = -0.00;
            };
            ["type"] = "mining";                
            ["item1"] = "Lightning Crystal";
            ["eorzeaminhour"] = 12;
            ["eorzeamaxhour"] = 16;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        [17] = {  -- Windtea Leaves @ 20PM-12PM (Botany / Yanxia)    
            ["mapid"] = 614;
            ["radius"] = 300;
            ["pos"] = {
                ["x"] = 41.48;
                ["y"] = 64.79;
                ["z"] = -436.32;
                ["h"] = -0.00;
            };
            ["type"] = "botany";
            ["item1"] = "Windtea Leaves";
            ["item2"] = "Wind Crystal";
            ["mingp"] = 600;
            ["eorzeaminhour"] = 16;
            ["eorzeamaxhour"] = 20;
            ["skillprofile"] = "(D) Coll_EPHnode";            
            ["gatherrares"] = true;
            ["gatherspecialrares"] = true;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["usecordials"] = true;
            ["lowpriority"] = true;
            ["timeout"] = 1500;
            ["unspoiled"] = true;
            ["dangerousarea"] = true;
            ["usestealth"] = true;            
            ["collectables"] = {
                ["Windtea Leaves"] = 414;
            };
        };
        [18] = {  -- Re-Pop Task 04 (1of3) @ 16PM-20PM (Botany / Yanxia)  
            ["mapid"] = 614;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = 16.76;
                ["y"] = 45.60;
                ["z"] = -519.95;
                ["h"] = -0.00;
            };
            ["type"] = "botany";                
            ["item1"] = "Wind Crystal";
            ["eorzeaminhour"] = 16;
            ["eorzeamaxhour"] = 20;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        [19] = {  -- Re-Pop Task 04 (2of3) @ 20PM-12PM (Botany / Yanxia)    
            ["mapid"] = 614;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = 35.45;
                ["y"] = 44.86;
                ["z"] = -552.67;
                ["h"] = -0.00;
            };
            ["type"] = "botany";                
            ["item1"] = "Wind Crystal";
            ["eorzeaminhour"] = 16;
            ["eorzeamaxhour"] = 20;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
        [20] = {  -- Re-Pop Task 04 (3of3) @ 20PM-12PM (Botany / Yanxia)    
            ["mapid"] = 614;
            ["radius"] = 50;
            ["pos"] = {
                ["x"] = 97.53;
                ["y"] = 42.48;
                ["z"] = -502.76;
                ["h"] = -0.00;
            };
            ["type"] = "botany";                
            ["item1"] = "Wind Crystal";
            ["eorzeaminhour"] = 16;
            ["eorzeamaxhour"] = 20;
            ["skillprofile"] = "(D) Coll_EPHnode";
            ["gatherrares"] = false;
            ["gatherspecialrares"] = false;
            ["gathermaps"] = false;
            ["gathergardening"] = false;
            ["lowpriority"] = true;
            ["maxtime"] = 7500;
            ["timeout"] = 7500;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
        };
    };
}
return obj1
Thanks for the reply, This is the one I am using currently. I cross referenced yours and It looks as if I have everything I need. Maybe I missed something?

Code:
local obj1 = {
    ["setup"] = {
        ["gearsetmining"] = 2;
        ["gearsetbotany"] = 3;
    };
    ["tasks"] = {
        [1] = {
            ["type"] = "mining";
            ["radius"] = 300;
            ["item1"] = "Dragon Obsidian";
            ["minlevel"] = 60;
            ["mapid"] = 397;
            ["pos"] = {
                ["x"] = 441.35263061523;
                ["y"] = 166.83908081055;
                ["z"] = 374.20770263672;
                ["h"] = 0.19273418188095;
            };    
            ["highpriority"] = false;
            ["usestealth"] = false;
           ["lowpriority"] = true;
           ["maxtime"] = 7500;
           ["timeout"] = 7500;
            ["eorzeaminhour"] = 0;
            ["eorzeamaxhour"] = 24;
            ["mingp"] = 500;
            ["skillprofile"] = "a quick col_gather";
            ["unspoiled"] = false;
            ["collectables"] = {
                ["Dragon Obsidian"] = 240;
            };
        };
        [2] = {
            ["type"] = "mining";
            ["radius"] = 300;
            ["item1"] = "Dragon Obsidian";
            ["minlevel"] = 60;
            ["mapid"] = 397;
            ["pos"] = {
                ["x"] = 343.33404541016;
                ["y"] = 161.17654418945;
                ["z"] = 178.71917724609;
                ["h"] = -0.28700566291809;
            };    
            ["highpriority"] = false;
            ["usestealth"] = false;
            ["dangerousarea"] = true;
           ["lowpriority"] = true;
           ["maxtime"] = 7500;
           ["timeout"] = 7500;
            ["eorzeaminhour"] = 0;
            ["eorzeamaxhour"] = 24;
            ["skillprofile"] = "a quick col_gather";
            ["collectables"] = {
                ["Dragon Obsidian"] = 240;
            };
        };
        [3] = {
            ["type"] = "mining";
            ["radius"] = 300;
            ["item1"] = "Dragon Obsidian";
            ["minlevel"] = 60;
            ["mapid"] = 397;
            ["pos"] = {
                ["x"] = 242.96298217773;
                ["y"] = 167.25631713867;
                ["z"] = 297.18850708008;
                ["h"] = -0.31577578186989;
            };    
            ["highpriority"] = false;
            ["lowpriority"] = true;
            ["usestealth"] = false;
           ["maxtime"] = 7500;
           ["timeout"] = 7500;
            ["resetdaily"] = false;
            ["eorzeaminhour"] = 0;
            ["eorzeamaxhour"] = 24;
            ["mingp"] = 500;
            ["skillprofile"] = "a quick col_gather";
            ["unspoiled"] = false;
            ["collectables"] = {
                ["Dragon Obsidian"] = 240;
            };
        };
    };
}
return obj1
I was only getting to 20/30 wear so it wasn't starting. when I get to 30 it collects. I wonder if there is a setting to change that.