I would like a house depositer.
I wanna put 100+ bps on the floor and want the bot to fill them up 1 by 1 when back from the hunt.
Is there anyone that could help me with this?
Something like this
I would like a house depositer.
I wanna put 100+ bps on the floor and want the bot to fill them up 1 by 1 when back from the hunt.
Is there anyone that could help me with this?
Something like this
Last edited by Filleman; 11-26-2017 at 06:15 PM.
Something like this, but can't get the moveitemsonto to work properly
PHP Code:
local lootingBp = getlootingdestination('lootbpname')
nonstackableNumber = 1
stackableNumber = 2
--[[DO NOT EDIT BELOW THIS LINE]]--
setsetting('Looting/OpenNextBP', 'no')
waitping()
closewindows() wait(500)
while windowcount(lootingBp) == 0 do
closewindows() wait(500)
openitem($back.id,'back') wait(500)
openitem(lootingBp,itemname($back.id),true) wait(500)
resizewindows(4000, 1, true)
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, 2866, $lastonto, '2'
else
moveitemsonto('i.id, 2866, $lastonto, '2')
end
end
end
if (itemcount(lootingBp, lootingBp) > 0) then
openitem(lootingBp, lootingBp, false)
waitcontainer(lootingBp, false)
else
break
end
wait(100)
end
none?