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
Pause cavebot and targeting and move to safe spot when player on screen
#1
Hi!

I would need the following script if someone knows how:

If player x on screen --> pause cavebot and targeting --> move to sqm and use magic rope. Wait x seconds --> activate cavebot and targeting --> move to sqm with hole --> start botting again. 

Thanks in advance!
Reply

#2
Hello.

I believe it's easier if you just disable Targeting and make sure Cavebot go to specific waypoint, which would be the one to reach the location and use magic rope, is better. Because would be easier to customize without LUA knowledge and could use the same approach to different places using the same scripts, just changing the waypoints.
However, i will develop what you asked for:
local LOCATION_ROPE = { X = 12345, Y = 12345, Z = 6 } -- Sqm to reach to use magic rope.
local LOCATION_GODOWN = { X = 12345, Y = 12345, Z = 6 } -- Sqm to reach to use magic rope.
local TIME_WAIT = { Min = 10000, Max = 12000 } -- Time to wait after using magic rope, it will sort a random value between those values.

if paround() > 0 then
    setsettings('Targeting/Enabled', false)
    setsettings('Cavebot/Enabled', false)
    reachlocation(LOCATION_ROPE.X, LOCATION_ROPE.Y, LOCATION_ROPE.Z, true)
    wait(400, 800)
    if islocationxyz(LOCATION_ROPE.X, LOCATION_ROPE.Y, LOCATION_ROPE.Z) then
        cast('exani tera')

        wait(TIME_WAIT.Min, TIME_WAIT.Max)

        setsettings('Targeting/Enabled', true)

        reachlocation(LOCATION_GODOWN.X, LOCATION_GODOWN.Y, LOCATION_GODOWN.Z, true)
        wait(400, 800)

        setsettings('Cavebot/Enabled', true)
    end
end
Reply

#3
Thank you, I will try it out!

So this is if someone is on screen? I does not matter name of player right?
Reply

#4
|Only Registered members can see download links. | Click here to buy subscription or here to register.
yes
Reply

#5
|Only Registered members can see download links. | Click here to buy subscription or here to register.
tyvm!
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016