Thread Rating:
  • 8 Vote(s) - 2.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mining 51+
#1
I am trying to make a script for mining 51+ but for some reason, it will run to the POS but will not mine. I know the POS are a bit far, so i made several middle stops. Any help is appreciated.


--[[
::: 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"] = "(Gather) Leveling";
* "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 "mining" or "mining".

::: 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"] = 1;
["gearsetmining"] = 2;
};
["tasks"] = {
[301] = {
["type"] = "mining";
["timeout"] = 2000;
["minlevel"] = 51;
["maxlevel"] = 60;
["radius"] = 500;
["whitelist"] = "4";
["item1"] = "Dragon Obsidian";
["skillprofile"] = "(Gather) Leveling";
["mapid"] = 397;
["pos"] = {
["x"] = 441.5719909668;
["y"] = 166.63635253906;
["z"] = 370.32974243164;
};
["usecollect"] = false;
};
[302] = {
["type"] = "mining";
["timeout"] = 2000;
["minlevel"] = 51;
["maxlevel"] = 60;
["radius"] = 500;
["whitelist"] = "4";
["item1"] = "Dragon Obsidian";
["skillprofile"] = "(Gather) Leveling";
["mapid"] = 397;
["pos"] = {
["x"] = 455.56567382813;
["y"] = 166.96110534668;
["z"] = 386.62466430664;
};
["usecollect"] = false;
};
[303] = {
["type"] = "mining";
["timeout"] = 2000;
["minlevel"] = 51;
["maxlevel"] = 60;
["radius"] = 500;
["whitelist"] = "4";
["item1"] = "Dragon Obsidian";
["skillprofile"] = "(Gather) Leveling";
["mapid"] = 397;
["pos"] = {
["x"] = 421.77093505859;
["y"] = 166.2219543457;
["z"] = 310.63140869141;
};
["usecollect"] = false;
};
[304] = {
["type"] = "mining";
["timeout"] = 2000;
["minlevel"] = 51;
["maxlevel"] = 60;
["radius"] = 500;
["whitelist"] = "4";
["item1"] = "Dragon Obsidian";
["skillprofile"] = "(Gather) Leveling";
["mapid"] = 397;
["pos"] = {
["x"] = 386.58755493164;
["y"] = 167.52728271484;
["z"] = 253.96463012695;
};
["usecollect"] = false;
};
[305] = {
["type"] = "mining";
["timeout"] = 2000;
["minlevel"] = 51;
["maxlevel"] = 60;
["radius"] = 500;
["whitelist"] = "4";
["item1"] = "Dragon Obsidian";
["skillprofile"] = "(Gather) Leveling";
["mapid"] = 397;
["pos"] = {
["x"] = 345.66937255859;
["y"] = 161.75263977051;
["z"] = 180.79379272461;
};
["usecollect"] = false;
};
[306] = {
["type"] = "mining";
["timeout"] = 2000;
["minlevel"] = 51;
["maxlevel"] = 60;
["radius"] = 500;
["whitelist"] = "4";
["item1"] = "Dragon Obsidian";
["skillprofile"] = "(Gather) Leveling";
["mapid"] = 397;
["pos"] = {
["x"] = 322.69989013672;
["y"] = 159.45219421387;
["z"] = 180.20991516113;
};
["usecollect"] = false;
};
[307] = {
["type"] = "mining";
["timeout"] = 2000;
["minlevel"] = 51;
["maxlevel"] = 60;
["radius"] = 500;
["whitelist"] = "4";
["item1"] = "Dragon Obsidian";
["skillprofile"] = "(Gather) Leveling";
["mapid"] = 397;
["pos"] = {
["x"] = 314.81353759766;
["y"] = 162.73577880859;
["z"] = 254.61097717285;
};
["usecollect"] = false;
};
[308] = {
["type"] = "mining";
["timeout"] = 2000;
["minlevel"] = 51;
["maxlevel"] = 60;
["radius"] = 500;
["whitelist"] = "4";
["item1"] = "Dragon Obsidian";
["skillprofile"] = "(Gather) Leveling";
["mapid"] = 397;
["pos"] = {
["x"] = 247.1668548584;
["y"] = 163.30210876465;
["z"] = 300.56439208984;
};
["usecollect"] = false;
};
[309] = {
["type"] = "mining";
["timeout"] = 2000;
["minlevel"] = 51;
["maxlevel"] = 60;
["radius"] = 500;
["whitelist"] = "4";
["item1"] = "Dragon Obsidian";
["skillprofile"] = "(Gather) Leveling";
["mapid"] = 397;
["pos"] = {
["x"] = 293.93734741211;
["y"] = 165.87004089355;
["z"] = 349.57662963867;
};
["usecollect"] = false;
};
[310] = {
["type"] = "mining";
["timeout"] = 2000;
["minlevel"] = 51;
["maxlevel"] = 60;
["radius"] = 500;
["whitelist"] = "4";
["item1"] = "Dragon Obsidian";
["skillprofile"] = "(Gather) Leveling";
["mapid"] = 397;
["pos"] = {
["x"] = 386.77404785156;
["y"] = 167.57301330566;
["z"] = 349.95104980469;
};
["usecollect"] = false;
};

};
}
return obj1


Edit: How can I fix it to where it will go to the location, no matter the distance in the zone, and mine said item?
Reply
 


Messages In This Thread
mining 51+ - by kingpin1432 - 11-18-2015, 08:09 AM
RE: mining 51+ - by sebbs - 11-18-2015, 11:18 AM
RE: mining 51+ - by ohm - 11-19-2015, 08:50 AM
RE: mining 51+ - by kingpin1432 - 11-18-2015, 07:48 PM
RE: mining 51+ - by sebbs - 11-19-2015, 06:31 AM
RE: mining 51+ - by sebbs - 11-19-2015, 09:47 AM
RE: mining 51+ - by kingpin1432 - 11-20-2015, 09:50 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products