Results 1 to 3 of 3

Thread: help needed

  1. #1
    Join Date
    Oct 2007
    Location
    ~Australia~
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    help needed

    SCAR Code:
    //Please do not post this script without my permission
     //Autotype with Login Created by elite_h4x
     //special thanks to Hobbit for helping me with this script
    program thename;
    {.include SRL/SRL.scar}
     const TheMessage='ddd';//This is the message u want it to say
      HowManyMsgs=2;          //This is how many times u want it to say. it set-1 for unlimited
        Username='pure might12'; //the name of the acc ur using
        Password='****';     //the password
    var
    x:Integer;

    begin        //This is the login precedure
    MoveMouseSmoothEx(445,289,20,40,45,25,20);
    wait(100+random(250));
    ClickMouse(445,289,true);
    wait(200+random(200));
    typesend (Username);
    typesend (Password);
    MoveMouseSmoothEx(299,319,20,40,45,25,20);
    ClickMouse(299,319,true);
    wait(4000+random(500));
    MoveMouseSmoothEx(381,333,20,40,45,25,20);
    ClickMouse(381,333,true);
    wait(2000+random(2000));

    begin
    x:=0;

    begin // the beauty of the untill loop
    repeat
    wait(1000+random(750));
    typesend (TheMessage);
    wait(250+random(250));
    x:= x + 1;
    until(x >= (HowManyMsgs))
    end;
    end;
    end.

    i am making a script auto login with auto talker i have allmost finshed this script but i need to know how would i be able to to have the option if u want autologin=true or false so they could use both features or jsut the auto talker feature any help would be greatly appreciated
    Getting to 99 wcing

  2. #2
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    well you'll have to learn about procedures and functions,
    and it would look a bit like this:

    SCAR Code:
    const
      Login = True;

    procedure LoginThePlayer;
    begin
      MoveMouseSmoothEx(445,289,20,40,45,25,20);
      wait(100+random(250));
      ClickMouse(445,289,true);
      wait(200+random(200));
      typesend (Username);
      typesend (Password);
      MoveMouseSmoothEx(299,319,20,40,45,25,20);
      ClickMouse(299,319,true);
      wait(4000+random(500));
      MoveMouseSmoothEx(381,333,20,40,45,25,20);
      ClickMouse(381,333,true);
      wait(2000+random(2000));
    end;

    begin //mainloop
    if (Login) then LoginThePlayer;
    ....
    end.

    btw you should include srl.scar and use MMouse instead of MoveMouseSmoothEx and Mouse instead of ClickMouse because the scar mouse functions are detectable.

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  3. #3
    Join Date
    Oct 2007
    Location
    ~Australia~
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks for the advice ill try to fix up the mouse functions asap
    Getting to 99 wcing

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
  •