Results 1 to 6 of 6

Thread: Help needed

  1. #1
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    133
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help needed

    Line 12: [Error] (14461:20): Invalid number of parameters in script C:\Program Files\SCAR 3.06\Scripts\Runescape\Auto 0.1.scar

    I get this error, when I use Mouse and MMouse.


    SCAR Code:
    program Auto;
    {.include SRL/SRL.scar}

    Const
      User =''; //Type your username here
      Pass =''; //Type your password here
      Say ='Hey, im new, my names HairyDuncan3!'; // What you would like to type

    Procedure Login;
    begin
     Mouse(460,286,true);
     Wait(1000);
     SendKeys(user);
     Wait(1000);
     SendKeys(chr(13));
     Wait(1000);
     SendKeys(pass);
     Wait(1000);
     Mouse(298,320,true);
     Wait(1000);
     Mouse(298,320,true);
     Wait(5000);
     MMouse(375,334);
     Wait(2000);
     Mouse(374,334,true);
    end;

    begin
     SetupSRL;
     Login;
    end.


    Cheers.
    Quote Originally Posted by The Un-Named View Post
    You can do this a few times before mods catch on...

    "oh fuck, I think the icecream truck just knocked a kid over, brb".

  2. #2
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Mouse needs more input, that is what that error means.

    if you read the manual, you will see that Mouse needs
    1. the x
    2. the y
    3. the random abount of x varation allowed
    4. the random abount of y varation allowed
    5. The click boolean for what click to use

    so Mouse(1,2,true); wont work, u need to have

    SCAR Code:
    Mouse(1,2,8,8,true);
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  3. #3
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    133
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by lordgreggreg View Post
    Mouse needs more input, that is what that error means.

    if you read the manual, you will see that Mouse needs
    1. the x
    2. the y
    3. the random abount of x varation allowed
    4. the random abount of y varation allowed
    5. The click boolean for what click to use

    so Mouse(1,2,true); wont work, u need to have

    SCAR Code:
    Mouse(1,2,8,8,true);
    Brilliant, absolute legend, cheers!
    Quote Originally Posted by The Un-Named View Post
    You can do this a few times before mods catch on...

    "oh fuck, I think the icecream truck just knocked a kid over, brb".

  4. #4
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    also, not to burst your buble or anyhting, but srl has already made a MUCH better login procedure, that does quite a few fancy things.

    find a tutorial about setting up the player array, and then it does the rest automatically (as wel as loging out, detecting errors, and all that jazz)

    if you are having a hard time finding a tut, i know that JADs tut on "thinks it takes to be a srl member" has a little bit on it.
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  5. #5
    Join Date
    Aug 2007
    Location
    Australia
    Posts
    133
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by lordgreggreg View Post
    also, not to burst your buble or anyhting, but srl has already made a MUCH better login procedure, that does quite a few fancy things.

    find a tutorial about setting up the player array, and then it does the rest automatically (as wel as loging out, detecting errors, and all that jazz)

    if you are having a hard time finding a tut, i know that JADs tut on "thinks it takes to be a srl member" has a little bit on it.
    Yerp, i'm currently in the process of updating everything I have into SRL format. Thank's a heap for noticing and informing me though! Cya.
    Quote Originally Posted by The Un-Named View Post
    You can do this a few times before mods catch on...

    "oh fuck, I think the icecream truck just knocked a kid over, brb".

  6. #6
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by HairyDuncan2 View Post
    Yerp, i'm currently in the process of updating everything I have into SRL format. Thank's a heap for noticing and informing me though! Cya.
    em, another tip.. if you havnt noticed (its everywhere) srl is down for time being.. it wil be back up this week, so if stuff doent work.. thats jsut because rs changed alot of locatiosn
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. eek. A little help needed:
    By malotthouse in forum OSR Help
    Replies: 4
    Last Post: 02-18-2008, 06:01 PM
  2. Help needed
    By faster789 in forum OSR Help
    Replies: 2
    Last Post: 09-30-2007, 03:11 AM

Posting Permissions

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