I need an action to open browse field, find specific color backpack with another color backpacks inside (like in depot), and drop itens of lootbp to this backpacks inside the first.. PLEASEEEE
I need an action to open browse field, find specific color backpack with another color backpacks inside (like in depot), and drop itens of lootbp to this backpacks inside the first.. PLEASEEEE
Last edited by acid showtek; 06-10-2015 at 07:52 PM.
local itemstomove = {'mana potion', 'fire axe'} --items you wish to move yeah you need list all items
local corX = 33442 --coordinates of sqm with bps
local corY = 31304 --coordinates of sqm with bps
local corZ = 7 --coordinates of sqm with bps
local bp1 = 'red backpack' --first bp
local bp2 = 'orange backpack' --bp inside the first
local lootbp = 'golden backpack' -- your loot bp
browsefield (corX , corY, corZ) wait(500,700)
openitem(bp1,'') wait(500, 700)
resizewindows() wait(500, 700)
for _, item in ipairs(itemstomove) do
clearlastonto()
moveitemsonto(item, lootbp, bp2) wait(700, 900)
end
is what you need?
sorry for bad english ^^
Last edited by xinxs; 06-19-2015 at 08:35 PM.
So much thanks @xinxs, it's exatly what i need
Man, i see now, this script isnt work well, because i forgot to delete 2 lines when editing.
Sorry, this should work well:
PHP Code:
local itemstomove = {'mana potion', 'fire axe'} --items you wish to move yeah you need list all items
local corX = 33442 --coordinates of sqm with bps
local corY = 31304 --coordinates of sqm with bps
local corZ = 7 --coordinates of sqm with bps
local bp1 = 'red backpack' --first bp
local bp2 = 'orange backpack' --bp inside the first
local lootbp = 'golden backpack' -- your loot bp
browsefield (corX , corY, corZ) wait(500,700)
openitem(bp1,'') wait(500, 700)
resizewindows() wait(500, 700) --just dont open the second bp
for _, item in ipairs(itemstomove) do
clearlastonto()
moveitemsonto(item, bp2, lootbp) wait(700, 900)
end
@xinxs, still not working, it opening second backpacks and not moving itens... i would it open only first backpack, and drop itens in backpacks inside the first backpack (when not have space in one backpack, drop in another...
local itemstomove = {'mana potion', 'fire axe'} --items you wish to move yeah you need list all items
local corX = 33442 --coordinates of sqm with bps
local corY = 31304 --coordinates of sqm with bps
local corZ = 7 --coordinates of sqm with bps
local bp1 = 'red backpack' --first bp
local bp2 = 'orange backpack' --bp inside the first
local lootbp = 'golden backpack' -- your loot bp
setsetting('Looting/OpenNextBP', 'no')
browsefield (corX , corY, corZ) wait(500,700)
openitem(bp1,'') wait(500, 700)
resizewindows() wait(500, 700)
for _, item in ipairs(itemstomove) do
clearlastonto()
moveitemsonto(item, lootbp, bp2) wait(700, 900) -- moveitemsonto(item, bp2, lootbp)=wrong x.x
end
setsetting('Looting/OpenNextBP', 'yes')
you sure, its not working?! ;O
can you take screenshot of your bps settings?!
EDIT: Forgot the SS, my mistake again and swap bps x.x
Last edited by xinxs; 06-19-2015 at 08:45 PM.
Not working ;(, it opening second bps..
Now working great, really thanks broo!!!