12-25-2015, 08:22 PM
Looking to gather Cedar Logs for use in other crafting, but for some reason the bot seems to sit idle after gathering from a few trees
Very new to using LUA and code in general so I think I must be missing something? Used two sets of different positions as I thought it was the radius that wasn't picking up the nodes that were further out.
This is in CWH, any help or any more information needed will be appreciated.[/code]
Edit: Nevermind, realised I was missing quite a few area of nodes and as such it wasn't resetting nodes I already had listed and therefore idling until they reset via timer.
Can close this thread, thanks
Code:
local obj1 = {
["setup"] = {
["gearsetbotany"] = 1;
};
["tasks"] = {
[1] = {
["type"] = "botany";
["whitelist"] = "3";
["radius"] = 250;
["minlevel"] = 49;
["maxlevel"] = 52;
["item1"] = "Cedar Log";
["mapid"] = 397;
["pos"] = {
["x"] = 390.66879272461;
["y"] = 184.66413879395;
["z"] = 531.87432861328;
};
["usestealth"] = true;
};
[2] = {
["type"] = "botany";
["whitelist"] = "3";
["radius"] = 250;
["minlevel"] = 49;
["maxlevel"] = 52;
["item1"] = "Cedar Log";
["mapid"] = 397;
["pos"] = {
["x"] = 447.90;
["y"] = 166.18;
["z"] = 366.88;
};
["usestealth"] = true;
}
return obj1
Very new to using LUA and code in general so I think I must be missing something? Used two sets of different positions as I thought it was the radius that wasn't picking up the nodes that were further out.
This is in CWH, any help or any more information needed will be appreciated.[/code]
Edit: Nevermind, realised I was missing quite a few area of nodes and as such it wasn't resetting nodes I already had listed and therefore idling until they reset via timer.
Can close this thread, thanks