Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Pick up items from the ground

  1. #1
    Premium User luancarlos's Avatar
    Join Date
    Jul 2012
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Pick up items from the ground

    Hello!

    I need a help. I'm needing a script for collecting items in the cave. For example, when my char is hunting, if he see a gold coin in the ground, he takes to the backpack. but the waypoint can be anywhere.

  2. #2
    Banned
    Join Date
    Jun 2012
    Location
    Internet
    Posts
    845
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    113
    Rep Power
    0
    PHP Code:
    local ITEMS = {3031}

    local DIRECTIONS = {"c","n","s","e","w","se","sw","ne","nw"



    for 
    1#ITEMS do

        
    for 1#DIRECTIONS do

            
    pickupitems(DIRECTIONS[j],ITEMS[i])

        
    end

    end 

  3. #3
    Premium User luancarlos's Avatar
    Join Date
    Jul 2012
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    thank you *-*'

  4. #4
    Normal User kmz1918's Avatar
    Join Date
    Jun 2013
    Location
    Cracow, Poland
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    8
    Rep Power
    0
    Great but pick up gold to for example - Brocade Backpack. How to do it?

  5. #5
    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
    Quote Originally Posted by luancarlos View Post
    Hello!

    I need a help. I'm needing a script for collecting items in the cave. For example, when my char is hunting, if he see a gold coin in the ground, he takes to the backpack. but the waypoint can be anywhere.
    Learn to search.

    Quote Originally Posted by kmz1918 View Post
    Great but pick up gold to for example - Brocade Backpack. How to do it?
    You need to add an action to move them from one backpack to another

    Learn to search.


    This question has been asked and asnswered a million times. And due to people like you, im sure it will be asked a million times again.

  6. #6
    Normal User kmz1918's Avatar
    Join Date
    Jun 2013
    Location
    Cracow, Poland
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    8
    Rep Power
    0
    Nah, u better learn to answer without any discussions because i couldn't find it in our browser... Add link or do something wisely, dont post brainlessly - "use search option" if u dont want to help...

  7. #7
    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
    Quote Originally Posted by kmz1918 View Post
    Nah, u better learn to answer without any discussions because i couldn't find it in our browser... Add link or do something wisely, dont post brainlessly - "use search option" if u dont want to help...
    You obviously didnt search very hard.



    Also, I'm sure I could find more if tried more, even just a little.
    Last edited by pink_panther; 09-23-2013 at 10:35 AM.

  8. #8
    Normal User kmz1918's Avatar
    Join Date
    Jun 2013
    Location
    Cracow, Poland
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    8
    Rep Power
    0
    Ok, my fault, thanks for "help"

  9. #9
    iBot User Floodran's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    18
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    47
    Rep Power
    5
    local ITEMS = {3031}

    local DIRECTIONS = {"c","n","s","e","w","se","sw","ne","nw"}



    for i = 1, #ITEMS do

    for j = 1, #DIRECTIONS do

    pickupitems(DIRECTIONS[j],ITEMS[i])

    end

    end

    How do you make it to put like gold in the GoldBP? Lets say its number "03" on my GoldBP

  10. #10
    iBot User
    Join Date
    Aug 2012
    Posts
    805
    Mentioned
    18 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    38 Post(s)
    Reputation
    180
    Rep Power
    7
    you have to need another action which will move items to exacly bp

Posting Permissions

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