Results 1 to 4 of 4

Thread: [ACTION] Moving Gp / Trash so I can loot

  1. #1
    Normal User
    Join Date
    Sep 2012
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    5

    [ACTION] Moving Gp / Trash so I can loot

    Hello..
    I've used the search engine and found this code
    moveitem(topitem(x, y, z), ground(x from, y from, z from), ground(x to, y to, z to), 100)
    My question is, will it move anything ( gp coin, empty flask w.e ) that is on top of the bodie so I can loot it ?

    I'm having a big problem with people stealing my loot on Goroma.

    Also, do I need to change x,y,z for any value ?

    And where do I put ? Go to ACTIONS > LIST > ( add new ) and copy this code ?

    Thanks
    Last edited by baburlk; 10-05-2012 at 02:20 PM. Reason: grammargra

  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
    Quote Originally Posted by baburlk View Post
    Hello..
    I've used the search engine and found this code


    My question is, will it move anything ( gp coin, empty flask w.e ) that is on top of the bodie so I can loot it ?

    I'm having a big problem with people stealing my loot on Goroma.

    Also, do I need to change x,y,z for any value ?

    And where do I put ? Go to ACTIONS > LIST > ( add new ) and copy this code ?

    Thanks
    PHP Code:
    local fromX 12345 -- Pos X of the location to check
    local fromY 
    45678 -- Pos Y of the location to check

    moveitem
    (topitem(fromXfromYposz), ground(fromXfromYposz), ground(posxposyposz), 100
    This will move "any" item from x,y to underneath you.

    However, there's no way of getting posz and posy of each monster you kill and having it check if the top tile item is a container, so you can't really stop people from trashing/stealing your loot.

    Also this action would get stuck in a loop unless given a condition, eg do "while toptileitem(fromX, fromY, posz) ~= itemID do"
    Last edited by pink_panther; 10-06-2012 at 04:32 AM.

  3. #3
    Normal User
    Join Date
    Sep 2012
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    5
    Quote Originally Posted by pink_panther View Post
    PHP Code:
    local fromX 12345 -- Pos X of the location to check
    local fromY 
    45678 -- Pos Y of the location to check

    moveitem
    (topitem(fromXfromYposz), ground(fromXfromYposz), ground(posxposyposz), 100
    This will move "any" item from x,y to underneath you.

    However, there's no way of getting posz and posy of each monster you kill and having it check if the top tile item is a container, so you can't really stop people from trashing/stealing your loot.

    Also this action would get stuck in a loop unless given a condition, eg do "while toptileitem(fromX, fromY, posz) ~= itemID do"
    Thanks for the info.
    So bottom line, There is no way to prevent my loot from getting stolen? :/

    Once again, thanks

  4. #4
    Normal User
    Join Date
    Sep 2012
    Posts
    21
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Hello I need an action to move items above depot I've just realized some days ago some guy is dedicating to put gold coing or vials above depots to trash botters so now I can't be 100% afk u.u can someone help me please?

Posting Permissions

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