Made this to help all of us botters to sort up the loot.
Bps should be Bp -> Bp -> Bp.
Edit the places it should drop items by change the x/y.
init start
--Loot Sorter By SuNe--
local ADDON_POS = {x = 1, y = 0}
local FARMINE_POS = {x = -1, y = 0}
local RASHID_POS = {x = 0, y = 1}
local YASIR_POS = {x = 1, y = -1}
local GREENDJINN_POS = {x = -1, y = 1}
local BLUEDJINN_POS = {x = 1, y = 1}
local JEWELRY_POS = {x = -1, y = -1}
local EDRON_POS = {x = 0, y = -1}
local GNOMISSION_POS = {x = -1, y = -2}
local ROCK_IN_A_HARD_PLACE_POS = {x = -2, y = 0}
local POTION_POS = {x = -2, y = 1}
local GRIZZLYADAMS_POS = {x = -2, y = -1}
local TAMORIL_POS = {x = 0, y = -2}
local BRENGUS_POS = {x = -1, y = -2}
-- O = Char
-- Y
-- =
-- \/
-- -2 -1 0 +1 +2
-- -2 X X X X X
-- -1 X X X X X
-- 0 X X O X X
-- +1 X X X X X
-- +2 X X X X X
-- X = ->
auto(10)
-- drops items
for name, section in pairs(sections) do
for _, item in ipairs(section.items) do
while itemcount(item, '0-15') > 0 do
listas("Dropping '".. iteminfo(item).name .."', from section: '".. name .."'")
moveitems(item, ground($posx + section.position.x, $posy + section.position.y, $posz), '0-15', 100) waitping()
end
end
end
-- searches for new backpack
local foundnewbackpack = false
for i = 0, 15 do
local cont = getcontainer(i)
if cont.isopen then
for j = 1, cont.itemcount do
local info = iteminfo(cont.items[j].id)
if info.iscontainer then
listas('Opening new container...')
openitem(info.id, i)
wait(1000, 1500)
foundnewbackpack = true
break
end
end
end
end
-- if it gets here, it means it was unable to find a new backpack to open, so finish the script
if not foundnewbackpack then
auto(0)
end
If missing items / sell places, post them here and i will add it.
01-19-2014, 08:20 PM
Nightshade
amazing, will use for sure
01-19-2014, 08:20 PM
Dehan
nicely done svensk mand
01-19-2014, 08:41 PM
Florian
perfect, credits to me for testing the script at my house :****
01-19-2014, 08:43 PM
SuNe
Quote:
Originally Posted by Florian
perfect, credits to me for testing the script at my house :****
My house* ;)
01-19-2014, 08:53 PM
mistgun
Just Wow!
01-19-2014, 09:21 PM
Gumis
no.. in my house will be better :D KKKKK
Good job SuNe :p
01-20-2014, 05:45 AM
Raphael
Good stuff, mate.
01-30-2014, 04:18 AM
mexana
any 1 have an action to pick it up from the floor now xD