init start
-- Script Version 1.0.0
local stackbp = "purple backpack" -- Stackable items bp name
local rarebp = "orange backpack" -- Non stacable items bp name
local lootbp = "camouflage backpack" -- Lootbp on self
local ignore = {"gold coin", "platinum coin"} -- Will not move these items
local wpt = {Label = "FromDepot", Section = "Trainers"} -- Where go if depositer failed (no more space to deposit)
-- Do not edit anything below this line
for i=1, #ignore do
ignore[i] = itemid(ignore[i])
end
init end
-- Opening Loot Bp
if windowcount(lootbp) == 0 then
while windowcount(lootbp) == 0 do
if windowcount() > 0 then
closewindows()
wait(1000)
end
openitem(0, 'back')
waitping(3,4)
openitem(lootbp, itemname($back.id), false)
waitping(3,4)
resizewindows(0, lootbp)
wait(500, 700)
end
end
while windowcount("Depot Chest") == 0 do
opendepot()
end
-- Opening Stack BP
while windowcount(stackbp) == 0 do
openitem(stackbp, "depot chest", true)
wait(300, 400)
resizewindows(300, stackbp)
while windowcount(stackbp) > 0 and getcontainer(stackbp).emptycount == 0 and itemcount(stackbp, stackbp) > 0 do
openitem(stackbp, stackbp, false)
wait(100, 150)
end
if windowcount(stackbp) > 0 then
resizewindows(0, stackbp)
end
end
-- Opening Rare BP
while windowcount(rarebp) == 0 do
openitem(rarebp, "depot chest", false)
wait(300, 400)
resizewindows(300, rarebp)
while windowcount(rarebp) > 0 and getcontainer(rarebp).emptycount == 0 and itemcount(rarebp, rarebp) > 0 do
openitem(rarebp, rarebp, false)
wait(100, 150)
end
if windowcount(rarebp) > 0 then
resizewindows(0)
end
end
local cont = getcontainer(lootbp)
while windowcount(cont.name) > 0 do
local stackFull, rareFull, j = false, false, 1
for i=1, cont.itemcount do
local info = iteminfo(cont.item[j].id)
if not info.iscontainer and not table.find(ignore, info.id) then
if info.iscumulative then
-- Check if can move items to this bp
while getcontainer(stackbp).emptycount == 0 and itemcount(stackbp, stackbp) > 0 do
openitem(stackbp, stackbp, false)
wait(200, 300)
end
if getcontainer(stackbp).emptycount > 0 then
moveitems(info.id, stackbp, lootbp, 100)
waitping()
end
if getcontainer(stackbp).emptycount == 0 and itemcount(stackbp, stackbp) == 0 then
stackFull = true
break
end
else
-- Check if can move items to this bp
while getcontainer(rarebp).emptycount == 0 and itemcount(rarebp, rarebp) > 0 do
openitem(rarebp, rarebp, false)
wait(200, 300)
end
if getcontainer(rarebp).emptycount > 0 then
moveitems(info.id, rarebp, lootbp, 1)
waitping()
end
if getcontainer(rarebp).emptycount == 0 and itemcount(rarebp, rarebp) == 0 then
rareFull = true
break
end
end
else
j = j + 1
end
end
if stackFull then
printerror('Stack backpack is full, can\'t continue depositing.')
gotolabel(wpt.Label, wpt.Section)
break
elseif rareFull then
printerror('Rare backpack is full, can\'t continue depositing.')
gotolabel(wpt.Label, wpt.Section)
break
end
local function isItemIn(name)
local val = false
for i=1, getcontainer(name).itemcount do
if not iteminfo(getcontainer(name).item[i].id).iscontainer and not table.find(ignore, getcontainer(name).item[i].id) then
val = true
break
end
end
return val
end
if not isItemIn(lootbp) then
if itemcount(lootbp, lootbp) > 0 then
openitem(lootbp, lootbp, false)
wait(300, 400)
else
closewindows(lootbp)
end
end
end
setsetting('Looting/OpenNextBP', 'yes')
08-26-2015, 02:15 PM
ratrider
Great work Garkstal. It's working perfectly for me.. couldn't thank you enough.
08-26-2015, 05:07 PM
akademiksi
can you add this to your all scripts? so dont need to worry about deposit bps in whole day. can just run script who day without need to check possible full loot bps
08-27-2015, 11:25 AM
ratrider
Quote:
Originally Posted by akademiksi
can you add this to your all scripts? so dont need to worry about deposit bps in whole day. can just run script who day without need to check possible full loot bps
Why don't you add it yourself? It's super simple.. Garkstal was nice enough to give this to the community for free.
08-27-2015, 01:45 PM
Chiezuz
Thank you so much! Heard about it from a friend's hero fort script, can't wait to try! Especially since market actions are not working as well any more.
08-27-2015, 02:21 PM
pvzin
Nice stuff, mate!
08-27-2015, 04:56 PM
Garkstal
Quote:
Originally Posted by ratrider
Great work Garkstal. It's working perfectly for me.. couldn't thank you enough.
Np :)
Quote:
Originally Posted by akademiksi
can you add this to your all scripts? so dont need to worry about deposit bps in whole day. can just run script who day without need to check possible full loot bps
Will do in future updates
Quote:
Originally Posted by Chiezuz
Thank you so much! Heard about it from a friend's hero fort script, can't wait to try! Especially since market actions are not working as well any more.
Np :)
Quote:
Originally Posted by pvzin
Nice stuff, mate!
Thanks
08-27-2015, 06:49 PM
Jesseh
Thanks a lot, that's really useful for those botting long times or only via VPS.
09-14-2015, 01:48 PM
terje
This is awesome! rep!
09-20-2015, 05:30 AM
milk shiek
where do i put this, in the cavebot or persistent?
09-20-2015, 10:05 AM
Garkstal
Quote:
Originally Posted by milk shiek
where do i put this, in the cavebot or persistent?
Put it in cavebot.
09-26-2015, 12:59 AM
firiots
@Lucas Terra, you should add this to be the main depositer.
First thank you for the awesome depositer, but maybe i have one suggestion.
For stacked items could be moveitemsonto like the older depositer, we put one bp with 20 bps inside. This way will stack items until 100.
First thank you for the awesome depositer, but maybe i have one suggestion.
For stacked items could be moveitemsonto like the older depositer, we put one bp with 20 bps inside. This way will stack items until 100.
It would have a sense if you would have many types of creature products so after 2nd or 3rd refill it would open next bp but for most of spawns its enough. Anyway thanks for tip
09-29-2015, 08:42 PM
Shiba
Quote:
Originally Posted by Garkstal
It would have a sense if you would have many types of creature products so after 2nd or 3rd refill it would open next bp but for most of spawns its enough. Anyway thanks for tip
Or if you run different scripts on the same city, i've made for me! And here is your code with the modification:
init start
-- Script Version 1.0.0
local stackbp = Sdp -- Stackable items bp name
local rarebp = Ndp -- Non stacable items bp name
local lootbp = Lbp -- Lootbp on self
local ignore = {"gold coin", "platinum coin"} -- Will not move these items
local wpt = {Label = "Backpack", Section = "City"} -- Where go if depositer failed (no more space to deposit)
-- Do not edit anything below this line
for i=1, #ignore do
ignore[i] = itemid(ignore[i])
end
init end
-- Opening Loot Bp
if windowcount(lootbp) == 0 then
while windowcount(lootbp) == 0 do
if windowcount() > 0 then
closewindows()
wait(1000)
end
openitem(0, 'back')
waitping(3,4)
openitem(lootbp, itemname($back.id), false)
waitping(3,4)
resizewindows(0, lootbp)
wait(500, 700)
end
end
while windowcount("Depot Chest") == 0 do
opendepot()
end
-- Opening Stack BP
while windowcount(stackbp) == 0 do
openitem(stackbp, "depot chest", true)
wait(300, 400)
resizewindows(300, stackbp)
end
-- Opening Rare BP
while windowcount(rarebp) == 0 do
openitem(rarebp, "depot chest", false)
wait(300, 400)
resizewindows(300, rarebp)
while windowcount(rarebp) > 0 and getcontainer(rarebp).emptycount == 0 and itemcount(rarebp, rarebp) > 0 do
openitem(rarebp, rarebp, false)
wait(100, 150)
end
if windowcount(rarebp) > 0 then
resizewindows(0)
end
end
local cont = getcontainer(lootbp)
while windowcount(cont.name) > 0 do
local stackFull, rareFull, j = false, false, 1
for i=1, cont.itemcount do
local info = iteminfo(cont.item[j].id)
if not info.iscontainer and not table.find(ignore, info.id) then
if info.iscumulative then
-- Check if can move items to this bp
moveitemsonto(info.id, stackbp, lootbp)
waitping()
clearlastonto()
else
-- Check if can move items to this bp
while getcontainer(rarebp).emptycount == 0 and itemcount(rarebp, rarebp) > 0 do
openitem(rarebp, rarebp, false)
wait(200, 300)
end
if getcontainer(rarebp).emptycount > 0 then
moveitems(info.id, rarebp, lootbp, 1)
waitping()
end
if getcontainer(rarebp).emptycount == 0 and itemcount(rarebp, rarebp) == 0 then
rareFull = true
break
end
end
else
j = j + 1
end
end
if rareFull then
printerror('Rare backpack is full, can\'t continue depositing.')
gotolabel(wpt.Label, wpt.Section)
break
end
local function isItemIn(name)
local val = false
for i=1, getcontainer(name).itemcount do
if not iteminfo(getcontainer(name).item[i].id).iscontainer and not table.find(ignore, getcontainer(name).item[i].id) then
val = true
break
end
end
return val
end
if not isItemIn(lootbp) then
if itemcount(lootbp, lootbp) > 0 then
openitem(lootbp, lootbp, false)
wait(300, 400)
else
closewindows(lootbp)
end
end
end
setsetting('Looting/OpenNextBP', 'yes')
Thank You again!!
12-07-2015, 12:37 PM
Dragon Lord
Quote:
The winter update will be released tomorrow, December 8. All game worlds will be offline from 10:00 until about 14:30 CET. Keep in mind that houses and guildhalls will be emptied due to a technical change. All portable items will be moved to your inbox.
Hope you will update your script! I'm sure it's very userful for many people like me. Awsome work man! @Garkstal
12-07-2015, 02:44 PM
leandrocore
I'm using and it works perfectly.
:D
04-04-2016, 03:15 AM
Pradodog
Hey dude, the cavebot doesnt go to the next waypoint after its done, can u help me?
04-22-2016, 10:06 AM
senz
works awesome
but how can I add an item?
If i get it right.
Its moving all "info.id" items
how can i add a certain item that the action is ignoring? for example, a "bucket"
04-22-2016, 10:19 AM
Kyyngpin
im sorry for my ignorance. what does it exactly do??????
04-22-2016, 12:39 PM
ratrider
Quote:
Originally Posted by Kyyngpin
im sorry for my ignorance. what does it exactly do??????
Wat? Read the first post?
04-22-2016, 04:10 PM
Kyyngpin
Quote:
Originally Posted by ratrider
Wat? Read the first post?
read my post first you too you dumb fuck ignorant mother fucker
04-22-2016, 04:12 PM
Kyyngpin
i dont know what moves or what benefits that script gonna give me
04-22-2016, 04:21 PM
ratrider
Quote:
Originally Posted by Kyyngpin
read my post first you too you dumb fuck ignorant mother fucker
Calm down kiddo.
I responded to your "first post".. So basically, it's impossible for me not to have read your first post.
I find you pretty dumb not to understand what this does for you. But hey, people are dumb. Thats why earth is going places ;-)
11-16-2016, 11:39 AM
NikitaArcher
Quote:
Originally Posted by Garkstal
"Infinity" Depositer
Description
Will deposit items from your loot backpack. You may put around 105 backpacks (if there will be only stack and rare backpacks)
Configuration
Setup properly:
lootbp - the one you carry on yourself
stackbp - backpack for cumulative items in depot
rarebp - backpack for non cumulative items in depot
ignore - list of ignored items to deposit
wpt.Label - label where char should go if items will be not deposited (depositer will fail f.e. stackbp will be full)
init start
-- Script Version 1.0.0
local stackbp = "purple backpack" -- Stackable items bp name
local rarebp = "orange backpack" -- Non stacable items bp name
local lootbp = "camouflage backpack" -- Lootbp on self
local ignore = {"gold coin", "platinum coin"} -- Will not move these items
local wpt = {Label = "FromDepot", Section = "Trainers"} -- Where go if depositer failed (no more space to deposit)
-- Do not edit anything below this line
for i=1, #ignore do
ignore[i] = itemid(ignore[i])
end
init end
-- Opening Loot Bp
if windowcount(lootbp) == 0 then
while windowcount(lootbp) == 0 do
if windowcount() > 0 then
closewindows()
wait(1000)
end
openitem(0, 'back')
waitping(3,4)
openitem(lootbp, itemname($back.id), false)
waitping(3,4)
resizewindows(0, lootbp)
wait(500, 700)
end
end
while windowcount("Depot Chest") == 0 do
opendepot()
end
-- Opening Stack BP
while windowcount(stackbp) == 0 do
openitem(stackbp, "depot chest", true)
wait(300, 400)
resizewindows(300, stackbp)
while windowcount(stackbp) > 0 and getcontainer(stackbp).emptycount == 0 and itemcount(stackbp, stackbp) > 0 do
openitem(stackbp, stackbp, false)
wait(100, 150)
end
if windowcount(stackbp) > 0 then
resizewindows(0, stackbp)
end
end
-- Opening Rare BP
while windowcount(rarebp) == 0 do
openitem(rarebp, "depot chest", false)
wait(300, 400)
resizewindows(300, rarebp)
while windowcount(rarebp) > 0 and getcontainer(rarebp).emptycount == 0 and itemcount(rarebp, rarebp) > 0 do
openitem(rarebp, rarebp, false)
wait(100, 150)
end
if windowcount(rarebp) > 0 then
resizewindows(0)
end
end
local cont = getcontainer(lootbp)
while windowcount(cont.name) > 0 do
local stackFull, rareFull, j = false, false, 1
for i=1, cont.itemcount do
local info = iteminfo(cont.item[j].id)
if not info.iscontainer and not table.find(ignore, info.id) then
if info.iscumulative then
-- Check if can move items to this bp
while getcontainer(stackbp).emptycount == 0 and itemcount(stackbp, stackbp) > 0 do
openitem(stackbp, stackbp, false)
wait(200, 300)
end
if getcontainer(stackbp).emptycount > 0 then
moveitems(info.id, stackbp, lootbp, 100)
waitping()
end
if getcontainer(stackbp).emptycount == 0 and itemcount(stackbp, stackbp) == 0 then
stackFull = true
break
end
else
-- Check if can move items to this bp
while getcontainer(rarebp).emptycount == 0 and itemcount(rarebp, rarebp) > 0 do
openitem(rarebp, rarebp, false)
wait(200, 300)
end
if getcontainer(rarebp).emptycount > 0 then
moveitems(info.id, rarebp, lootbp, 1)
waitping()
end
if getcontainer(rarebp).emptycount == 0 and itemcount(rarebp, rarebp) == 0 then
rareFull = true
break
end
end
else
j = j + 1
end
end
if stackFull then
printerror('Stack backpack is full, can\'t continue depositing.')
gotolabel(wpt.Label, wpt.Section)
break
elseif rareFull then
printerror('Rare backpack is full, can\'t continue depositing.')
gotolabel(wpt.Label, wpt.Section)
break
end
local function isItemIn(name)
local val = false
for i=1, getcontainer(name).itemcount do
if not iteminfo(getcontainer(name).item[i].id).iscontainer and not table.find(ignore, getcontainer(name).item[i].id) then
val = true
break
end
end
return val
end
if not isItemIn(lootbp) then
if itemcount(lootbp, lootbp) > 0 then
openitem(lootbp, lootbp, false)
wait(300, 400)
else
closewindows(lootbp)
end
end
end
init start
-- Script Version 1.0.0
local stackbp = "purple backpack" -- Stackable items bp name
local rarebp = "orange backpack" -- Non stacable items bp name
local lootbp = "camouflage backpack" -- Lootbp on self
local ignore = {"gold coin", "platinum coin"} -- Will not move these items
local wpt = {Label = "FromDepot", Section = "Trainers"} -- Where go if depositer failed (no more space to deposit)
-- Do not edit anything below this line
for i=1, #ignore do
ignore[i] = itemid(ignore[i])
end
init end
-- Opening Loot Bp
if windowcount(lootbp) == 0 then
while windowcount(lootbp) == 0 do
if windowcount() > 0 then
closewindows()
wait(1000)
end
openitem(0, 'back')
waitping(3,4)
openitem(lootbp, itemname($back.id), false)
waitping(3,4)
resizewindows(0, lootbp)
wait(500, 700)
end
end
while windowcount("Depot Chest") == 0 do
opendepot()
end
-- Opening Stack BP
while windowcount(stackbp) == 0 do
openitem(stackbp, "depot chest", true)
wait(300, 400)
resizewindows(300, stackbp)
while windowcount(stackbp) > 0 and getcontainer(stackbp).emptycount == 0 and itemcount(stackbp, stackbp) > 0 do
openitem(stackbp, stackbp, false)
wait(100, 150)
end
if windowcount(stackbp) > 0 then
resizewindows(0, stackbp)
end
end
-- Opening Rare BP
while windowcount(rarebp) == 0 do
openitem(rarebp, "depot chest", false)
wait(300, 400)
resizewindows(300, rarebp)
while windowcount(rarebp) > 0 and getcontainer(rarebp).emptycount == 0 and itemcount(rarebp, rarebp) > 0 do
openitem(rarebp, rarebp, false)
wait(100, 150)
end
if windowcount(rarebp) > 0 then
resizewindows(0)
end
end
local cont = getcontainer(lootbp)
while windowcount(cont.name) > 0 do
local stackFull, rareFull, j = false, false, 1
for i=1, cont.itemcount do
local info = iteminfo(cont.item[j].id)
if not info.iscontainer and not table.find(ignore, info.id) then
if info.iscumulative then
-- Check if can move items to this bp
while getcontainer(stackbp).emptycount == 0 and itemcount(stackbp, stackbp) > 0 do
openitem(stackbp, stackbp, false)
wait(200, 300)
end
if getcontainer(stackbp).emptycount > 0 then
moveitems(info.id, stackbp, lootbp, 100)
waitping()
end
if getcontainer(stackbp).emptycount == 0 and itemcount(stackbp, stackbp) == 0 then
stackFull = true
break
end
else
-- Check if can move items to this bp
while getcontainer(rarebp).emptycount == 0 and itemcount(rarebp, rarebp) > 0 do
openitem(rarebp, rarebp, false)
wait(200, 300)
end
if getcontainer(rarebp).emptycount > 0 then
moveitems(info.id, rarebp, lootbp, 1)
waitping()
end
if getcontainer(rarebp).emptycount == 0 and itemcount(rarebp, rarebp) == 0 then
rareFull = true
break
end
end
else
j = j + 1
end
end
if stackFull then
printerror('Stack backpack is full, can\'t continue depositing.')
gotolabel(wpt.Label, wpt.Section)
break
elseif rareFull then
printerror('Rare backpack is full, can\'t continue depositing.')
gotolabel(wpt.Label, wpt.Section)
break
end
local function isItemIn(name)
local val = false
for i=1, getcontainer(name).itemcount do
if not iteminfo(getcontainer(name).item[i].id).iscontainer and not table.find(ignore, getcontainer(name).item[i].id) then
val = true
break
end
end
return val
end
if not isItemIn(lootbp) then
if itemcount(lootbp, lootbp) > 0 then
openitem(lootbp, lootbp, false)
wait(300, 400)
else
closewindows(lootbp)
end
end
end