Results 1 to 3 of 3

Thread: Quick Question

  1. #1
    Join Date
    Nov 2008
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Quick Question

    Hey guys, i've just gotten into SCAR and i like it. So i've decided to make a woodcutting bot. But i got it where i can walk from the bank to the trees and so on. But my question is that i'm having trouble with finding the trees or the color of it. But what is the best way of finding a color and not having it click the wrong thing?, Thanks.

  2. #2
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    Use FindColorSpiralTolerance and use an uptext check like so:

    SCAR Code:
    Const
      YourTreeColor = ;
      Your Tol      = ;
    Function FindTree: Boolean;
    var
      x,y: Integer;
    begin
      if(FindColorSpiralTolerance(x,y,YourTreeColor,msx1,msy1,msx2,msy2,YourTol))then
      begin
        MMouse(x,y,3,3);
        if(IsUpText('ree'))then
        begin
          Result := True;
          Exit;
        end else
        Result := False;
      end;
    end;
    METAL HEAD FOR LIFE!!!

  3. #3
    Join Date
    Nov 2008
    Posts
    202
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    To pick color click the ''Pick Color'' button on scar, top bar Good luck!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Just a quick question? Did I say quick?
    By SeanJohn in forum OSR Help
    Replies: 3
    Last Post: 01-28-2009, 12:03 AM
  2. Quick question
    By GinFoxface in forum OSR Help
    Replies: 2
    Last Post: 04-07-2007, 04:25 AM
  3. Quick Question
    By mage of begu in forum OSR Help
    Replies: 10
    Last Post: 01-12-2007, 10:48 PM

Posting Permissions

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