Results 1 to 6 of 6

Thread: Mscy, mscx..

  1. #1
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Mscy, mscx..

    I'm getting myself confused with making a simple rectangle, where it can find a color with findcolortolerance.

    Here's the line:
    SCAR Code:
    FindColorTolerance(x, y, 1073280, MSCX +/- ?, MSCY +/- ?, MSCY +/- ?, MSCY +/- ?, 25)

    Here's how large i want to box to be:


    Can someone make me the dimensions for that?

  2. #2
    Join Date
    Dec 2007
    Location
    192.168.1.73
    Posts
    2,439
    Mentioned
    6 Post(s)
    Quoted
    119 Post(s)

    Default

    Just capture the client and find the coords, MSCX and Y probably won't help you much with that.

    But to me that looks to be about 150, 100, 250, 125 (approx.)

  3. #3
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Simply..

    SCAR Code:
    FindColorTolerance(x, y, 1073280, MSCX-60 , MSCY-40, MSCY+60, MSCY+40, 25)

    Damn you richard ^^

  4. #4
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    put
    x := MSCX;
    y := MSCY;
    before FindColorsTolerance...
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  5. #5
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    put
    x := MSCX;
    y := MSCY;
    before FindColorsTolerance...
    Explain why?

    I see no reason for that..

  6. #6
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by N1ke! View Post
    Explain why?

    I see no reason for that..
    Sorry I thought he was using FindColorSSpiral :<
    Sorry.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

Thread Information

Users Browsing this Thread

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

Posting Permissions

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