What is the full code that i post to the action bar? Because it does not work for me... :mad:
Printable View
What is the full code that i post to the action bar? Because it does not work for me... :mad:
You doing something WRONG...
anyway read here AGAIN: https://forums.tibiawindbot.com/show...full=1#post476
anyone can help me? i have for example, five lootbps, this action open normally the lootbp inside mainbp, deposit all the itens but dont open next lootbp, so nexts lootbps dont be deposited on depotbp anyone can help?
Example:
1 - lootbp = deposited.
Bot back to main open lootbp again but don't open 2º lootbp ~~ until 5º BP
local mainbpname = getlootingdestination('mainbpname')
local lootbpname = getlootingdestination('lootbpname')
closewindows()
while windowcount() < 2
do
wait(500,1000)
openitem($back.id, "back")
wait(500,1000)
openitem(mainbpname, itemname($back.id), true)
wait(500,1000)
resizewindows()
openitem(lootbpname, itemname($back.id), true)
wait(500,1000)
openitem(lootbpname, lootbpname)
wait(700,1000)
openitem(lootbpname, lootbpname)
wait(700,1000)
openitem(lootbpname, lootbpname)
wait(700,1000)
openitem(lootbpname, lootbpname)
wait(700,1000)
openitem(lootbpname, lootbpname)
wait(700,1000)
openitem(lootbpname, lootbpname)
wait(700,1000)
openitem(lootbpname, lootbpname)
wait(700,1000)
openitem(lootbpname, lootbpname)
wait(700,1000)
resizewindows()
end
i made this, but i can use something more simplified? Thx
@flipatos
local mainbpname = getlootingdestination('mainbpname')
local lootbpname = getlootingdestination('lootbpname')
setsetting('Looting/OpenNextBP', 'no')
closewindows()
waitping(1,2)
--open main and first loot backpack
while windowcount() < 2 do
openitem(0, "back", true)
wait(800,1200)
resizewindows()
waitping(1,2)
openitem(lootbpname, mainbpname)
wait(800,1200)
resizewindows()
waitping(1,2)
end
--all loot backpacks
while itemcount(lootbpname, lootbpname) >= 1 do
openitem(lootbpname, lootbpname)
wait(500,700)
end
setsetting('Looting/OpenNextBP', 'yes')
@StaR Thanks so much.
@flipatos, why you don't use depotaction()?
@borges , i use depotaction() but only this action will deposit the first lootbp will go back to main e close all windows, before depositaction() i need open all lootbps.
Am I doing anything wrong with this action?
depotaction('Fur Backpack', 'blue backpack', {'a', 'green backpack', 'b', 'orange backpack'})
I got this message : 21:46:17 '' does not contain a valid 'backpack name'
Thanks