Signup Now
Results 1 to 3 of 3
  1. #1
    Wind Powered
    Join Date
    Nov 2016
    Posts
    26
    Reputation
    10
    Rep Power
    0

    auto loot to loot bag and depositer from loot bag

    as topic say its possibile auto loot to loot bag and depositer from loot bag?
    i can pay for that if works.

  2. #2
    Wind Powered wybocenooba's Avatar
    Join Date
    Jan 2014
    Posts
    329
    Reputation
    16
    Rep Power
    15
    use those two actions it works for me on ezodus ;p

    --### Dehan's Depot Boxes Depositer v1.0.0 ###

    lootingBp = 23721
    nonstackableNumber = 2
    stackableNumber = 3

    --[[DO NOT EDIT BELOW THIS LINE]]--

    setsetting('Looting/OpenNextBP', 'no')
    waitping()
    while windowcount("Depot Chest") == 0 do
    opendepot(true)
    wait(300)
    openitem(3502)
    wait(500)
    end

    depotId = 22796
    stackableId = depotId + stackableNumber
    nonstackableId = depotId + nonstackableNumber

    while (true) do
    foreach lootingitem i do
    while itemcount(i.id, lootingBp) > 0 do
    if itemproperty(i.id, 5) then
    moveitemsonto(i.id, stackableId, 1, 'depot chest', lootingBp, 100)
    else
    moveitemsonto(i.id, nonstackableId, 1, 'depot chest', lootingBp, 100)
    end
    end
    end
    if (itemcount(lootingBp, lootingBp) > 0) then
    openitem(lootingBp, lootingBp, false)
    waitcontainer(lootingBp, false)
    else
    break
    end
    wait(100)
    end


    --Function
    local category = 'ns' -- 'n' for nostack and 's' for stack, you can put how many you want.
    local backpack = 23721
    function countitems()
    local count = 0
    foreach lootingitem m category do
    if itemcount(m.name,backpack) >= 1 then
    count = count + 1
    end
    end
    return count
    end

    --What to do?

    if countitems() >= 1 then
    gotolabel($wptid-1)
    end
    Last edited by wybocenooba; 01-20-2021 at 05:20 PM.

  3. #3
    Wind Powered
    Join Date
    Nov 2016
    Posts
    26
    Reputation
    10
    Rep Power
    0
    have script for loot items into loot bag?

 

 

Posting Permissions

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