MMOMinion

Full Version: Asking for help with my gathering profile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

I've just put together a gathering rotation using the "GetInventoryItemGains" condition and it is working really well so far, so thanks for all the help in getting it to this point. The hangup I'm having is in the code I'll paste below, the bot doesn't gather the specified amount of Twincoon. It works perfectly for all the other items and each task is set up the exact same way so I can't tell what I'm missing that is making the specifics twincoon item tasks not gather the correct amount when everything else gathers the right amount every time. Thanks for your help everyone!

Code:
[18] = {
            ["minlevel"] = 66;
            ["maxlevel"] = 70;
            ["mapid"] = 620;
            ["radius"] = 150;
            ["pos"] = {
                ["x"] = 210.35443115234;
                ["y"] = 309.85287475586;
                ["z"] = 494.49429321289;
                ["h"] = 2.800;
            };
            ["type"] = "botany";
            ["item1"] = "Twincoon";
            ["skillprofile"] = "G_Multi_Gathering";
            ["gathermaps"] = false;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
            ["condition"] = {
                ["GetInventoryItemGains(19989) < 210"] = true;
            };
            ["complete"] = {
                ["GetInventoryItemGains(19989) >= 210"] = true;
            };
            ["timeout"] = 180;
        };
        [19] = {
            ["minlevel"] = 66;
            ["maxlevel"] = 70;
            ["mapid"] = 620;
            ["radius"] = 150;
            ["pos"] = {
                ["x"] = 312.69805908203;
                ["y"] = 323.75015258789;
                ["z"] = 337.00155639648;
                ["h"] = 3.010;
            };
            ["type"] = "botany";
            ["item1"] = "Twincoon";
            ["skillprofile"] = "G_Multi_Gathering";
            ["gathermaps"] = false;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
            ["condition"] = {
                ["GetInventoryItemGains(19989) < 210"] = true;
            };
            ["complete"] = {
                ["GetInventoryItemGains(19989) >= 210"] = true;
            };
            ["timeout"] = 180;
        };
        [20] = {
            ["minlevel"] = 66;
            ["maxlevel"] = 70;
            ["mapid"] = 620;
            ["radius"] = 150;
            ["pos"] = {
                ["x"] = 267.25262451172;
                ["y"] = 314.90014648438;
                ["z"] = 420.72277832031;
                ["h"] = 2.800;
            };
            ["type"] = "botany";
            ["item1"] = "Twincoon";
            ["skillprofile"] = "G_Multi_Gathering";
            ["gathermaps"] = false;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
            ["condition"] = {
                ["GetInventoryItemGains(19989) < 210"] = true;
            };
            ["complete"] = {
                ["GetInventoryItemGains(19989) >= 210"] = true;
            };
            ["timeout"] = 180;
        };
        [21] = {
            ["minlevel"] = 66;
            ["maxlevel"] = 70;
            ["mapid"] = 620;
            ["radius"] = 150;
            ["pos"] = {
                ["x"] = 248.84825134277;
                ["y"] = 329.52447509766;
                ["z"] = 529.24542236328;
                ["h"] = 2.800;
            };
            ["type"] = "botany";
            ["item1"] = "Twincoon";
            ["skillprofile"] = "G_Multi_Gathering";
            ["gathermaps"] = false;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
            ["condition"] = {
                ["GetInventoryItemGains(19989) < 210"] = true;
            };
            ["complete"] = {
                ["GetInventoryItemGains(19989) >= 210"] = true;
            };
            ["timeout"] = 180;
        };
        [22] = {
            ["minlevel"] = 66;
            ["maxlevel"] = 70;
            ["mapid"] = 620;
            ["radius"] = 150;
            ["pos"] = {
                ["x"] = 175.24565124512;
                ["y"] = 309.03079223633;
                ["z"] = 485.94229125977;
                ["h"] = 2.800;
            };
            ["type"] = "botany";
            ["item1"] = "Twincoon";
            ["skillprofile"] = "G_Multi_Gathering";
            ["gathermaps"] = false;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
            ["condition"] = {
                ["GetInventoryItemGains(19989) < 210"] = true;
            };
            ["complete"] = {
                ["GetInventoryItemGains(19989) >= 210"] = true;
            };
            ["timeout"] = 180;
        };

I'll also add my file to the thread for added reference, but this is the only item not gathering the correct amount.
what does it do instead of gathering the right amount then?
It gathers less than the specified amount. I've gotten anywhere between 40 and 90 before it moves on to the next item, but never the specified 210. That makes me think there's something I've added to/excluded from the tasks in error that is causing it to quit the item prematurely, though I've not been able to figure out what it could be.
(08-22-2017, 04:20 PM)03chAos11 Wrote: [ -> ]Hi All,

I've just put together a gathering rotation using the "GetInventoryItemGains" condition and it is working really well so far, so thanks for all the help in getting it to this point. The hangup I'm having is in the code I'll paste below, the bot doesn't gather the specified amount of Twincoon. It works perfectly for all the other items and each task is set up the exact same way so I can't tell what I'm missing that is making the specifics twincoon item tasks not gather the correct amount when everything else gathers the right amount every time. Thanks for your help everyone!

Code:
[18] = {
            ["minlevel"] = 66;
            ["maxlevel"] = 70;
            ["mapid"] = 620;
            ["radius"] = 150;
            ["pos"] = {
                ["x"] = 210.35443115234;
                ["y"] = 309.85287475586;
                ["z"] = 494.49429321289;
                ["h"] = 2.800;
            };
            ["type"] = "botany";
            ["item1"] = "Twincoon";
            ["skillprofile"] = "G_Multi_Gathering";
            ["gathermaps"] = false;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
            ["condition"] = {
                ["GetInventoryItemGains(19989) < 210"] = true;
            };
            ["complete"] = {
                ["GetInventoryItemGains(19989) >= 210"] = true;
            };
            ["timeout"] = 180;
        };
        [19] = {
            ["minlevel"] = 66;
            ["maxlevel"] = 70;
            ["mapid"] = 620;
            ["radius"] = 150;
            ["pos"] = {
                ["x"] = 312.69805908203;
                ["y"] = 323.75015258789;
                ["z"] = 337.00155639648;
                ["h"] = 3.010;
            };
            ["type"] = "botany";
            ["item1"] = "Twincoon";
            ["skillprofile"] = "G_Multi_Gathering";
            ["gathermaps"] = false;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
            ["condition"] = {
                ["GetInventoryItemGains(19989) < 210"] = true;
            };
            ["complete"] = {
                ["GetInventoryItemGains(19989) >= 210"] = true;
            };
            ["timeout"] = 180;
        };
        [20] = {
            ["minlevel"] = 66;
            ["maxlevel"] = 70;
            ["mapid"] = 620;
            ["radius"] = 150;
            ["pos"] = {
                ["x"] = 267.25262451172;
                ["y"] = 314.90014648438;
                ["z"] = 420.72277832031;
                ["h"] = 2.800;
            };
            ["type"] = "botany";
            ["item1"] = "Twincoon";
            ["skillprofile"] = "G_Multi_Gathering";
            ["gathermaps"] = false;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
            ["condition"] = {
                ["GetInventoryItemGains(19989) < 210"] = true;
            };
            ["complete"] = {
                ["GetInventoryItemGains(19989) >= 210"] = true;
            };
            ["timeout"] = 180;
        };
        [21] = {
            ["minlevel"] = 66;
            ["maxlevel"] = 70;
            ["mapid"] = 620;
            ["radius"] = 150;
            ["pos"] = {
                ["x"] = 248.84825134277;
                ["y"] = 329.52447509766;
                ["z"] = 529.24542236328;
                ["h"] = 2.800;
            };
            ["type"] = "botany";
            ["item1"] = "Twincoon";
            ["skillprofile"] = "G_Multi_Gathering";
            ["gathermaps"] = false;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
            ["condition"] = {
                ["GetInventoryItemGains(19989) < 210"] = true;
            };
            ["complete"] = {
                ["GetInventoryItemGains(19989) >= 210"] = true;
            };
            ["timeout"] = 180;
        };
        [22] = {
            ["minlevel"] = 66;
            ["maxlevel"] = 70;
            ["mapid"] = 620;
            ["radius"] = 150;
            ["pos"] = {
                ["x"] = 175.24565124512;
                ["y"] = 309.03079223633;
                ["z"] = 485.94229125977;
                ["h"] = 2.800;
            };
            ["type"] = "botany";
            ["item1"] = "Twincoon";
            ["skillprofile"] = "G_Multi_Gathering";
            ["gathermaps"] = false;
            ["dangerousarea"] = true;
            ["usestealth"] = true;
            ["condition"] = {
                ["GetInventoryItemGains(19989) < 210"] = true;
            };
            ["complete"] = {
                ["GetInventoryItemGains(19989) >= 210"] = true;
            };
            ["timeout"] = 180;
        };

I'll also add my file to the thread for added reference, but this is the only item not gathering the correct amount.

Hello, 

I have never had luck with the itemgains command.

Maybe instead try the Itemcount, i have great results with it.

Also, is he running out of nodes from mining too quickly? try removing the timeout command, or at least raising it to 2500 or so. When set to 2500 = move to next task if there aren't any nodes close after 2.5 seconds. 

[18] = {
["minlevel"] = 66;
["maxlevel"] = 70;
["mapid"] = 620;
["radius"] = 150;
["pos"] = {
["x"] = 210.35443115234;
["y"] = 309.85287475586;
["z"] = 494.49429321289;
["h"] = 2.800;
};
["type"] = "botany";
["item1"] = "Twincoon";
["skillprofile"] = "G_Multi_Gathering";
["gathermaps"] = false;
["dangerousarea"] = true;
["usestealth"] = true;
["condition"] = {
["ItemCount(19989) < 210"] = true;
};
["complete"] = {
["ItemCount(19989) >= 210"] = true;
};
["timeout"] = 2500;  
};