Results 1 to 9 of 9

Thread: FindColorTolerance

  1. #1
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default FindColorTolerance

    Code:
    until (FindColorTolerance(x, y, WillowColour, , , , ,
    Where do I get the 4 co-ordinates for the ColorTolerance?
    Jus' Lurkin'

  2. #2
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Those coordinates are the sections of the screen area you want to search.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  3. #3
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    How do I get them though
    Jus' Lurkin'

  4. #4
    Join Date
    Jun 2007
    Location
    Ohio
    Posts
    341
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    what you do is you drag use the colorpicker, and when you click on a part it will give you the coords of that part of the screen. so if you wanted to find that color only in the inventory, you would colorpick the top left corner of the inventory and the bottom right corner. Then it will only find the color within those coordinates

  5. #5
    Join Date
    Feb 2007
    Location
    EST (US East Coast)
    Posts
    250
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    MSX1, MSY1, MSX2, MSY2 - the 2 points of the main screen
    MMX1, MMY1, MMX2, MMY2 - the 2 points of the minimap
    MIX1, MIY1, MIX2, MIY2 - the 2 points of the inventory

    If you want to search a specific part of those, just pick the window with scar then use the color picker. It will say "Color Picked: 16049375 at (600, 50)". Those in the parentheses are your coordinates.
    Temporarily inactive.

  6. #6
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    Thanks
    Jus' Lurkin'

  7. #7
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    So say Im looking for a willow tree, where do I take the coordinates from?
    Jus' Lurkin'

  8. #8
    Join Date
    Feb 2007
    Location
    EST (US East Coast)
    Posts
    250
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    FindColorTolerance(x, y, color, msx1, msy1, msx2, msy2);
    Temporarily inactive.

  9. #9
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    Thank you again
    Jus' Lurkin'

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. FindColorTolerance.....
    By FortAsh in forum OSR Help
    Replies: 5
    Last Post: 01-29-2009, 06:40 PM
  2. FindColorTolerance
    By sjlou in forum OSR Help
    Replies: 7
    Last Post: 09-16-2007, 08:31 PM
  3. FindColorTolerance
    By Kingofptw in forum OSR Help
    Replies: 7
    Last Post: 03-24-2007, 08:12 AM

Posting Permissions

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