Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
When moved go to x,y,z
#1
When moved from x location x,y,z go to x,y,z
rune maker on the stairs Smile
Reply

#2
Hello.

local CURRENT_LOCATION = { X = 12345, Y = 12345 } -- Location where you stand.
local SAFE_LOCATION = { X = 12345, Y = 12345 } -- Location to move when you get moved.

if posx() ~= CURRENT_LOCATION.X or posy() ~= CURRENT_LOCATION.Y then
     reachlocation(SAFE_LOCATION.X, SAFE_LOCATION.Y, posz(), true)
end
Reply

#3
that script not working :/ please do something really dont work
Reply

#4
(12-04-2019, 10:24 PM)Nombl Wrote:
|Only Registered members can see download links. | Click here to buy subscription or here to register.
that script not working :/ please do something really dont work

Hello.

There's a little bug on reachlocation() function when you wanna go to upstairs and downstairs, so you must use this script:
I tested and it's working.
local CURRENT_LOCATION = { X = 12345, Y = 12345 } -- Location where you stand.
local SAFE_LOCATION = { X = 54321, Y = 54321 } -- Location to move when you get moved.

if posx() ~= CURRENT_LOCATION.X or posy() ~= CURRENT_LOCATION.Y then
    if reachlocation(SAFE_LOCATION.X, SAFE_LOCATION.Y, posz(), false) then
        wait(500, 800)

        local diffX = SAFE_LOCATION.X - posx()
        local diffY = SAFE_LOCATION.Y - posy()

        if diffX == 1 and diffY == 0 then
            move('e')
        elseif diffX == -1 and diffY == 0 then
            move('w')
        elseif diffX == 0 and diffY == 1 then
            move('s')
        elseif diffX == 0 and diffY == -1 then
            move('n')
        elseif diffX == 1 and diffY == -1 then
            move('ne')
        elseif diffX == -1 and diffY == -1 then
            move('nw')
        elseif diffX == 1 and diffY == 1 then
            move('se')
        elseif diffX == -1 and diffY == 1 then
            move('sw')
        end
        wait(500, 800)
    end
end
Reply

#5
tried also another not working may it will work if u add num lock keys also coz he try to get squash
Reply

#6
(12-04-2019, 11:21 PM)Nombl Wrote:
|Only Registered members can see download links. | Click here to buy subscription or here to register.
tried also another not working may it will work if u add num lock keys also coz he try to get squash

Hello.

I'm pretty sure that's working because i tested.
Reply

#7
Heart 
Sort of the same question but its about ladder, if makers get kicked, when they logg in some will land down the ladder. How do I get them to use the ladder up?
Reply

#8
Hello.

Use posz() function to check your Z position and enable your cavebot to go upstairs or use useitem(1234, X, Y, Z)

## USING CAVEBOT ##
1. Create a Ladder wpt with name/label: "GO_LADDER" (without quotes).
2. Create an Action wpt after that ladder wpt with code:
setsettings('Cavebot/Enabled', false) -- disable cavebot
3. Create a Persistent with code below:
local Z = 6 -- If Z pos is different than this then enable cavebot.
if posz() ~= Z then
    gotolabel('GO_LADDER') -- make cavebot go to this wpt when enabled.
    setsettings('Cavebot/Enabled', true) -- enable cavebot.
end

## USING PERSISTENT ONLY ##
local LADDER = { ID = 1234, X = 12345, Y = 12345, Z = 7 }

if posz() == LADDER.Z then
    reachlocation(LADDER.X, LADDER.Y, LADDER.Z)
    wait(400)
    useitem(LADDER.ID, LADDER.X, LADDER.Y, LADDER.Z)
    wait(800, 1200)
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016