12-08-2015, 11:19 PM
Hello, I'm trying to create a gathering profile, gathering from a few different map locations.
The issue is that once it complete a task it won't go onto the next task. Although console says its Removing task [x] from valid tasks, and its Added task [x+1] to the low priority queue.
If i stop/start the bot it realizes its went over the # i set it to gather, and teleports to the next aetheryte.
Adding duplicates of the task doesn't seem to have helped.
Hope someone can help! Thanks.
The issue is that once it complete a task it won't go onto the next task. Although console says its Removing task [x] from valid tasks, and its Added task [x+1] to the low priority queue.
If i stop/start the bot it realizes its went over the # i set it to gather, and teleports to the next aetheryte.
Adding duplicates of the task doesn't seem to have helped.
Code:
local obj1 = {
["setup"] = {
["gearsetmining"] = 2;
["gearsetbotany"] = 1;
};
["tasks"] = {
[1] = {
["type"] = "botany";
["gathergardening"] = false;
["gathermaps"] = false;
["minlevel"] = 1;
["maxlevel"] = 60;
["radius"] = 200;
["item1"] = "Water Crystal";
["item2"] = "Water Shard";
["condition"] = {
["ItemCount(13) < 610"] = true;
};
["complete"] = {
["GetInventoryItemGains(13) >= 610"] = true;
};
["skillprofile"] = "Botany+Miner!";
["mapid"] = 137;
["pos"] = {
["x"] = 328.20166015625;
["y"] = 31.887353897095;
["z"] = 604.55004882813;
};
["usestealth"] = true;
["unspoiled"] = false;
["usecollect"] = false;
};
[2] = {
["type"] = "botany";
["gathergardening"] = false;
["gathermaps"] = false;
["minlevel"] = 1;
["maxlevel"] = 60;
["radius"] = 200;
["item1"] = "Water Crystal";
["item2"] = "Water Shard";
["condition"] = {
["ItemCount(13) < 600"] = true;
};
["complete"] = {
["GetInventoryItemGains(13) >= 600"] = true;
};
["skillprofile"] = "Botany+Miner!";
["mapid"] = 137;
["pos"] = {
["x"] = 328.20166015625;
["y"] = 31.887353897095;
["z"] = 604.55004882813;
};
["usestealth"] = true;
["unspoiled"] = false;
["usecollect"] = false;
};
[3] = {
["type"] = "botany";
["gathergardening"] = false;
["gathermaps"] = false;
["minlevel"] = 1;
["maxlevel"] = 60;
["radius"] = 200;
["item1"] = "Water Crystal";
["item2"] = "Water Shard";
["condition"] = {
["ItemCount(13) < 2930"] = true;
};
["complete"] = {
["GetInventoryItemGains(13) >= 2930"] = true;
};
["skillprofile"] = "Botany+Miner!";
["mapid"] = 137;
["pos"] = {
["x"] = 328.20166015625;
["y"] = 31.887353897095;
["z"] = 604.55004882813;
};
["usestealth"] = true;
["unspoiled"] = false;
["usecollect"] = false;
};
[4] = {
["type"] = "mining";
["gathergardening"] = false;
["gathermaps"] = false;
["minlevel"] = 1;
["maxlevel"] = 60;
["radius"] = 200;
["item1"] = "Wind Crystal";
["item2"] = "Wind Shard";
["condition"] = {
["ItemCount(10) < 2925"] = true;
};
["complete"] = {
["GetInventoryItemGains(10) >= 2925"] = true;
};
["skillprofile"] = "Botany+Miner!";
["mapid"] = 152;
["pos"] = {
["x"] = -171.84387207031;
["y"] = -1.089918255806;
["z"] = 168.67820739746;
["h"] = 2.6402614116669;
};
["usestealth"] = true;
["unspoiled"] = false;
["usecollect"] = false;
};
Hope someone can help! Thanks.