Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bot standing there after 1 node
#1
Hi, I am trying to create a Gathering profile level 1-70 but so far I was in the testing phase of 1-5 (currently set 1-20 for testing purposes). In the game I am level 10 mining. I have created this Lua profile to run around collecting Wind Shards, Lightning Shards, and Copper ore. I have created multiple steps, or tasks. But when I run it with the bot set to Bot Mode - Gather, Skill profile - Miner, Gather Mode - Profile, Profile - TSMN Mining. Here is the code:

Code:
-- Persistent Data
local multiRefObjects = {

} -- multiRefObjects
local obj1 = {
    ["tasks"] = {
        [1] = {
            ["eorzeamaxhour"] = 23;
            ["eorzeaminhour"] = 0;
            ["item1"] = "Wind Shard";
            ["item2"] = "Lightning Shard";
            ["item3"] = "Copper Ore";
            ["mapid"] = 141;
            ["maxlevel"] = 20;
            ["minlevel"] = 1;
            ["nodemaxlevel"] = 6;
            ["nodeminlevel"] = 1;
            ["pos"] = {
                ["h"] = -2.13;
                ["x"] = -107.75;
                ["y"] = 6.83;
                ["z"] = 258.73;
            };
            ["radius"] = 30;
            ["timeout"] = 20000;
            ["type"] = "Mining";
            ["whitelist"] = "1";
        };
        [2] = {
            ["eorzeamaxhour"] = 23;
            ["eorzeaminhour"] = 0;
            ["item1"] = "Wind Shard";
            ["item2"] = "Lightning Shard";
            ["item3"] = "Copper Ore";
            ["mapid"] = 141;
            ["maxlevel"] = 20;
            ["minlevel"] = 1;
            ["nodemaxlevel"] = 6;
            ["nodeminlevel"] = 1;
            ["pos"] = {
                ["h"] = -3.02;
                ["x"] = -93.02;
                ["y"] = 5.21;
                ["z"] = 228.57;
            };
            ["radius"] = 30;
            ["timeout"] = 20000;
            ["type"] = "Mining";
            ["whitelist"] = "1";
        };
        [3] = {
            ["eorzeamaxhour"] = 23;
            ["eorzeaminhour"] = 0;
            ["item1"] = "Wind Shard";
            ["item2"] = "Lightning Shard";
            ["item3"] = "Copper Ore";
            ["mapid"] = 141;
            ["maxlevel"] = 20;
            ["minlevel"] = 1;
            ["nodemaxlevel"] = 6;
            ["nodeminlevel"] = 1;
            ["pos"] = {
                ["h"] = -2.33;
                ["x"] = -148.82;
                ["y"] = 3.85;
                ["z"] = 192.12;
            };
            ["radius"] = 30;
            ["timeout"] = 20000;
            ["type"] = "Mining";
            ["whitelist"] = "1";
        };
        [4] = {
            ["eorzeamaxhour"] = 23;
            ["eorzeaminhour"] = 0;
            ["item1"] = "Wind Shard";
            ["item2"] = "Lightning Shard";
            ["item3"] = "Copper Ore";
            ["mapid"] = 141;
            ["maxlevel"] = 20;
            ["minlevel"] = 1;
            ["nodemaxlevel"] = 6;
            ["nodeminlevel"] = 1;
            ["pos"] = {
                ["h"] = -2.63;
                ["x"] = -98.85;
                ["y"] = -5.29;
                ["z"] = 158.95;
            };
            ["radius"] = 30;
            ["timeout"] = 20000;
            ["type"] = "Mining";
            ["whitelist"] = "1";
        };
        [5] = {
            ["eorzeamaxhour"] = 23;
            ["eorzeaminhour"] = 0;
            ["item1"] = "Wind Shard";
            ["item2"] = "Lightning Shard";
            ["item3"] = "Copper Ore";
            ["mapid"] = 141;
            ["maxlevel"] = 20;
            ["minlevel"] = 1;
            ["nodemaxlevel"] = 6;
            ["nodeminlevel"] = 1;
            ["pos"] = {
                ["h"] = 2.03;
                ["x"] = 130.25;
                ["y"] = 4.82;
                ["z"] = 300.59;
            };
            ["radius"] = 30;
            ["timeout"] = 20000;
            ["type"] = "Mining";
            ["whitelist"] = "1";
        };
        [6] = {
            ["eorzeamaxhour"] = 23;
            ["eorzeaminhour"] = 0;
            ["item1"] = "Wind Shard";
            ["item2"] = "Lightning Shard";
            ["item3"] = "Copper Ore";
            ["mapid"] = 141;
            ["maxlevel"] = 20;
            ["minlevel"] = 1;
            ["nodemaxlevel"] = 6;
            ["nodeminlevel"] = 1;
            ["pos"] = {
                ["h"] = 1.78;
                ["x"] = 116.57;
                ["y"] = 2.2;
                ["z"] = 285.78;
            };
            ["radius"] = 30;
            ["timeout"] = 20000;
            ["type"] = "Mining";
            ["whitelist"] = "1";
        };
        [7] = {
            ["eorzeamaxhour"] = 23;
            ["eorzeaminhour"] = 0;
            ["item1"] = "Wind Shard";
            ["item2"] = "Lightning Shard";
            ["item3"] = "Copper Ore";
            ["mapid"] = 141;
            ["maxlevel"] = 20;
            ["minlevel"] = 1;
            ["nodemaxlevel"] = 6;
            ["nodeminlevel"] = 1;
            ["pos"] = {
                ["h"] = 2.33;
                ["x"] = 152.37;
                ["y"] = 15.47;
                ["z"] = 300.73;
            };
            ["radius"] = 30;
            ["timeout"] = 20000;
            ["type"] = "Mining";
            ["whitelist"] = "1";
        };
        [8] = {
            ["eorzeamaxhour"] = 23;
            ["eorzeaminhour"] = 0;
            ["item1"] = "Wind Shard";
            ["item2"] = "Lightning Shard";
            ["item3"] = "Copper Ore";
            ["mapid"] = 141;
            ["maxlevel"] = 20;
            ["minlevel"] = 1;
            ["nodemaxlevel"] = 6;
            ["nodeminlevel"] = 1;
            ["pos"] = {
                ["h"] = 1.9;
                ["x"] = 120.3;
                ["y"] = 14.48;
                ["z"] = 214.12;
            };
            ["radius"] = 30;
            ["timeout"] = 20000;
            ["type"] = "Mining";
            ["whitelist"] = "1";
        };
    };
}
return obj1

Now the problem is after he gathers one node he just stands there. I even tried setting the timeout to 20000 which I think is still too long but it was for testing. He wont move on to the next task, which I set up to be another node. What am I doing wrong? I created this using Husbando's Gathering Profile Editor. And it says Tasks Time Remaning (s): 0 and fish task: 1. Even though I am not fishing.


Attached Files
.lua   TSMN Mining.lua (Size: 3.91 KB / Downloads: 2)
Reply
#2
Could have reduced that to 1 task.   You don't need to make one for every node. Just pick a position in the middle of groups of nodes and set the radius high enough so it can find nodes.

Code:
-- Persistent Data
local multiRefObjects = {

} -- multiRefObjects
local obj1 = {
    ["tasks"] = {
        [1] = {
            ["eorzeamaxhour"] = 23;
            ["eorzeaminhour"] = 0;
            ["item1"] = "Wind Shard";
            ["item2"] = "Lightning Shard";
            ["item3"] = "Copper Ore";
            ["mapid"] = 141;
            ["maxlevel"] = 20;
            ["minlevel"] = 1;
            ["nodemaxlevel"] = 6;
            ["nodeminlevel"] = 1;
            ["pos"] = {
                ["x"] = -137.65;
                ["y"] = 6.44;
                ["z"] = 251.37;
            };
            ["radius"] = 100;
            ["type"] = "Mining";
            ["whitelist"] = "1";
        };
    };    
}
return obj1
Reply
#3
Ah, makes sense. So whats the radius in? Yalms? Also what if I want to make it more than one task? To where it moves on at level 10 or 15. Etc.
Reply
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products