Just made, you can check here: https://forums.tibiawindbot.com/show...sing-Container
Just made, you can check here: https://forums.tibiawindbot.com/show...sing-Container
would be nice to combine this action with this one https://forums.tibiawindbot.com/show...-10-90-updated
so it would sort items on depot boxes haha
Level Latest Scripts by Dehan 250+ [EK & ED & MS & RP] [Navigation] Prison -1200+ [EK & ED & MS] [Navigation] Asura Palace200+ [EK & ED] [Navigation] Lower Roshamuul Softcore
Work!
Last edited by Grzegorz; 04-24-2016 at 06:14 PM.
Hello,
I implemented this code but it is only depositing loots from the first loot backpack.
How do I solve it please?
Thanks
<code>
local main = getuseroption('mainbp')
local loot = getuseroption('lootbp')
local supplies = getuseroption('supplybp')
local gold = getuseroption('goldbp')
wait(1200)
closewindows()
wait(200)
setsetting('Cavebot/WalkingMethod', 'Walk With Map-Clicks')
setsetting('Looting/OpenNextBP', 'no')
openitem(main, "back")
wait(500,1000)
openitem(loot, main)
wait(500, 1000)
-- Depot action
--### Dehan's Depot Boxes Depositer v1.0.0 ###
lootingBp = 'beach backpack'
nonstackableNumber = 1
stackableNumber = 2
--[[DO NOT EDIT BELOW THIS LINE]]--
setsetting('Looting/OpenNextBP', 'no')
waitping()
while windowcount("Depot Chest") == 0 do
opendepot(true)
wait(300)
openitem(3502)
wait(500)
end
depotId = 22796
stackableId = depotId + stackableNumber
nonstackableId = depotId + nonstackableNumber
while (true) do
foreach lootingitem i do
while itemcount(i.id, lootingBp) > 0 do
if itemproperty(i.id, 5) then
moveitemsonto(i.id, stackableId, 1, 'depot chest', lootingBp, 100)
else
moveitemsonto(i.id, nonstackableId, 1, 'depot chest', lootingBp, 100)
end
end
end
if (itemcount(lootingBp, lootingBp) > 0) and (emptycount(lootingBp) == 0) then
openitem(lootingBp, lootingBp, false)
waitcontainer(lootingBp, false)
else
break
end
wait(100)
end
-- Close windows and open main & supplies
closewindows()
wait(2000)
while(windowcount() < 2) do
openitem(main, 'back')
wait(500,1000)
openitem(supplies, main, true)
wait(500,1000)
end
resizewindows()
-- Check if we have supplies, if < maxbuy go buy, else go spawn
</code>
@sek you should change the lootingBp = 'jewelled backpack' on the third line of my code to getuseroption('lootbp') aswell
Level Latest Scripts by Dehan 250+ [EK & ED & MS & RP] [Navigation] Prison -1200+ [EK & ED & MS] [Navigation] Asura Palace200+ [EK & ED] [Navigation] Lower Roshamuul Softcore
Hello Dehan,
this is a nice code. I edited it, but it only take loots from my first lootbp. I have a lot or beach backpacks one inside the other.
How do I make it deposit ALL loots from ALL lootbp i have?
Thanks a lot and congrats!
what do u mean?
Can anyone help me to this script send ALL loots from my 10 lootbp ( beach backpacks ).
Thanks