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
Close backpack and reopen
#11
I use that script, I’d like to be able to set a bunch of waypoint actions to check how many left, then go to a new waypoint.
A flashing client is useless if I’m knee deep in a dream.
Reply

#12
Hello.

That's why i said this script works almost as you need. You just need to remove the last conditions which opens another bp and plays flash to go to label.

local Backpack = 'green backpack' -- Specific container to check for runes. Id, index or name.
local Rune = 'ultimate healing rune' -- rune to check.
local COUNT = 2 -- Count to go to waypoint.
local WAYPOINT = 'leave_hunt'

--[[ DON'T EDIT BELOW THIS LINE --]]
--[[ DON'T EDIT BELOW THIS LINE --]]
--[[ DON'T EDIT BELOW THIS LINE --]]

if connected() then
    local RUNE_ID = tonumber(Rune)
    if RUNE_ID == nil then
        RUNE_ID = itemid(Rune)
    end

    local Containers = getcontainers()

    for i = 1, #Containers do
        local cont = Containers[i]
        local ContainerSlot = -1
        local RunesCount = 0

        if cont.name:lower() == Backpack:lower() or tostring(Backpack) == tostring(cont.index) or tostring(Backpack) == tostring(cont.id) then
            for j = 1, #cont.items do
                local item = cont.items[j]
                if itemhasflags(item.id, 4) then
                    ContainerSlot = item.index
                elseif item.id == RUNE_ID then
                    RunesCount = RunesCount + item.count
                end
            end

            if RunesCount <= COUNT and ContainerSlot == -1 then
                gotolabel(WAYPOINT)
                break          
            end
        end
    end
end
Reply

#13
<3 your the best
Reply

#14
Hey man,
This is really glitchy. it keeps randomly resizing things and closing etc etc.
Can you spot why its trying to open things in random order or not opening them at all?

Cheers

if windowcount() < 4 then
setsettings('Looter/Enabled', false)
setsettings('Cavebot/Enabled', false)
closewindows()
wait(500, 800)
local bp_item = back()
if bp_item.id > 0 then
local WIN_COUNT = windowcount()
while WIN_COUNT == 0 and bp_item.id > 0 do
openitem(bp_item.id, 'back')
wait(1000, 1500)
bp_item = back()
WIN_COUNT = windowcount()
end

if WIN_COUNT > 0 then
resizewindows(1)
wait(500, 800)

local containers = getcontainers()
for _, cont in ipairs(containers) do
for __, item in ipairs(cont.items) do
if itemhasflags(item.id, 4) then
for i = 1, 3 do
if windowcount() == WIN_COUNT then
openitemslot(item.index, cont.index, true)
wait(500, 1000)
resizewindows(1)
resizewindows(1)
wait(500, 800)
else
break
end
end
WIN_COUNT = windowcount()
end
end
end
setsettings('Looter/Enabled', true)
setsettings('Cavebot/Enabled', true)
end
end
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016