Problem on Colorsearching 2 things.

Discussion in 'Scar/Simba Help' started by zenmai, Nov 4, 2009.

Problem on Colorsearching 2 things.
  1. Unread #1 - Nov 4, 2009 at 7:19 AM
  2. zenmai
    Joined:
    Mar 9, 2008
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0

    zenmai Newcomer

    Problem on Colorsearching 2 things.

    My code got no errors, bugs, but i cant get past the first place to click on a color and for my macro to work i need it to do an serie of that, it stops after the end begin sequence, but ive did alot of searching on the web and trying to figure out how to solve it but nothing matches my search, well what do i need to do? why does it stop after the first click?

    It basically stops after the first end; - why ? i need to know please.

    if (FindColor(x, y, 6316535, 0, 225, 373, 285)) then
    begin
    MoveMouse(x, y);
    clickmouse(x, y, True);
    Wait(1000);
    Lit := True;
    end;
    //Enter first battle
    if (FindColor(x, y, 3160008, 0, 225, 224, 220)) then
    begin
    MoveMouse(x, y);
    clickmouse(x, y, True);
    Wait(2000);
    Lit := True;
    end;
     
  3. Unread #2 - Dec 5, 2009 at 11:19 PM
  4. Belgin_Fish
    Joined:
    Dec 9, 2008
    Posts:
    50
    Referrals:
    0
    Sythe Gold:
    0

    Belgin_Fish Member

    Problem on Colorsearching 2 things.

    Don't use ClickMouse use Mouse(x, y, Randomx, Randomy, Leftclick?)


    It ends after the first end because it cant find the color in the area you specified
     
  5. Unread #3 - Dec 9, 2009 at 10:03 AM
  6. radiclerobby
    Joined:
    Mar 9, 2008
    Posts:
    720
    Referrals:
    0
    Sythe Gold:
    0

    radiclerobby Apprentice
    Banned

    Problem on Colorsearching 2 things.

    i beleve it ends because there is no repeat in there :)
     
< Farmville Hay Bale Script Mouse Location Problem | Problem with color detection on Vista? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site