Results 1 to 3 of 3

Thread: NPC Dialogue

  1. #1
    Join Date
    May 2012
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default NPC Dialogue

    Problem Solved, more specific final text. and FindNPCChatText('yes',Clickleft);


    I've been searching for a solution to this problem for a while, I apologize if I miss something obvious.

    What I want it to do is to press spacebar to continue through chat until there are options, then to press 1 for first option.

    Code:
      doconversation('Are',true);
      wait(1000+random(500));
      Presskey(1);
    it wont continue past the first dialogue box though. 'Are you ready to go' is the result text i am searching for, the page before options.
    Last edited by shiningwhite; 05-20-2012 at 07:29 AM.
    "A child of five would understand this. Send someone to fetch a child of five."

  2. #2
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    does that first dialogue box contains "Are" too?

    Also PressKey's parameter isn't the thing that you want it to send, eg. if you want to send a "1" key u should use PressKey(31), PressKey isn't safe though as it is bot-like, try use
    Simba Code:
    KeyDown(31);
    wait(RandomRange(10,30));
    KeyUp(31);
    for more info on that refer to
    http://docs.villavu.com/simba/script...dkeyboard.html

  3. #3
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    Use FindNPCChatText('one word here', action to do) or FindNPCChatTextMulti(['word', 'word2', 'word3'], action) I use these in my scripts and they work well to get upto this point I use ClickContinue(True, True).

    Like this:

    Simba Code:
    ClickContinue(True, True);
    FindNPCChatText('Are', mouse_left);
    Current Project: Retired

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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