Results 1 to 8 of 8

Thread: Find color from centre of MM?

  1. #1
    Join Date
    Oct 2007
    Location
    uuuuuuuu
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Find color from centre of MM?

    Whats the command again to search for a color starting in the center of the minimap then spiraling outwards?

    Thank you in advance.

    P.S. I did use search.

  2. #2
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    FindColorSpiral, FindColorSpiralTolerance, FindColorsSpiral, and FindColorsSpiralTolerance are what you're looking for.

    EDIT: Just make sure you specify MMCX, MMCY as your x and y variables in the function parameters.
    :-)

  3. #3
    Join Date
    Jul 2007
    Location
    Massachusetts
    Posts
    896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    rotfl, i was thinking of editing radial walk (thats what i did for my swamp tar collector)

    I feed really stupid.....

  4. #4
    Join Date
    Aug 2007
    Posts
    429
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Metho D View Post
    FindColorSpiral, FindColorSpiralTolerance, FindColorsSpiral, and FindColorsSpiralTolerance are what you're looking for.
    Yes. Then just use the minimap coords(MMX1, MMY1, MMX2, MMY2).

    EX.

    SCAR Code:
    if FindColorSpiralTolerance(x, y, 214, MMX1, MMY1, MMX2, MMY2, 5) then MMouse(x, y, 5, 5);

  5. #5
    Join Date
    Nov 2007
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol this might b a noob question but wat is a mm ive always wounderd wat it was?

  6. #6
    Join Date
    Nov 2007
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    because people are always say like mm and its realli anoing if u dont kno wat it means u kno wat im talking about and they always walk away and say noob to me =(

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

    Default

    mm = mini map
    ms = main screen
    mi = main inventory
    mc = main chat
    etc etc

    SCAR Code:
    Function FindColorMM(Color: Integer): Boolean;
    Begin
      X := MMCX;
      Y := MMCY;
      Result := FindColorSpiral(X, Y, Color, MMX1, MMY1, MMX2, MMY2);
    End;

    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!

  8. #8
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    What the? Why would you do it like that?

    SCAR Code:
    Function FindColorMM(Color: Integer): Boolean;
    Begin
      Result := FindColorSpiral(MMCX, MMCY, Color, MMX1, MMY1, MMX2, MMY2);
    End;
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. find color but NOT in a specified box..
    By fre in forum OSR Help
    Replies: 5
    Last Post: 07-10-2008, 03:10 PM
  2. how can i find the color?
    By soul extange in forum OSR Help
    Replies: 1
    Last Post: 03-22-2008, 03:14 AM
  3. Replies: 5
    Last Post: 07-31-2007, 07:23 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
  •