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
Refill UHs from depot/locker
#1
Hi again
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Smile" title="Smile" class="smilie smilie_1" />

I have checked around the forum but not found this one yet. Going to use this script with action waypoint in cavebot. 

- Find an empty locker
- Refill x amount of UH from 'depot' (not in a backpack, UH is just in the depot) to any open container

Thanks!
Reply

#2
To find and reach an empty locker you should use this:
reachgrounditem('locker')
wait(500)
openitem('locker')
wait(1000)

Refill is bit more complicated, because depends on your backpack organization.
Example:
1. You have a backpack with 19 runes inside and another backpack with more runes?
2. You have a backpack with X backpacks inside and each bp has 20 runes?
etc.
Reply

#3
Ok thanks!
I just want to place UHs that are stacked in 100s in a certain BP. The UHs in depot is just in main depot/locker not in backpacks.

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

#4
This script will reach the locker and open it then check the missing rune count and move until there are no more runes found in the locker or the count is sufficient.
local RUNE = 'ultimate healing rune'
local CHARACTER_RUNES_BP = 'blue backpack' -- Backpack with runes located on locker.
local CHARACTER_RUNES_COUNT = 100 -- How many runes you want to keep on you.

reachgrounditem('locker')
wait(500)

openitem('locker')
wait(1000)

local runesRemainingCount = CHARACTER_RUNES_COUNT - itemcount(RUNE, RUNES_BACKPACK)
while runesRemainingCount > 0 do
    if itemcount(RUNE, 'locker') == 0 then
        printerror('No runes found and ' .. tostring(runesRemainingCount) .. ' remaining')
        setsettings('Cavebot/Enabled', false)
        return
    end
    
    moveitems(RUNE, CHARACTER_RUNES_BP, 'locker', runesRemainingCount)
    wait(500, 800)

    runesRemainingCount = CHARACTER_RUNES_COUNT - itemcount(RUNE, RUNES_BACKPACK)
end
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