Log in

View Full Version : xenobot flask dropper



furia33
06-07-2016, 09:25 AM
hi, can i get working flash dropper script?
thanks

furia33
06-07-2016, 09:39 AM
-- SETTING -------------------------------------------
-----------------------------------------------------
ManaType = 285 --283 is empty strong, 284 is great, 285 is normals.
ManasToDrop = 5 -- How many empty vials before drop?
-----------------------------------------------------
-- END OF SETTING--------------------------------------

function dropItem(id, cnt)
local cont = Container.GetFirst()

while (cont:isOpen()) do
for spot = 0, cont:ItemCount() do
local item = cont:GetItemData(spot)
if (item.id == id and item.count >= cnt) then
cont:MoveItemToGround(spot, Self.Position().x, Self.Position().y, Self.Position().z)
return true
end
end

cont = cont:GetNext()
end

return false
end


while (true) do
if (dropItem(ManaType,ManasToDrop)) then
wait(48000, 60000) --Since we've already dropped a stack, wait a bit of time before trying to drop another
else
wait(2000) --havent dropped shit, wait2 seconds and try again. No need for randomization since we didn't do anything
end
end










this one is working

alvaroksinn
05-30-2017, 12:48 AM
-- SETTING -------------------------------------------
-----------------------------------------------------
ManaType = 285 --283 is empty strong, 284 is great, 285 is normals.
ManasToDrop = 5 -- How many empty vials before drop?
-----------------------------------------------------
-- END OF SETTING--------------------------------------

function dropItem(id, cnt)
local cont = Container.GetFirst()

while (cont:isOpen()) do
for spot = 0, cont:ItemCount() do
local item = cont:GetItemData(spot)
if (item.id == id and item.count >= cnt) then
cont:MoveItemToGround(spot, Self.Position().x, Self.Position().y, Self.Position().z)
return true
end
end

cont = cont:GetNext()
end

return false
end


while (true) do
if (dropItem(ManaType,ManasToDrop)) then
wait(48000, 60000) --Since we've already dropped a stack, wait a bit of time before trying to drop another
else
wait(2000) --havent dropped shit, wait2 seconds and try again. No need for randomization since we didn't do anything
end
end










this one is working

thanks mannn