Results 1 to 9 of 9

Thread: Finding colors

  1. #1
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default Finding colors

    hi sorry i'm new at this, could someone tell me how to make a basic script, only one that will make my mouse find a color on the screen then click it?

    -Thanks

  2. #2
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by cycrosism View Post
    hi sorry i'm new at this, could someone tell me how to make a basic script, only one that will make my mouse find a color on the screen then click it?

    -Thanks
    Welcome to SRL!

    Look at the scar Manuel and type Ctrl + F and type in findcolor then read at the functions and procedures.

    read some tutorials on srl about mouse moving and clicking.

    Mouse(x,y,0,0,true) will move the mouse to x, y and click left or right click.
    True = left click
    false = right click

    0,0 is the randomness in x,y

  3. #3
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    yes i know about MoveMouseSmooth, MoveMouse ClickMouse Wait and those basic things but i want to make it click on a certain color

  4. #4
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by cycrosism View Post
    yes i know about MoveMouseSmooth, MoveMouse ClickMouse Wait and those basic things but i want to make it click on a certain color
    Look up some tutorials man.

  5. #5
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    i don't understand them all scar is extremely difficult to use all i am asking is for a line or something that will click on a certain color its not that much of an ask. yes i know how to find colors using the color dibber but i don't know how to make it click the color that's why i posted in Scripting Help

  6. #6
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    no one's helping me? thats a shame

  7. #7
    Join Date
    Jul 2007
    Location
    's-Gravenpolder, Holland
    Posts
    204
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You can use

    FindColor
    FindColorTolerance
    FindColorSpiralTolerance

    And many more.
    Look these up in the SRL Manual (Help -> SRL Manual)

    Good Luck

  8. #8
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Here, Its nice to actually post one line instead of writing a paragraph, of what it is....

    SCAR Code:
    If FindColorTolerance(x, y, {color here}, {co-ords here}, 10) Then
      Mouse(x, y, 3, 4, True);

    Obviously x, y must be vars.

  9. #9
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    nvm i got it but thank's for the help

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need help with finding goblin colors!!!
    By synchyas in forum OSR Help
    Replies: 5
    Last Post: 04-05-2008, 04:15 PM
  2. Finding Multiple Tree Colors
    By tigerskall in forum OSR Help
    Replies: 11
    Last Post: 11-18-2007, 07:04 AM
  3. Finding monster colors...
    By supersayian2224 in forum OSR Help
    Replies: 6
    Last Post: 11-17-2007, 08:58 PM
  4. Replies: 2
    Last Post: 09-04-2007, 09:49 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
  •