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
#2
Use 2 steps as the same position.. Stand between the 2 nodes close to each other.

6 steps total.

But i am working on something to lvl 1-60 atm .. still a WIP tho.

[Image: ee62593736.jpg][Image: 30fd7f30f6.jpg]
Reply
#3
I am though, well sorta. 301 and 302 are directly next to each other.
Reply
#4
I figure out your issue....
Whitelist id is wrong....
Primary mining = 1
Seconday = 2
Primary Botany = 3
Secondany = 4

unspoiled vary.

Because your whitelist id is wrong it cant find the node you have told it to look for..

[Image: c9b936a048.jpg]
Reply
#5
(11-18-2015, 11:18 AM)sebbs Wrote:  But i am working on something to lvl 1-60 atm .. still a WIP tho.

Such a nice sneak peak sebbs! Hope you include an easy way to farm blue and red scrips as well and you've got yourself your first customer! :D
Reply
#6
Gonna need a bit of testing yet but should be pretty easy .

[Image: 98cdf517f5.jpg][Image: 59568cb0fa.jpg]
[Image: 03609396d8.jpg][Image: c32a31bb0d.jpg]
Reply
#7
Sebbs, thank you. My entire issue was the whitelist. For this and the dark chestnuts, if you recall our PMs a few weeks back. Thanks for your help.
Reply
 


Forum Jump:


Users browsing this thread: 2 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products