as topic say its possibile auto loot to loot bag and depositer from loot bag?
i can pay for that if works.
as topic say its possibile auto loot to loot bag and depositer from loot bag?
i can pay for that if works.
use those two actions it works for me on ezodus ;p
--### Dehan's Depot Boxes Depositer v1.0.0 ###
lootingBp = 23721
nonstackableNumber = 2
stackableNumber = 3
--[[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) then
openitem(lootingBp, lootingBp, false)
waitcontainer(lootingBp, false)
else
break
end
wait(100)
end
--Function
local category = 'ns' -- 'n' for nostack and 's' for stack, you can put how many you want.
local backpack = 23721
function countitems()
local count = 0
foreach lootingitem m category do
if itemcount(m.name,backpack) >= 1 then
count = count + 1
end
end
return count
end
--What to do?
if countitems() >= 1 then
gotolabel($wptid-1)
end
have script for loot items into loot bag?