This is not working for me
I dont know that will work, its my first LUA code in WindBot, I don't know even constants, also I don't have WindBot for test this script.
init start
local CONFIG = {
--FROM. ITEM, AMOUNT, TO
{"Green Backpack", "Dwarven Ring", 3, "Deepling Backpack"},
{"Brocade Backpack", "Energy Ring", 4, "Deepling Backpack"},
{"Yellow Backpack", "Brown Mushroom", 30, "Deepling Backpack"}
}
init end
opendepot() wait(1500, 2500)
for _, value in pairs(CONFIG) do
openitem(value[1]) waitcontainer(value[1])
moveitemsupto(value[2], value[3], value[4], value[1])
end
end
It's working now, there is a bug that when you use simple "backpack" (brown backpack) as your mainbp, it does not move items, so i just chage it to another type of backpack.
Can you please tell me exactly what else to change in the settings?
hepl me error in Persistent script NewPersistentScript:
[" while itemcount(item, mainbp)..."]:NewPersistentScript:23 attempt to compare number with nil
help me for error in Persistent script NewPersistentScript:
[" while itemcount(item, bp.to) ..."]:NewPersistentScript:23 attempt to compare number with nil
local bp = {
to = getlootingdestination('stackable'),
from = getlootingdestination('arrowbpdp')
}
local item = ('crystalline arrow')
local itemamount = getuseroption('arrowamount')-- You can also change this to a number like 10.
while (windowcount('Locker') == 0) do
openitem('depot')
wait(700,800)
end
while (windowcount('Depot Chest') == 0) do
openitem(3502, 'locker')
wait(800,1200)
end
openitem(bp.from, 'Depot Chest', true)
wait(800,1000)
amounttowithdraw = itemamount, itemcount(item, bp.to)
while itemcount(item, bp.to) < itemamount and (itemcount(item, bp.from) >= 1 or itemcount(bp.from, bp.from) == 1) do
moveitems(item, bp.to, bp.from, amounttowithdraw)
wait(500,1000)
if itemcount(item, bp.from) == 0 and itemcount(bp.from, bp.from) == 1 then
openitem(bp.from, bp.from, false)
end
amounttowithdraw = itemamount-itemcount(item, bp.to)
end
Hey! I don't get this one to work after the new dp box setting, can someone help me with it?
hi i need one action to move mine runes to dp ? u help me plx
i use this more error to
init start
local bpDepotAmmo = "camouflage backpack" -- You Depot backpack
local ammoName = "avalanche runes"
local ammoToMove = 200
local whereToMove = "brocade backpack" -- You Main backpack
init end
opendepot() wait(1500, 2500)
openitem(bpDepotAmmo ) waitcontainer(bpDepotAmmo)
moveitemsupto(ammoName, bpDepotAmmo, whereToMove, ammoToMove)
if itemcount(bpDepotAmmo, bpDepotAmmo) > 0 and itemcount(ammoName, bpDepotAmmo) == 0 then
openitem(bpDepotAmmo, bpDepotAmmo) waitping()
end
i use to move to dp mine marker runes more are error plx help
10:54:42 error in Action script move runa:
["while itemcount(itemname, to) < amou..."]:LucasTerra.lua:1718 attempt to compare number with string
stack traceback:
["moveitemsupto(ammoName, bpDepotAmmo, whereToMove, ammoToMove..."]:Action: move runa:10 in user script
Last edited by botboy; 09-06-2016 at 02:01 PM.
Nice, Thank you