Results 1 to 4 of 4
  1. #1
    JusCaus's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    725
    Reputation
    23
    Thanks
    112
    My Mood
    Aggressive

    PixelSearch Issues!

    Ok guys.....

    I am having problems with the PixelSearch.

    I have my Coords of the BOX (area i want to search)
    and my coords for where the mouse will click when the color is in the BOX area.....


    The mouse will just click my specified area nonstop, no matter where the color i chose is....

    Here is my code,


    Code:
    $i = 0
    While $i <= 10
      $coord = PixelSearch(840, 243, 877, 595, 0xAE0C3C)
      If Not @error Then
        MouseClick("primary", 793, 670)
      EndIf
     WEnd
    [IMG]https://i1132.photobucke*****m/albums/m571/JusCausGraphix.jpg[/IMG]

  2. #2
    hbananf's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    2
    Maybe you've had this fixed, it has been a while, haha, anyway try this.
    Code:
    $i = 0
    While $i <= 10
      $coord = PixelSearch(840, 243, 877, 595, 11406396)
      If Not @error Then
        MouseClick("primary", 793, 670)
      EndIf
     WEnd

  3. #3
    Skullz420's Avatar
    Join Date
    Mar 2014
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Code:
    $i = 0
    While $i <= 10
      $coord = PixelSearch(840, 243, 877, 595, 0xAE0C3C)
      If Not (at)error Then
        MouseClick("primary", 793, 670)
    	$i=11 ;break out of the while-loop
      EndIf
     WEnd
    Wouldn't let me post with the (at) symbol
    Last edited by Skullz420; 03-03-2014 at 11:50 PM.

  4. #4
    willy14's Avatar
    Join Date
    Feb 2014
    Gender
    male
    Posts
    469
    Reputation
    10
    Thanks
    82
    My Mood
    Inspired
    Add a space at wEnd

Similar Threads

  1. Website network issues
    By Dave84311 in forum News & Announcements
    Replies: 2
    Last Post: 11-30-2007, 11:28 PM
  2. Bulding a hack and got some issue with pointers
    By TheRedEye in forum WarRock - International Hacks
    Replies: 8
    Last Post: 05-16-2007, 04:43 PM
  3. Oengine issue
    By kuriz3n in forum WarRock - International Hacks
    Replies: 1
    Last Post: 04-22-2007, 11:42 AM
  4. Server Issues
    By Dave84311 in forum News & Announcements
    Replies: 1
    Last Post: 03-19-2007, 09:25 AM
  5. CURSE Issue......
    By Beer_Hunter in forum General
    Replies: 8
    Last Post: 09-03-2006, 07:15 PM