Results 1 to 8 of 8

Thread: FindColorTolerance

  1. #1
    Join Date
    Mar 2007
    Posts
    195
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default FindColorTolerance

    Can someone tell me what are the numbers in BOLD

    [H](FindColorTolerance(x,y,13222597,2,70,515,178,5)[/H]

    Note:This is to find a bank booth
    Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
    http://www.fenjer.com/adnan/SRLStats/348.png

  2. #2
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kingofptw View Post
    Can someone tell me what are the numbers in BOLD

    [H](FindColorTolerance(x,y,13222597,2,70,515,178,5)[/H]

    Note:This is to find a bank booth
    The 2,70 are the top left part of an invisible coordinates box for the script to look for the color in, then the 515,178 are the bottom right coordinates of the box. the 5 is the tolerance.

  3. #3
    Join Date
    Mar 2007
    Posts
    195
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok....And wheres that invisible box,i don't know it's height lol
    Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
    http://www.fenjer.com/adnan/SRLStats/348.png

  4. #4
    Join Date
    Feb 2007
    Posts
    215
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    the box isn't there, they are just the bounds of the area in which the computer searches for the color.

    here is a picture:
    A common mistake people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.
    -Douglas Adams

  5. #5
    Join Date
    Mar 2007
    Posts
    195
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ???

    I know theres a area,i call it a box...I asked how do i calculate where the box will be when i set it...

    I would want to know the size to cover:

    1.Minimap
    2.Inventory
    3.Game screen
    Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
    http://www.fenjer.com/adnan/SRLStats/348.png

  6. #6
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kingofptw View Post
    ???

    I know theres a area,i call it a box...I asked how do i calculate where the box will be when i set it...

    I would want to know the size to cover:

    1.Minimap
    2.Inventory
    3.Game screen
    1. MMX1,MMY1,MMX2,MMY2
    2. MIX1,MIY1,MIX2,MIY2
    3. MCX1,MCY1,MCX2,MCY2

    These works like x1,y1,x2,y2 you must have SRL included in your script if you are going to use these.

    You can see coordinates by your self from SCAR too. Hit CTRL + P and click the place where you want to get coordinates and then look at SCAR's debug screen.

  7. #7
    Join Date
    Mar 2007
    Posts
    195
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    So for example i wanna take the minimap,it will be something like

    SCAR Code:
    FindColorTolerance(x,y,13222597,MMX1,MMY1,MMX2,MMY2
    ,5)
    Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
    http://www.fenjer.com/adnan/SRLStats/348.png

  8. #8
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kingofptw View Post
    So for example i wanna take the minimap,it will be something like

    SCAR Code:
    FindColorTolerance(x,y,13222597,MMX1,MMY1,MMX2,MMY2
    ,5)
    Thats right! You'll do it like that.

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 Torrent of Flame in forum OSR Help
    Replies: 8
    Last Post: 02-23-2008, 04:13 PM
  3. FindColorTolerance
    By sjlou in forum OSR Help
    Replies: 7
    Last Post: 09-16-2007, 08:31 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
  •