Results 1 to 7 of 7

Thread: Auto Type Help

  1. #1
    Join Date
    Jan 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Unhappy Auto Type Help

    The Script Will Run Then Say Done But Wont Type In My Login.
    Please Help Me, Im New To Scripting So Any Pointers Would Be Helpful
    Thank You.

    Program Login;

    Const
    Account ='Account';
    Password ='Password';
    Speed = 500;

    Procedure Login;
    Begin
    Clickmouse(114, 374,True) //Start Button
    Wait(Speed)
    SendKeysSilent(Account);//Login
    Wait(50)

    Keydown(9)//Tab Key
    Wait(50)
    Keyup(9)

    Wait(Speed)
    SendKeysSilent(Password);//Password
    Wait(50)

    Keydown(13)//Enter
    Wait(50)
    Keyup(13)

    Clickmouse(540, 140,True)// Login
    End;


    Begin
    Login;
    End.

  2. #2
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Simba Code:
    program New;
    {$DEFINE SMART}
    {$i SRL\SRL.scar}
    {$i Reflection\Reflection.Simba}


    const
      S_Mems = True;    //Members?
      S_World = 38;     //Smart world
      S_Signed = True;  //Signed client?


    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

      with Players[0] do
      begin
        Name := ''; //username
        Pass := ''; //password
        Nick := '';
        Pin := '';
        Active := True;
      end;
    end;


    procedure MainLoop;
    begin
      Smart_Members := S_Mems;
      Smart_Server := S_World;
      Smart_Signed := S_Signed;
      Smart_SuperDetail := False;
      SetupSRL;
      SetupReflectionEx(True);
      DeclarePlayers;

      LoginPlayer;
      repeat
        repeat
        until(not(LoggedIn));
      until(AllPlayersInactive);
    end;


    begin
      MainLoop;
    end.

  3. #3
    Join Date
    Jan 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Scar

    Im actually Using Scar, im not sure what simba is, And I Wanted Help Learning, I Didnt want a script. i needed help with mine please.

  4. #4
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Simba is SRL's primary scripting tool now. We highly suggest you switch over. There is nothing really different about the coding way at all and it looks much better in appearance. It is also open source!

    Also, you should definately try using SRL's include for your script. It includes a function to login your character (Which TomTuff pointed out to you in his script example, in a longer way; Including reflection and such which you don't have to include if you don't want to.

    For your script itself, try putting "ActivateClient" in your "Login" procedure after selecting the RuneScape client with the crosshair tool.

    To learn how to set Simba and SRL up, go here: http://villavu.com/forum/showthread.php?t=47714

  5. #5
    Join Date
    Jan 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I dont actually play RuneScape :O

    so for my script i put
    Begin
    Findwindowtitlepart('My window', False)
    Activateclient;
    End;

    its still isent typing anything

  6. #6
    Join Date
    Dec 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Dont use sendkeyssilent, use sendkeys.

  7. #7
    Join Date
    Jan 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Train View Post
    Dont use sendkeyssilent, use sendkeys.
    Still isent typing :/

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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