Adblock breaks this site

Need major help

Discussion in 'Scar/Simba Help' started by jt_bates1, Dec 27, 2007.

  1. jt_bates1

    jt_bates1 Guest

    Referrals:
    0
    Need major help

    ok so im making my 1st script. been working on it for 2 days now and I need some help. I am trying to make my script repeat its clicking in a certain spot for a game.
    but It only repeats 3 times and then it goes off to the start button and starts clicking that.

    can someone please fix this for me. Ivve been working on it for like 3 hours with no sucuss.

    here is the script

    thanks for your help =)

    HTML:
    program New;
    var
      X, Y: Integer;
    begin
      if (FindColor(X, Y, 0, 614, 460, 656, 473)) then
      begin
      repeat
        MoveMouse(X, Y);
        ClickMouse(X, Y, True);
        Wait(6000);
       until(false)
        end
    else
        WriteLn('We could not find the color!');
    end.
     
  2. Gumleren

    Gumleren Guest

    Referrals:
    0
    Need major help

    Sounds strange. Have you selected the appropriate window for the game?
    And are you sure that the 6000 ms wait is enough? Perhabs trying a different color as is seems that the script finds the same color on the start button.
     
  3. Town

    Town Grand Master
    Scar Programmers

    Joined:
    Jan 21, 2007
    Posts:
    3,776
    Referrals:
    3
    Sythe Gold:
    5
    Need major help

    The script only finds the color once, after that it just continues clicking the point where the color was every 6 seconds. There's no reason why it wouldn't work as far as I know.
     
  4. jt_bates1

    jt_bates1 Guest

    Referrals:
    0
    Need major help

    @gumleren- I selected the right window. because it worked but only for about 3-4 times. and some times it clicks on the x button, or the start button, or the bottom right hand of the screen. and I also thought about the time and put the time at 7000ms and it still didint work. and since I set up the x1,x2,y1.and y2 coordinates it should stay the color in the coordinates

    @town- do you think you could test it for me???
    it is on this site.
    http://www.tornfaun.net/
    but you have to play the game one time before you start the script because that will get it to the right page.
     
< Scar - SRL Script Help | Failed when compiling? >


 
 
Adblock breaks this site