Results 1 to 13 of 13

Thread: Talent Scount

  1. #1
    Join Date
    Nov 2011
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default Talent Scount

    Hi,

    I want to check if Talent Scount is calling me.

    His text color is



    How do i find he is talking ?

    Simba Code:
    function FindScout: Boolean;
    var
      i: Integer;
      message: string;
    begin

      for i:= 1 to 8 do
      begin

        message:= GetChatBoxText(i, WHAT_I_PUT_HERE);

        if (Pos('over', Lowercase(message)) > 0) then
        begin
          Result:= True;
          Break;
        end;

      end;
    end;

    Is there any other easy way to detect him talking ?

  2. #2
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    my answer to your question
    SINCE HE HAS A ORANGE FONT. YOU CAN JUST USE FINDCOLORTOLERANCE AND SEE IF THAT ORANGE TEXT POPS UP.
    Simba Code:
    IF FINDCOLORTOLERANCE( X, Y, OCOL, MSX1, MSY1, MSX2, MSY2, OTOL) THEN
      TALENTSCOUT := TRUE;
    Oh Hai Dar

  3. #3
    Join Date
    Jul 2008
    Location
    NSW, Australia
    Posts
    881
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    trololololol
    btws if you do go to the talent scout you will need to do whatever task it is that he gives you and that might make things more complicated for you since you didn't know how to detect it and what not but I wish you good luck in your project man.

  4. #4
    Join Date
    Nov 2011
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    @Main Thank you. I will try that.

    @leetsxc I was using my eyes to detect the orange text, disable smart, do the mini game thing myself. I rarely miss it :P So if script can Beep and terminate, i can handle it easily :P I always babysit my account :P

  5. #5
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    1,252
    Mentioned
    1 Post(s)
    Quoted
    22 Post(s)

    Default

    Simba Code:
    FINDCOLORTOLERANCE( X, Y, OCOL, MSX1, MSY1, MSX2, MSY2, OTOL)

    Make those co-ords (MCX1, MCY1, MCX2, MCY2) otherwise this will hunt for the colour on the main-screen rather than the chatbox.

  6. #6
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    ^What he said REP +
    Oh Hai Dar

  7. #7
    Join Date
    Mar 2012
    Location
    Color :D
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Umm... You can actually use FindChatboxText

    function FindChatBoxText(Text: string; Line: Integer; TextCol: Integer): Boolean;

    Searches for Text on Line with colour TextCol. True if found.

  8. #8
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    BUN THAT SHIT.
    FINDCOLORSTOLERANCE(TPA,PARAMS)
    RESULT := LENGTH(TPA) > X
    ...

  9. #9
    Join Date
    Nov 2011
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Thanks everyone for the help. I tried with code provided by Main. But it won't work. I figured out it is ordinates, changed MS to MC. Tested for chat text (blue), it worked. I will test with Talent scout next time he calls me :P

  10. #10
    Join Date
    Mar 2012
    Location
    Color :D
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I believe the news of the game announcing players getting their skills to 99 had the same color. Finding just the color wouldn't help?

  11. #11
    Join Date
    Nov 2011
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by CephaXz View Post
    I believe the news of the game announcing players getting their skills to 99 had the same color. Finding just the color wouldn't help?
    News is red color. So it won't be a problem for me. Anyway we can disable this news ?

  12. #12
    Join Date
    Mar 2012
    Location
    Color :D
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ...

  13. #13
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    Just use Cephax his solution
    Working on: Tithe Farmer

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
  •