Signup Now
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Free User
    Join Date
    Sep 2016
    Posts
    17
    Reputation
    10
    Rep Power
    0

    Move all items from backpack to depot box ii

    Hello, i want script which move ALL items, from backpack to depot box

    Can someone help me?

  2. #2
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23
    Quote Originally Posted by Ascoth View Post
    Hello, i want script which move ALL items, from backpack to depot box

    Can someone help me?
    https://forums.tibiawindbot.com/show...oxes-Depositer

    nonstackableNumber = 2
    stackableNumber = 2

  3. #3
    Free User
    Join Date
    Sep 2016
    Posts
    17
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Cisco View Post
    https://forums.tibiawindbot.com/show...oxes-Depositer

    nonstackableNumber = 2
    stackableNumber = 2
    But backpack is in depot box..

  4. #4

  5. #5
    Free User
    Join Date
    Sep 2016
    Posts
    17
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Cisco View Post
    Not working so good, as I wanted.

    Still want help

    For example: I got loot from all characters in backpacks, I have got around 50-60 backpacks, one backpack - 20 slots of pure loot (stacks and not), i want to move it from backpack to depot box ii, without any openers.
    Last edited by Ascoth; 10-24-2016 at 02:03 PM.

  6. #6
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23
    Quote Originally Posted by Ascoth View Post
    Not working so good, as I wanted.

    Still want help

    For example: I got loot from all characters in backpacks, I have got around 50-60 backpacks, one backpack - 20 slots of pure loot (stacks and not), i want to move it from backpack to depot box ii, without any openers.
    I understand it's a bit complicated, at least for me. If your character can do supply the market and then cancel the items to go to the inbox is much easier to do.
    This would make for simpler and faster.
    Otherwise, I couldn't help it.

  7. #7
    Free User
    Join Date
    Sep 2016
    Posts
    17
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Cisco View Post
    I understand it's a bit complicated, at least for me. If your character can do supply the market and then cancel the items to go to the inbox is much easier to do.
    This would make for simpler and faster.
    Otherwise, I couldn't help it.
    I dont want to add this to my cavebot, i would like to use it like a LOOT SORTER, but only moving items from backpack to depot box ii.

  8. #8
    Free User
    Join Date
    Dec 2013
    Posts
    22
    Reputation
    18
    Rep Power
    0
    Quote Originally Posted by Ascoth View Post
    I dont want to add this to my cavebot, i would like to use it like a LOOT SORTER, but only moving items from backpack to depot box ii.
    Open the depot chest, then open your loot bp in a new window.

    local depotbox = getcontainer(0)
    local lootbp = getcontainer(1)

    while windowcount(lootbp.name) > 0 do
    for i = 1, lootbp.itemcount do
    local item = iteminfo(lootbp.item[i].id)

    if not item.iscontainer then
    moveitemsonto(item.id, itemid("Depot Box II"), 0, depotbox.name, lootbp.name)
    waitping()
    break
    end
    end

    if iteminfo(lootbp.item[1].id).iscontainer and lootbp.itemcount == 1 then
    openitem(lootbp.item[1].id, lootbp.name, false)
    waitping()
    elseif lootbp.itemcount == 0 then
    closewindows(lootbp.name, true)
    waitping()
    end
    end
    Last edited by Rydan; 10-25-2016 at 01:56 PM.

  9. #9
    Free User
    Join Date
    Sep 2016
    Posts
    17
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Rydan View Post
    Open the depot chest, then open your loot bp in a new window.

    local depotbox = getcontainer(0)
    local lootbp = getcontainer(1)

    while windowcount(lootbp.name) > 0 do
    for i = 1, lootbp.itemcount do
    local item = iteminfo(lootbp.item[i].id)

    if not item.iscontainer then
    moveitemsonto(item.id, itemid("Depot Box II"), 0, depotbox.name, lootbp.name)
    waitping()
    break
    end
    end

    if iteminfo(lootbp.item[1].id).iscontainer and lootbp.itemcount == 1 then
    openitem(lootbp.item[1].id, lootbp.name, false)
    waitping()
    elseif lootbp.itemcount == 0 then
    closewindows(lootbp.name, true)
    waitping()
    end
    end
    Working pretty nice, thank you!
    But Do I have to have backpack in backpacks or i can randomly open? :P
    Last edited by Ascoth; 10-25-2016 at 03:25 PM.

  10. #10
    Free User
    Join Date
    Oct 2014
    Posts
    172
    Reputation
    10
    Rep Power
    19
    if you want to move items from depotbox 1 to depot box 2 ?

 

 

Posting Permissions

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