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

Thread: buy potions in npc

  1. #1
    Normal User jNo The Best's Avatar
    Join Date
    Jun 2012
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    10
    Rep Power
    5

    buy potions in npc

    How do I talk to in Part 1 npc that needs to go in the door, I already put it to use, and al more tense, because if the door had opened, the use closes, so skip the waypoint and does not reach the npc? ?

  2. #2
    zami84's Avatar
    Join Date
    May 2012
    Posts
    316
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    48
    Rep Power
    5
    Give me you e-mail. i will send you simple script with door opener and potions buyer.

  3. #3
    Normal User jNo The Best's Avatar
    Join Date
    Jun 2012
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    10
    Rep Power
    5
    Send me the box here, simple

  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
    you use say(), npcsay() and buyitemsupto()

    http://www.tibiaibot.com/forum/showt...-Documentation

  5. #5
    Normal User jNo The Best's Avatar
    Join Date
    Jun 2012
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    10
    Rep Power
    5
    This I know, sir pink, the problem is that it has to go through a door to reach the npc, and I do not dominate these things islocation pro char check arrived in goal

  6. #6
    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
    and I do not dominate these things islocation pro char check arrived in goal
    Terrible English.

  7. #7
    Normal User jNo The Best's Avatar
    Join Date
    Jun 2012
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    10
    Rep Power
    5
    uehuheuhehue

    Ta will be more clear, the problem is that I need to get through a door in npc, want to do something with it does not get stuck, you know?

  8. #8
    iBot User walukasz's Avatar
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    312
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    25 Post(s)
    Reputation
    67
    Rep Power
    5
    useitem(closed_door_id, door_x, door_y, door_z)

  9. #9
    Normal User jNo The Best's Avatar
    Join Date
    Jun 2012
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    10
    Rep Power
    5
    Plus if you open the door, he will come and close, this is what I mean, I need a action or an explanation of how to char not miss this part of opening and closing the door, if indentificar ta thing and open and such and go to the npc

  10. #10
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    956 Post(s)
    Reputation
    586
    Rep Power
    10
    Lua Code:
    if toptileitem(X,Y,Z) == 7715 then --7715 id of closed door
        useitem(7715, X,Y,Z)
        wait(1000,2000)
    end

Posting Permissions

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