Results 1 to 3 of 3

Thread: Need help please.

  1. #1
    Join Date
    Mar 2012
    Posts
    58
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default Need help please.

    Ok so this is my first script, it was working fine but now its messing up.

    Its a superheater.

    Procedure Clicking;
    Begin
    MouseBox( 732, 176, 751, 196, 1);
    AdjustMouseSpeed(1, 7, 9);
    MouseBox( 658, 304, 673, 317, 1);
    Wait(500);
    MouseBox( 567, 251, 587, 274, 1);
    Wait(500);

    Repeat
    AdjustMouseSpeed(1, 7, 9);
    MouseBox( 658, 304, 673, 317, 1);
    Wait(500);
    MouseBox( 567, 251, 587, 274, 1);
    Wait(500);
    inc( r );
    Until( r ) = 4;
    r:=0;
    Wait(1000);
    End;1

    Ok so its clicking the last mouse box twice, It clicks superheat then clicks the ore but clicks one extra time on the last click cause it to click on a different spell.

  2. #2
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    Simba Code:
    Procedure Clicking;
    Begin
    MouseBox( 732, 176, 751, 196, 1);
    AdjustMouseSpeed(1, 7, 9);
    MouseBox( 658, 304, 673, 317, 1);
    Wait(500);
    MouseBox( 567, 251, 587, 274, 1);
    Wait(500);

    Repeat
    AdjustMouseSpeed(1, 7, 9);
    MouseBox( 658, 304, 673, 317, 1);
    Wait(500);
    MouseBox( 567, 251, 587, 274, 1);
    Wait(500);
    inc( r );
    Until( r ) = 4;
    r:=0;
    Wait(1000);
    End;

    Try taking the repeat out.
    Finished B.S. Program in Radiology!!

    Projects: A big one! Total secret! hehe

  3. #3
    Join Date
    Mar 2007
    Posts
    393
    Mentioned
    1 Post(s)
    Quoted
    98 Post(s)

    Default

    Instead of just
    Code:
    Wait(500);
    use wait with some randomness
    Code:
    Wait(500+random(100));

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •