Results 1 to 3 of 3

Thread: [REQUEST] Pickup LIFE RING from backpack

  1. #1
    Normal User detekz's Avatar
    Join Date
    Mar 2012
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    [REQUEST] Pickup LIFE RING from backpack

    *FROM A DEPOT BACKPACK - EDITED

    I have an action that i changed from taking spear to take life ring.

    but this action just opens one backpack.. and everytime my character goes to the depot it takes 7 L.R.
    so i will only be able to use the 19 in the backpack and then i have to refill again.

    i tried to put a backpack inside of the the other with more life rings, but he is not opening that backpack when the L.R. from the first in gone..

    does anyone have a script that works properly for this kind of ACTION with LIFE RING?

  2. #2
    iBot User Raph_'s Avatar
    Join Date
    Feb 2013
    Posts
    391
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    59
    Rep Power
    4
    Humm this might works:
    --[[ INIT START ]]--
    local bpRing = "green backpack"
    local ringName = "life ring"
    local totalToMove = 7
    local bpToMove = "backpack of holding"
    --[[ INIT END ]]--

    openitem(bpRing, "depot chest")
    wait(800, 1300)
    while itemcount(ringName, bpToMove) < totalToMove do
    if itemcount(ringName, bpRing) > 0 then
    moveitems(ringName, bpRing, bpToMove, 1)
    wait(200, 400)
    elseif itemcount(ringName, bpRing) == 0 and itemcount(bpRing, bpRing) > 0 then
    openitem(bpRing, bpRing)
    wait(500, 1000)
    end
    end

  3. #3
    Normal User detekz's Avatar
    Join Date
    Mar 2012
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Raph_ View Post
    Humm this might works:
    --[[ INIT START ]]--
    local bpRing = "green backpack"
    local ringName = "life ring"
    local totalToMove = 7
    local bpToMove = "backpack of holding"
    --[[ INIT END ]]--

    openitem(bpRing, "depot chest")
    wait(800, 1300)
    while itemcount(ringName, bpToMove) < totalToMove do
    if itemcount(ringName, bpRing) > 0 then
    moveitems(ringName, bpRing, bpToMove, 1)
    wait(200, 400)
    elseif itemcount(ringName, bpRing) == 0 and itemcount(bpRing, bpRing) > 0 then
    openitem(bpRing, bpRing)
    wait(500, 1000)
    end
    end

    I will try.

    Thanks,
    Dtkz

Posting Permissions

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