11-29-2017, 09:11 PM
Hello all,
It seems to be impossible to set a time limit on each task.
Instead, i have taken Sebb's advice and made each task complete after gathering a certain amount.
However, my bot doesnt ever move on to the next task after reaching the limit. The bot will move if i manually start/stop but not on its own.
Do you know how i could fix?
Thanks,
local obj1 = {
["setup"] = {
["gearsetmining"] = 1;
["gearsetbotany"] = 2;
};
["tasks"] = {
[1] = {
["type"] = "mining";
["timeout"] = 2500;
["radius"] = 100;
["minlevel"] = 1;
["maxlevel"] = 70;
["item1"] = "Water Shard";
['item2'] = "Obsidian";
["mapid"] = 140;
["pos"] = {
["x"] = 11.679;
["y"] = 58.287;
["z"] =346.395;
};
["condition"] = {
["ItemCount(7) < 1950"] = true;
};
["complete"] = {
["GetInventoryItemGains(7) >= 1950"] = true;
};
};
[2] = {
["type"] = "mining";
["timeout"] = 2500;
["radius"] = 100;
["minlevel"] = 1;
["maxlevel"] = 70;
["item1"] = "Mudstone";
['item2'] = "Ice Shard";
["mapid"] = 138;
["pos"] = {
["x"] = 282.169;
["y"] = -4.397;
["z"] = 105.066;
};
["condition"] = {
["ItemCount(3) < 2000"] = true;
};
["complete"] = {
["GetInventoryItemGains(3) >= 2000"] = true;
};
};
};
}
return obj1
It seems to be impossible to set a time limit on each task.
Instead, i have taken Sebb's advice and made each task complete after gathering a certain amount.
However, my bot doesnt ever move on to the next task after reaching the limit. The bot will move if i manually start/stop but not on its own.
Do you know how i could fix?
Thanks,
local obj1 = {
["setup"] = {
["gearsetmining"] = 1;
["gearsetbotany"] = 2;
};
["tasks"] = {
[1] = {
["type"] = "mining";
["timeout"] = 2500;
["radius"] = 100;
["minlevel"] = 1;
["maxlevel"] = 70;
["item1"] = "Water Shard";
['item2'] = "Obsidian";
["mapid"] = 140;
["pos"] = {
["x"] = 11.679;
["y"] = 58.287;
["z"] =346.395;
};
["condition"] = {
["ItemCount(7) < 1950"] = true;
};
["complete"] = {
["GetInventoryItemGains(7) >= 1950"] = true;
};
};
[2] = {
["type"] = "mining";
["timeout"] = 2500;
["radius"] = 100;
["minlevel"] = 1;
["maxlevel"] = 70;
["item1"] = "Mudstone";
['item2'] = "Ice Shard";
["mapid"] = 138;
["pos"] = {
["x"] = 282.169;
["y"] = -4.397;
["z"] = 105.066;
};
["condition"] = {
["ItemCount(3) < 2000"] = true;
};
["complete"] = {
["GetInventoryItemGains(3) >= 2000"] = true;
};
};
};
}
return obj1