XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 3 of 3

Thread: xenobot flask dropper

  1. #1

    Join Date
    May 2016
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    xenobot flask dropper

    hi, can i get working flash dropper script?
    thanks

  2. #2

    Join Date
    May 2016
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    -- 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

  3. #3

    Join Date
    Feb 2017
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by furia33 View Post
    -- 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •