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
BUY Withdraw food from depot
#1
Hello guys, i'm looking for a script or action/persist for rune in front of DP... need go to depot withdraw food and back in front depot... anyone have this to share or sale?
Reply

#2
Hello.

You would need to use Cavebot+Persistent or just Persistent.

Cavebot+Persistent:
Make a persistent to check how many food you got and enable cavebot when got zero food.
Make cavebot waypoints to reach depot and an action with code below that will reach and open locker then withdraw food.

Cavebot+Persistent:
Pretty much like above, but you should use reachlocation() to reach depot then code below to withdraw food and make it walk back.

Script to withdraw food, i didn't tested but should work fine. It will withdraw food from locker.
local BACKPACK_FOOD = 'blue backpack' -- bp name or index
local FOOD = 'meat'
local MAX_FOOD = 30

reachgrounditem('locker')
wait(1000)
openitem('locker')
wait(1000)

local current_count = itemcount(FOOD, BACKPACK_FOOD)
while current_count < MAX_FOOD and itemcount(FOOD, 'Locker') > 0 do
    moveitems(FOOD, BACKPACK_FOOD, 'Locker', (MAX_FOOD - current_count))
    wait(300, 500)
    current_count = itemcount(FOOD, BACKPACK_FOOD)
end
Reply

#3
Thx Arkilys, working 100%!
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016