Thread Rating:
  • 4 Vote(s) - 3.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Never move to next task
#1
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
Reply
 


Messages In This Thread
Never move to next task - by punkerdunkerz - 11-29-2017, 09:11 PM
RE: Never move to next task - by sebbs - 11-29-2017, 11:34 PM
RE: Never move to next task - by punkerdunkerz - 11-29-2017, 11:58 PM
RE: Never move to next task - by sebbs - 11-29-2017, 11:36 PM
RE: Never move to next task - by sebbs - 11-30-2017, 12:39 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products