MMOMinion

Full Version: Possible to add to Teleport?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
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.