Results 1 to 5 of 5

Thread: how to move items from certain tile??

  1. #1
    Normal User
    Join Date
    Jun 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Question how to move items from certain tile??

    i made a script to hunt in forbbiden land's giant spiders, it cut the webs from mini caves, sometimes the bot throw vials in the same sqm the web regenerate so the next time the bot try to cut this web it get stucked, i need a command that helps me move this items into a different tile.

    hope you can help me, thx!
    Last edited by Zulsi; 09-20-2013 at 04:37 AM.

  2. #2
    Normal User korzeniowy's Avatar
    Join Date
    Aug 2012
    Location
    Netherlands
    Posts
    132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    18
    Rep Power
    5
    You can disable randomly dropping vials and make it in one waypoint action
    Code:
    dropvvials()
    You can stick it to other action waypoints, for example

    Code:
    if itemcount("mana potion") < MpToLeave or itemcount("great health potion") < GhpToLeave or cap < CapToLeave
    then gotolabel("Leave")
        else gotolabel("CheckHuntingBP")
    end
    
    dropflask()
    Also as You request You can try this action, straight before cutting web:

    Code:
    moveitems(id,ground(x,y,z),ground(x,y,z),amount)

  3. #3
    Normal User
    Join Date
    Jun 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    i think the second one is the right, is possible to move any item differente than spider webs?? i mean corpses, gps, vials, plate armor etc etc

  4. #4
    Normal User korzeniowy's Avatar
    Join Date
    Aug 2012
    Location
    Netherlands
    Posts
    132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    18
    Rep Power
    5
    But im not sure

    Code:
    local ITEMS = ("plate armor", "gold coin", "empty vial")
    
    moveitems(ITEMS,ground(33123,32456,7), ground(33124,32456,7), 100)

  5. #5
    Normal User
    Join Date
    Jun 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    ! love you!
    really really thank you, you helped a lot!

Posting Permissions

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