Thread Rating:
  • 8 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
certain number
#1
there is a possible bot or profile to say that he should break down only a certain number?
I mean for example, 100 adamantium ore, then for example, 500 Hard silver etc
Reply
#2
Do you mean gather a certain amount of each material from node or by "Break down" do you mean Reduction or Desynth?
Reply
#3
certain amount of each material from node
Reply
#4
item number from each node is no good if you start to high....

gather 1000
starting at 9200 shard will get you stuck
it will never reach 10200 shards

i use item count

ItemCount(12538) < 9950

etc

btw shards is an example

your adamantite condition would be something like this....

Code:
[22] = {
            ["condition"] = {
                ["ItemCount(2560) < 100"] = true;
            };
           ["skillprofile"] = "Gathering HQ";
            ["type"] = "botany";
            ["radius"] = 200;
            ["item1"] = "Adamantite Ore";
            ["item2"] = "6";
            ["unspoiled"] = true;
            ["minlevel"] = 59;
            ["mapid"] = 402;
            ["pos"] =  {
                ["x"] = 42.36;
                ["y"] = 40;
                ["z"] = -843.68;
            };    
            ["usestealth"] = true;
            ["resetdaily"] = true;
            ["eorzeaminhour"] = 23;
            ["eorzeamaxhour"] = 0;
            ["mingp"] = 400;
            ["dangerousarea"] = true;
            ["highpriority"] = true;
            ["range"] = 10;
        };
Reply
#5
ty xD
Reply
#6
(12-24-2015, 09:43 PM)sebbs Wrote:  item number from each node is no good if you start to high....

gather 1000
starting at 9200 shard will get you stuck
it will never reach 10200 shards

i use item count

ItemCount(12538) < 9950

etc

btw shards is an example

your adamantite condition would be something like this....

Code:
[22] = {
            ["condition"] = {
                ["ItemCount(2560) < 100"] = true;
            };
           ["skillprofile"] = "Gathering HQ";
            ["type"] = "botany";
            ["radius"] = 200;
            ["item1"] = "Adamantite Ore";
            ["item2"] = "6";
            ["unspoiled"] = true;
            ["minlevel"] = 59;
            ["mapid"] = 402;
            ["pos"] =  {
                ["x"] = 42.36;
                ["y"] = 40;
                ["z"] = -843.68;
            };    
            ["usestealth"] = true;
            ["resetdaily"] = true;
            ["eorzeaminhour"] = 23;
            ["eorzeamaxhour"] = 0;
            ["mingp"] = 400;
            ["dangerousarea"] = true;
            ["highpriority"] = true;
            ["range"] = 10;
        };


Sebbs can you please explain what the itemcount line actually means?
Reply
#7
Code:
["condition"] = {
   ["ItemCount(2560) < 100"] = true;
};
2560 is the ID of the item you are checking in inventory. If there's less than 100 in your inventory, it'll keep gathering it until it hits 100.
Reply
#8
(01-18-2016, 08:26 PM)Latty79 Wrote:  
Code:
["condition"] = {
   ["ItemCount(2560) < 100"] = true;
};
2560 is the ID of the item you are checking in inventory. If there's less than 100 in your inventory, it'll keep gathering it until it hits 100.

Thank you Latty that makes more sense that what I thought.
Reply
#9
edit: still not working as intended and still not sure why.. will stop at step 6 and do nothing.. or step 1..

Code:
--[[
:::    General Task Parameters
"condition" - Table parameter listing various extra conditions required to perform this task, can be used to evaluate lua code.
"complete" - Table parameter listing various extra conditions that will cause this task to complete, can be used to evaluate lua code.
"lowpriority","normalpriority","highpriority" - affects task evaluations (advanced).
"weatherlast","weathernow","weathernext" - used to evaluate weather conditions for the "mapid" tag listed for the task.
"eorzeaminhour","eorzeamaxhour" - used to evaluate the eorzea time ranges a task is valid.
"lastshiftmin" - used to evaluate a minimun amount of time (in seconds) since last weather shift
"lastshiftmax" - used to evaluate a maximum amount of time (in seconds) since last weather shift
"nextshiftmin" - used to evaluate a minimun amount of time (in seconds) until next weather shift
"nextshiftmax" - used to evaluate a maximum amount of time (in seconds) until next weather shift
"maxtime" - used to evaluate the maximum amount of time spent at low priority nodes (works like marker timers).

::: Gathering-Specific Task Parameters
* gathermaps - variant - default: false, indicates which, if any special map items should be gathered
* gathergardening - variant - default: false, indicates which, if any gardening items should be gathered
* gatherrares - variant - default: false, indicates which, if any rare items should be gathered, rare items are ones which do not always appear, but can be gathered multiple times on the nodes in which they appear
* gatherspecialrares - variant - default: false, indicates which, if any special rare items should be gathered, special rares are items which disappear after a single collection
* "gatherchocofood" - variant - default: false, indicates which, if any chocobo items should be gathered

Variants above support the following example inputs:
["gathermaps"] = true;  (gather any map)
["gathermaps"] = false; (gather no map)
["gathermaps"] = "12243"; (gather only dragonskin map) (singular contentid of an item)
["gathermaps"] = "12243,6692"; (gather dragonskin or peisteskin maps) (multiple comma-separated contentid's of items)

* "item1" - string - default: "" - singular item name with 1st priority on the given set of nodes - ex: ["item1"] = "Cotton Boll";
* "item2" - string - default: "" - singular item name with 2nd priority on the given set of nodes - ex: ["item2"] = "Wind Crystal";
* "usestealth" - boolean - default: false - should stealth be used for this task - ex: ["usestealth"] = true;
* "dangerousarea" - boolean - default: false - should extra stealth precaution be taken in this area - ex: ["dangerousarea"] = true;
* "resetdaily" - boolean - default: false - should task only be valid for one node per day, much like unspoiled (note that unspoiled contentid's 5-8 are already handled in this manner) - ["resetdaily"] = true;
* "skillprofile" - string - default: "" - specifies the name of the skill profile to be used - ex: ["skillprofile"] = "Botanist";
* "mingp" - integer - default: 0 - specifies a minimum GP before node is undertaken - ex: ["mingp"] = 550;
* "usecordials" - boolean - default: follows Use Cordials GUI option - specifies to use cordials to help regain GP faster - ex: ["usecordials"] = true;
* "type" - string - default: "" - specifies the type of task, if job needs to be switched. if job needs to be switched, please make sure the Miner Gearset and Botanist Gearset is setup correctly - valid options are "botany" or "mining".
* "whitelist" - string - default: "" - specifies contentids of valid node types - ex: ["whitelist"] = "3;4";   ["whitelist"] = "4";
* "radius" - integer - default: 500 - specifies the search range of nodes - ex: ["radius"] = 50; (note: the entitylist can generally only scan up to about 120, so anything past this is basically unnecessary.
* "nodeminlevel" - integer - default: 1 - specifies the min level of nodes for this task - ex: ["nodeminlevel"] = 5;
* "nodemaxlevel" - integer - default: 60 - specifies the max level of nodes for this task - ex: ["nodemaxlevel"] = 10;
* "unspoiled" - boolean - default: nil - performs automatic whitelisting/blacklisting of nodes - ex: ["unspoiled"] = true; would whitelist only unspoiled nodes, whereas ["unspoiled"] = false; would blacklist them and find only regular nodes.


::: Further
using the weather or eorzea time tags automatically configure a task as high priority.
high priority tasks with lower indexes will take priority if multiple high priority tasks are viable.
task indexes do not necessarily need to be perfectly in order.
--]]
local obj1 = {
    ["setup"] = {
        ["gearsetmining"] = 5;
        ["gearsetbotany"] = 14;
    };
    ["tasks"] = {
        [1] = {
            ["group"] = "Titanium";
            ["timeout"] = 5000;
            ["minlevel"] = 55;
            ["maxlevel"] = 60;
            ["mapid"] = 398;
            ["pos"] = {
                ["x"] = 336.59;
                ["y"] = -43.04;
                ["z"] = -244.87;
                ["h"] = -0.22;
            };        
            ["type"] = "Mining";
           ["highpriority"] = true;            
            ["gathergardening"] = false;
            ["item1"] = "Titanium Ore";
            ["item2"] = "Fire Crystal";
            ["usestealth"] = true;                
           ["skillprofile"] = "Kings Yield II";            
            -- Task will only start if we have less than 500 Titanium Ore (item id 12537).
            ["condition"] = {
                ["ItemCount(12537) < 500"] = true;
            };
        };
        [2] = {
            ["group"] = "Titanium";
            ["timeout"] = 5000;        
            ["minlevel"] = 55;
            ["maxlevel"] = 60;
            ["mapid"] = 398;
            ["pos"] = {
                ["x"] = 307.49;
                ["y"] = -30;
                ["z"] = -435.78;
                ["h"] = -2.49;
            };    
            ["type"] = "Mining";
            ["highpriority"] = true;
            ["gathergardening"] = false;
            ["item1"] = "Titanium Ore";
            ["item2"] = "Fire Crystal";    
            ["usestealth"] = true;                
           ["skillprofile"] = "Kings Yield II";
            -- Task will only start if we have less than 500 Titanium Ore (item id 12537).
            ["condition"] = {
                ["ItemCount(12537) < 500"] = true;
            };
        };
        [3] = {
           ["group"] = "Titanium";        
            ["timeout"] = 5000;        
            ["minlevel"] = 55;
            ["maxlevel"] = 60;
            ["mapid"] = 398;
            ["pos"] = {
                ["x"] = 501.84;
                ["y"] = -32.66;
                ["z"] = -421.47;
                ["h"] = 2.12;
            };    
            ["type"] = "Mining";
            ["highpriority"] = true;
            ["gathergardening"] = false;
            ["item1"] = "Titanium Ore";
            ["item2"] = "Fire Crystal";
            ["usestealth"] = true;                
           ["skillprofile"] = "Kings Yield II";    
            -- Task will only start if we have less than 500 Titanium Ore (item id 12537).
            ["condition"] = {
                ["ItemCount(12537) < 500"] = true;
            };
        };
        [4] = {
           ["group"] = "Mica";        
            ["timeout"] = 5000;        
            ["minlevel"] = 55;
            ["maxlevel"] = 60;
            ["mapid"] = 400;
            ["pos"] = {
                ["x"] = 299.30;
                ["y"] = -33.59;
                ["z"] = -104.31;
                ["h"] = -0.27;
            };    
            ["type"] = "Mining";
            ["normalpriority"] = true;
            ["gathergardening"] = false;
            ["item1"] = "Cloud Mica";
            ["usestealth"] = true;                
           ["skillprofile"] = "Kings Yield II";    
            -- Task will only start if we have less than 400 Cloud Mica (item id 12539).
            ["condition"] = {
                ["ItemCount(12539) < 400"] = true;
            };
        };
        [5] = {
           ["group"] = "Mica";        
            ["timeout"] = 5000;        
            ["minlevel"] = 55;
            ["maxlevel"] = 60;
            ["mapid"] = 400;
            ["pos"] = {
                ["x"] = 319.94;
                ["y"] = -27.40;
                ["z"] = -218.14;
                ["h"] = 2.75;
            };    
            ["type"] = "Mining";
            ["normalpriority"] = true;
            ["gathergardening"] = false;
            ["item1"] = "Cloud Mica";
            ["usestealth"] = true;                
           ["skillprofile"] = "Kings Yield II";    
            -- Task will only start if we have less than 400 Cloud Mica (item id 12539).
            ["condition"] = {
                ["ItemCount(12539) < 400"] = true;
            };
        };
        [6] = {
           ["group"] = "Mica";        
            ["timeout"] = 5000;        
            ["minlevel"] = 55;
            ["maxlevel"] = 60;
            ["mapid"] = 400;
            ["pos"] = {
                ["x"] = 166.41;
                ["y"] = -30.18;
                ["z"] = -189.32;
                ["h"] = -1.88;
            };    
            ["type"] = "Mining";
            ["normalriority"] = true;
            ["gathergardening"] = false;
            ["item1"] = "Cloud Mica";
            ["usestealth"] = true;                
           ["skillprofile"] = "Kings Yield II";    
            -- Task will only start if we have less than 400 Cloud Mica (item id 12539).
            ["condition"] = {
                ["ItemCount(12539) < 400"] = true;
            };
        };        
                    
                    --[[ Idle ]]--

        [80] = {
            -- Will idle only if we have more than or equal to 400 Cloud Mica (item id 12539) and 500 Titanium Ore (item id 12537).        
            ["condition"] = {
                ["ItemCount(12539) >= 400"] = true;
                ["ItemCount(12537) >= 500"] = true;
            };        
            ["type"] = "mining";
            ["lowpriority"] = true;
            ["radius"] = 5;
            ["minlevel"] = 1;
            ["mapid"] = 400;
            ["pos"] =  {
                ["x"] = 266.43;
                ["y"] = -42.26;
                ["z"] = 604.43;
            };    

};  };  };
return obj1
Reply
 


Forum Jump:


Users browsing this thread: 3 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products