Results 1 to 5 of 5

Thread: Find Color Closet to Center Point?

  1. #1
    Join Date
    Jul 2008
    Posts
    79
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Find Color Closet to Center Point?

    Is there a possible way to declare a focal point and have an auto color finder click the color that is closet to that focal point? Otherwise it isn't very officiant for one (in the morning when I woke up I didn't get much done). And two, If it starts from top left and finds a color to the bottom right I will continuously be moving upwards until I'm no longer in reach of most of the monsters I am trying to kill, and I'll only get a monster every so often. From the looks of it, what I could have done in 30 min was accomplished last night for the last 10 hours ^^

  2. #2
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    FindColorSPIRAL or FindColorSpiralTolerance and that shit
    ~Hermen

  3. #3
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Yep, if you use Spiral functions, it begins the search from whatever value you set x and y to, and searches outwards.

    So, if you wanted to search from the center of the mainscreen it would look something like this..

    x:=MSCX;
    y:=MSCY;
    if FindColorSpiralTolerance(x,y,Color,MSX1,MSY1,MSX2, MSY2,10) then MMouse(x,y,2,2);


  4. #4
    Join Date
    Jul 2008
    Posts
    79
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Works much better! Now I need to find out how to get rid of the images for dead bunnies because I keep on clicking dead ones ^^

    Thank you

  5. #5
    Join Date
    Feb 2007
    Location
    @ SRL
    Posts
    402
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by groog View Post
    Works much better! Now I need to find out how to get rid of the images for dead bunnies because I keep on clicking dead ones ^^

    Thank you


    No offence, but what sort of game is this?!?
    Who in there right mind would want to sit there and click on bunny's to kill them all day?? seriously.. lol
    The game has an unexplainable attraction that convinces the player they are having fun, despite the fact that all they are doing is performing repetitive tasks to increase their statistics. "The game is actually a graphical nightmare and its gameplay is simple at best. Yet something, perhaps by subliminal means, forces the player - against his will - to play the game, and to believe that they are having fun".

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 02-20-2009, 11:44 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
  •