Signup Now
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Free User henqqq's Avatar
    Join Date
    Nov 2014
    Posts
    29
    Reputation
    10
    Rep Power
    0
    This is not working for me

  2. #12
    Free User
    Join Date
    Feb 2014
    Posts
    68
    Reputation
    10
    Rep Power
    21
    Quote Originally Posted by henqqq View Post
    This is not working for me
    I dont know that will work, its my first LUA code in WindBot, I don't know even constants, also I don't have WindBot for test this script.

    init start

    local CONFIG = {
    --FROM. ITEM, AMOUNT, TO
    {"Green Backpack", "Dwarven Ring", 3, "Deepling Backpack"},
    {"Brocade Backpack", "Energy Ring", 4, "Deepling Backpack"},
    {"Yellow Backpack", "Brown Mushroom", 30, "Deepling Backpack"}
    }
    init end

    opendepot() wait(1500, 2500)
    for _, value in pairs(CONFIG) do
    openitem(value[1]) waitcontainer(value[1])
    moveitemsupto(value[2], value[3], value[4], value[1])
    end
    end

  3. #13
    Free User henqqq's Avatar
    Join Date
    Nov 2014
    Posts
    29
    Reputation
    10
    Rep Power
    0
    It's working now, there is a bug that when you use simple "backpack" (brown backpack) as your mainbp, it does not move items, so i just chage it to another type of backpack.

  4. #14
    Free User
    Join Date
    May 2014
    Posts
    29
    Reputation
    10
    Rep Power
    0
    Can you please tell me exactly what else to change in the settings?

  5. #15
    Free User
    Join Date
    Mar 2015
    Posts
    2
    Reputation
    10
    Rep Power
    0
    hepl me error in Persistent script NewPersistentScript:
    [" while itemcount(item, mainbp)..."]:NewPersistentScript:23 attempt to compare number with nil

  6. #16
    Free User
    Join Date
    Mar 2015
    Posts
    2
    Reputation
    10
    Rep Power
    0

    Cool withdraw arrow depot

    help me for error in Persistent script NewPersistentScript:
    [" while itemcount(item, bp.to) ..."]:NewPersistentScript:23 attempt to compare number with nil

    local bp = {
    to = getlootingdestination('stackable'),
    from = getlootingdestination('arrowbpdp')
    }

    local item = ('crystalline arrow')
    local itemamount = getuseroption('arrowamount')-- You can also change this to a number like 10.

    while (windowcount('Locker') == 0) do
    openitem('depot')
    wait(700,800)
    end
    while (windowcount('Depot Chest') == 0) do
    openitem(3502, 'locker')
    wait(800,1200)
    end

    openitem(bp.from, 'Depot Chest', true)
    wait(800,1000)

    amounttowithdraw = itemamount, itemcount(item, bp.to)

    while itemcount(item, bp.to) < itemamount and (itemcount(item, bp.from) >= 1 or itemcount(bp.from, bp.from) == 1) do

    moveitems(item, bp.to, bp.from, amounttowithdraw)
    wait(500,1000)

    if itemcount(item, bp.from) == 0 and itemcount(bp.from, bp.from) == 1 then
    openitem(bp.from, bp.from, false)
    end

    amounttowithdraw = itemamount-itemcount(item, bp.to)
    end

  7. #17
    Free User
    Join Date
    Jan 2016
    Posts
    51
    Reputation
    10
    Rep Power
    17
    Hey! I don't get this one to work after the new dp box setting, can someone help me with it?

  8. #18
    Free User
    Join Date
    Jan 2015
    Posts
    23
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Tanochi View Post
    Withdraw Items from DP

    Credits: Thanks @Dehan & @Raphael to be so kind to help me!


    Description

    I made an action to withdraw items from DP.
    It also opens the next BP if the BP is empty so you can have more than 20 items (stacks) stored in your DP.

    I made it to store multiple BPs of rings in my DP for longer botting sessions


    Configuration

    This action is only for 1 type of item, in this case life rings. If you want to withdraw 2 types of items from different BPs (example: mushrooms & rings) you'll have to copy and modify some code.
    You can paste the code after your depositer action or put it inside a new action waypoint. Don't forget to change the lootingdestinations to your own settings!

    Here's an image of the BP setup in the depot.


    Code

    local bp = {
    to = getlootingdestination('mainbp'),
    from = getlootingdestination('ringbpdp')
    }

    local item = ('life ring')
    local itemamount = getuseroption('ringamount') -- You can also change this to a number like 5.

    while (windowcount('Locker') == 0) do
    openitem('depot')
    wait(700,800)
    end
    while (windowcount('Depot Chest') == 0) do
    openitem(3502, 'locker')
    wait(800,1200)
    end

    openitem(bp.from, 'Depot Chest', false)
    wait(800,1000)

    amounttowithdraw = itemamount-itemcount(item, bp.to)

    while itemcount(item, bp.to) < itemamount and (itemcount(item, bp.from) >= 1 or itemcount(bp.from, bp.from) == 1) do

    moveitems(item, bp.to, bp.from, amounttowithdraw)
    wait(500,1000)

    if itemcount(item, bp.from) == 0 and itemcount(bp.from, bp.from) == 1 then
    openitem(bp.from, bp.from, false)
    end

    amounttowithdraw = itemamount-itemcount(item, bp.to)
    end


    If there's any bug/it doesn't work for you please let me know so I can fix it!
    hi i need one action to move mine runes to dp ? u help me plx
    i use this more error to
    init start
    local bpDepotAmmo = "camouflage backpack" -- You Depot backpack
    local ammoName = "avalanche runes"
    local ammoToMove = 200
    local whereToMove = "brocade backpack" -- You Main backpack
    init end

    opendepot() wait(1500, 2500)
    openitem(bpDepotAmmo ) waitcontainer(bpDepotAmmo)
    moveitemsupto(ammoName, bpDepotAmmo, whereToMove, ammoToMove)
    if itemcount(bpDepotAmmo, bpDepotAmmo) > 0 and itemcount(ammoName, bpDepotAmmo) == 0 then
    openitem(bpDepotAmmo, bpDepotAmmo) waitping()
    end

    i use to move to dp mine marker runes more are error plx help
    10:54:42 error in Action script move runa:
    ["while itemcount(itemname, to) < amou..."]:LucasTerra.lua:1718 attempt to compare number with string
    stack traceback:
    ["moveitemsupto(ammoName, bpDepotAmmo, whereToMove, ammoToMove..."]:Action: move runa:10 in user script
    Last edited by botboy; 09-06-2016 at 02:01 PM.

  9. #19
    Wind Powered
    Join Date
    Feb 2016
    Location
    Brasil
    Posts
    121
    Reputation
    12
    Rep Power
    17
    Nice, Thank you

  10. #20
    Free User
    Join Date
    Aug 2017
    Location
    Brazil
    Posts
    13
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Tanochi View Post
    Withdraw Items from DP

    Credits: Thanks @Dehan & @Raphael to be so kind to help me!


    Description

    I made an action to withdraw items from DP.
    It also opens the next BP if the BP is empty so you can have more than 20 items (stacks) stored in your DP.

    I made it to store multiple BPs of rings in my DP for longer botting sessions


    Configuration

    This action is only for 1 type of item, in this case life rings. If you want to withdraw 2 types of items from different BPs (example: mushrooms & rings) you'll have to copy and modify some code.
    You can paste the code after your depositer action or put it inside a new action waypoint. Don't forget to change the lootingdestinations to your own settings!

    Here's an image of the BP setup in the depot.


    Code

    local bp = {
    to = getlootingdestination('mainbp'),
    from = getlootingdestination('ringbpdp')
    }

    local item = ('life ring')
    local itemamount = getuseroption('ringamount') -- You can also change this to a number like 5.

    while (windowcount('Locker') == 0) do
    openitem('depot')
    wait(700,800)
    end
    while (windowcount('Depot Chest') == 0) do
    openitem(3502, 'locker')
    wait(800,1200)
    end

    openitem(bp.from, 'Depot Chest', false)
    wait(800,1000)

    amounttowithdraw = itemamount-itemcount(item, bp.to)

    while itemcount(item, bp.to) < itemamount and (itemcount(item, bp.from) >= 1 or itemcount(bp.from, bp.from) == 1) do

    moveitems(item, bp.to, bp.from, amounttowithdraw)
    wait(500,1000)

    if itemcount(item, bp.from) == 0 and itemcount(bp.from, bp.from) == 1 then
    openitem(bp.from, bp.from, false)
    end

    amounttowithdraw = itemamount-itemcount(item, bp.to)
    end


    If there's any bug/it doesn't work for you please let me know so I can fix it!
    Dont Work with new depot system......

 

 

Tags for this Thread

Posting Permissions

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