Results 1 to 4 of 4

Thread: Action to get items from the ground

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

    Lightbulb Action to get items from the ground

    hey guys
    so, here's the thing: i'm actually hunting with my EK and collecting some noob loot to get some money (brass armors, steel shields, etc.) and selling it to the npc

    the problem is that my cap is a little low and i can't get those items sometimes, so to "save" it, i've created an action that change the looting destiny to ground if my cap is low, no big deal.

    the problem is i'm actually looking for something more automatic, you know what i'm saying? i'm now looking for an action to get those items from the ground if my cap >= X
    does anyone knows how to get items from the ground?
    You may say i'm a dreamer...
    but i'm not the only one


    +++REP If i helped you =)

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Please use search next time, there are many threads about this already.



    local itemArray = {"Bola", "Ratana", "Life Preserver", "Leather Harness", "Gold Coin"}

    pickupitems("n", unpack(itemArray))
    pickupitems("e", unpack(itemArray))
    pickupitems("s", unpack(itemArray))
    pickupitems("w", unpack(itemArray))

    for i,j in pairs(itemArray) do
    while itemcount(itemArray[i], MainBP) > 0 do
    moveitems(itemArray[i], MainBP, LootBP, 100)
    wait(400,500)
    end
    while itemcount(itemArray[i], GoldBP) > 0 do
    moveitems(itemArray[i], GoldBP, LootBP, 100)
    wait(400,500)
    end
    end

  3. #3
    Normal User
    Join Date
    Aug 2012
    Location
    venezuela
    Posts
    127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    6
    Rep Power
    0
    spam rate plz men xD

  4. #4
    Normal User JeTPsych's Avatar
    Join Date
    Mar 2012
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by pink_panther View Post
    Please use search next time, there are many threads about this already.



    local itemArray = {"Bola", "Ratana", "Life Preserver", "Leather Harness", "Gold Coin"}

    pickupitems("n", unpack(itemArray))
    pickupitems("e", unpack(itemArray))
    pickupitems("s", unpack(itemArray))
    pickupitems("w", unpack(itemArray))

    for i,j in pairs(itemArray) do
    while itemcount(itemArray[i], MainBP) > 0 do
    moveitems(itemArray[i], MainBP, LootBP, 100)
    wait(400,500)
    end
    while itemcount(itemArray[i], GoldBP) > 0 do
    moveitems(itemArray[i], GoldBP, LootBP, 100)
    wait(400,500)
    end
    end
    going to test it tomorrow since today i don't have enough stamina haha
    but thanks, i'll edit it if it works


    EDIT: it didn't work at all... so your crazyness was in vain
    Last edited by JeTPsych; 01-17-2013 at 02:30 PM.
    You may say i'm a dreamer...
    but i'm not the only one


    +++REP If i helped you =)

Posting Permissions

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