Posts: 16
Threads: 6
Joined: Sep 2013
Wondering if it's possible to add a setting to NOT teleport if players are near, i'd love to have the option selected while gathering but obviously if people are close I wouldn't wanna let it run.
Thanks.
Posts: 694
Threads: 38
Joined: Jan 2013
We won't be doing any more work on the teleport code; we supply it as a tool for addon developers to use but we don't like to encourage teleporting ourselves because its much higher risk for bans than 'regular' botting. I believe some users have already created teleport addon modules, you might try asking about this in the lua modules forum instead.
Posts: 201
Threads: 15
Joined: Oct 2013
10-27-2013, 02:45 PM
(This post was last modified: 10-27-2013, 02:49 PM by Shaolin2.)
what is with the Players near the Teleport Target?
!!!Warning Teleport Hack is risky
no matter how you use it !!!
But here the LUA changes.
Go to your Botfolder/LuaMods/ffxivminion/
open ffxiv_task_gather.lua with a Texteditor
go to Line 82-95 and replace the Code with this
Code:
function e_movetogatherable:execute()
local pos = EntityList:Get(ml_task_hub.CurrentTask().gatherid).pos
if (pos ~= nil and pos ~= 0) then
local Playerliste = EntityList("nearest,type=1,maxdistance=25")
if ( (TableSize(Playerliste) == 0) and (gGatherTP == "1") ) then
GameHacks:TeleportToXYZ(pos.x,pos.y,pos.z)
else
local newTask = ffxiv_task_movetopos:Create()
newTask.pos = pos
newTask.range = 1.5
newTask.gatherRange = 1.0
ml_task_hub:CurrentTask():AddSubTask(newTask)
end
end
end
maxdistance=25 set here your choise of Distance to the nearest Player.