Results 1 to 6 of 6

Thread: FindColorTolerance.....

  1. #1
    Join Date
    Jan 2009
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default FindColorTolerance.....

    Hey,

    Straight to the point.....
    Why is FindColorTolerance so inefficient ?
    It never finds the color I'm looking for and not because of the Tolerance.
    FindColor isn't working either.
    It seems that it could only find color 255 on a full Red Screen .

    If anyone has a better way to look for colors and not for RS, and if you feel like sharing...... Your help would be greatly appreciated.

    Thanks!

    Fort Ash
    I was born to cheat on Hero

  2. #2
    Join Date
    Oct 2008
    Location
    behind you!
    Posts
    1,688
    Mentioned
    2 Post(s)
    Quoted
    40 Post(s)

    Default

    try to make an autocolor, then we'll see for further..

    EDIT: btw, make sure you're doing the right Area... like :

    MMX1, MMY1, MMX2, MMY2 for minimap.

    MSX1, MSY1, MSX2, MSY2 for mainscreen.

    MIX1, MIY1, MIX2, MIY2 for inventory.
    Hi

  3. #3
    Join Date
    Jan 2009
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey,

    Can you post any links for tutorials on that?

    Fort Ash
    I was born to cheat on Hero

  4. #4
    Join Date
    Dec 2007
    Location
    Somewhere in Idaho
    Posts
    480
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    In scar++ I used a euclidian based algorithm. I believe that works better then what scar currently uses (abs(red - nRed) > tol, ect)

    The other trick is to just us a different color system all together, IE HSL, or XYZ

  5. #5
    Join Date
    Oct 2008
    Location
    behind you!
    Posts
    1,688
    Mentioned
    2 Post(s)
    Quoted
    40 Post(s)

    Default

    or just use ACA2, but if you wanna learn to script than you better make your own..

    btw you can find aca2 at : .....\SCAR 3.15\Includes\SRL\Scripting Tools
    Hi

  6. #6
    Join Date
    Jan 2009
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey,

    Ok thanks for your time.

    Fort Ash
    I was born to cheat on Hero

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. FindColorTolerance
    By Torrent of Flame in forum OSR Help
    Replies: 8
    Last Post: 02-23-2008, 04:13 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
  •