small error?

Discussion in 'Scar/Simba Help' started by strongman, Sep 28, 2007.

small error?
  1. Unread #1 - Sep 28, 2007 at 9:07 PM
  2. strongman
    Joined:
    Apr 9, 2007
    Posts:
    94
    Referrals:
    0
    Sythe Gold:
    0

    strongman Member

    small error?

    what is the error?

    procedure check;

    begin
    wait(100)
    mmouse(1271, 344)
    wait(100 + Random(50));
    holdmouse(1271, 344, true)
    wait(100)
    mmouse(1271, 537)
    wait(100)
    releasemouse(1271, 537, true)
    wait(100)
    end;

    Line 19: [Error] (14700:18): Invalid number of parameters in script
     
  3. Unread #2 - Sep 28, 2007 at 9:35 PM
  4. WillowZ
    Joined:
    Sep 24, 2007
    Posts:
    82
    Referrals:
    0
    Sythe Gold:
    0

    WillowZ Member

    small error?

    There are only 11 Lines.

    And ur Error is for Line 19
     
  5. Unread #3 - Sep 28, 2007 at 9:35 PM
  6. Town
    Joined:
    Jan 21, 2007
    Posts:
    3,776
    Referrals:
    3
    Sythe Gold:
    5

    Town Grand Master
    Scar Programmers

    small error?

    mmouse(1271, 344, RandomX, RandomY)

    Add the random coordinates to move the mouse to, it will be randomly added or subtracting by the X or Y coordinate you chose.

    Add random waits, like Wait(100 + Random(50)).
     
  7. Unread #4 - Sep 28, 2007 at 10:02 PM
  8. strongman
    Joined:
    Apr 9, 2007
    Posts:
    94
    Referrals:
    0
    Sythe Gold:
    0

    strongman Member

    small error?

    TOWN dude i admire you mann.. thank u!

    p.s if there was anything such as voting for u i wud vote for u like 8mil times lol
     
  9. Unread #5 - Sep 28, 2007 at 10:11 PM
  10. strongman
    Joined:
    Apr 9, 2007
    Posts:
    94
    Referrals:
    0
    Sythe Gold:
    0

    strongman Member

    small error?

    procedure check;
    begin
    wait(100);
    mmouse(1271, 344, 1, 1);
    wait(100 + Random(50));
    holdmouse(1271, 344, 1, 1, true);
    wait(100 + Random(50)
    mmouse(1271, 537, 1, 1);
    wait(100 + Random(50)
    releasemouse(1271, 537, 1, 1, true);
    wait(100 + Random(50)
    end;


    this is what i got and it still gives me an error

    Line 21: [Error] (14702:33): Invalid number of parameters in script C:\Program Files\SCAR 3.12\Scripts\oficial death and choas buyer.scar
     
< SRL includes help | (boolean = true) >

Users viewing this thread
1 guest


 
 
Adblock breaks this site