Results 1 to 7 of 7

Thread: Use Destroy Field Rune on body when bot wants to loot item

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

    Use Destroy Field Rune on body when bot wants to loot item

    Hello I have some problems to create/find action to use destroy field rune.
    I want it to work like this; bot is killing dragon lords. when looted body will be covered by fires i want bot to use destroy field on it and loot items inside.
    Is it possible?

  2. #2
    Normal User
    Join Date
    Mar 2012
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    bump

  3. #3
    Normal User
    Join Date
    Aug 2012
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    21
    Rep Power
    5
    I think it is not possible because u have to get LAst Waypoint of body which u have killed. Maybe it is possible to get from Corpse Monitor Id and wpt then use on it destroy field and open dead body. But i don't know how to get these info from corpse monitor.

  4. #4
    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
    Looting already uses browse field, so you dont need to do this

  5. #5
    Normal User saunir's Avatar
    Join Date
    Jul 2012
    Location
    Poland
    Posts
    33
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    17
    Rep Power
    5
    local CorpseIDfirst = numerIDofBodyHere
    local CorpseIDsecond = numerIDofBodyHere
    local CorpseIDthird = numerIDofBodyHere
    local CorpseIDfourth = numerIDofBodyHere
    local FireID = 2118


    for i = -8,8 do
    for j = -8,8 do
    local x = posx+i
    local y = posy+j
    while (itemcount(3148) > 0) and (maround(10) <= 4) and (isitemontile(CorpseIDfirst, x, y, posz) or isitemontile(CorpseIDsecond, x, y, posz) or isitemontile(CorpseIDthird, x, y, posz) or isitemontile(CorpseIDfourth, x, y, posz)) and (toptileitem(x, y, posz) == FireID) and tileshootable(x, y, posz) do
    useitemon("destroy field rune", x,y,posz)
    wait(100)
    end
    end
    end
    Last edited by saunir; 12-01-2013 at 12:14 AM.

  6. #6
    iBot User
    Join Date
    Nov 2012
    Posts
    319
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    12 Post(s)
    Reputation
    33
    Rep Power
    5
    Quote Originally Posted by pink_panther View Post
    Looting already uses browse field, so you dont need to do this
    :O can u explan this?

  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 adra0378 View Post
    :O can u explan this?
    No.

    The bot uses browse field to loot. What more do i need to explain.

Posting Permissions

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