Results 1 to 7 of 7

Thread: FindColor Last 4 numbers help! How to find the box?

  1. #1
    Join Date
    May 2007
    Posts
    32
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default FindColor Last 4 numbers help! How to find the box?

    When you are using the Scar Command "FindColor(x,y,Color,?,?,?,?);", how would you find the box coordinates? I know what the numbers mean (first 2 are top left, last 2 are bottom right). But how would I get the numbers, like for the Runescape screen?

    ~MacroHawk

  2. #2
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    with the color picker if i understood right?

    Color Picked: 16777215 at ---> (142, 136) <---

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  3. #3
    Join Date
    May 2007
    Posts
    32
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Those are the coordinates of the color picked. The one I am looking for is this:
    If (FindColor(x,y,MonsterColor,0,0,100,100)) Then
    The last for numbers are where Scar will search for, for the colors.

  4. #4
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    First drag the crosshair to the RS screen then do what Jukka told you.
    There are also some global coords, like MSX1, MSY1, MSX2, MSY2 (for the MainScreen from RS).


    EDIT: Is this what you mean?

    x1,y1...........
    ..................
    ..................
    ..................
    ..........x2, y2
    Hup Holland Hup!

  5. #5
    Join Date
    May 2007
    Posts
    32
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ya thats what I mean:
    x1,y1...........
    ..................
    ..................
    ..................
    ..........x2, y2
    How would you find/get the coordinates? Is there a built in tool in Scar or something?

  6. #6
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Drag the crosshair to the RS window and look at the most down-left corner. Keep your mouse at a specific point and you see the x and y of the point. Do this for the UpperLeft corner of your box and your Down-Right corner. Then you can fill it in.
    Hup Holland Hup!

  7. #7
    Join Date
    May 2007
    Posts
    32
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh, Thanx Nielsie95! Didn't think of that :P

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 10
    Last Post: 05-17-2009, 10:23 PM
  2. How to get numbers???
    By RusinaRange in forum OSR Help
    Replies: 1
    Last Post: 12-05-2007, 01:29 PM
  3. Need help with If not FindColor
    By philowns in forum OSR Help
    Replies: 3
    Last Post: 08-01-2007, 03:36 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
  •