Results 1 to 14 of 14

Thread: Automaticly login

  1. #1
    Join Date
    Jul 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Automaticly login

    Hi, I'm playing and old version of runescape (2006scape) and I'm trying to make my account always log in if the server crashes, as im standing in a spot with aggressive monsters. So as soon as theres an update and server crashes, I need the bot to hit play now then login. Password and username doesnt need to be written in, as it's already saved. Could anyone help me with this please?

  2. #2
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Maybe post a screenshot of the client login screen so we are able to see what the button looks like

    Forum account issues? Please send me a PM

  3. #3
    Join Date
    Jul 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ill get right on that.

  4. #4
    Join Date
    May 2008
    Location
    Mental Hospital
    Posts
    414
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    This should work for you. Might have a few small mistakes in it, I don't have simba on this computer.

    Simba Code:
    function FindLogin: boolean;
    var
      Ax, Ay, ButtonDTM: integer;
    begin
        ButtonDTM := DTMFromString(''); //Add the dtm for the login button.

      if FindDTM(ButtonDTM, Ax, Ay, 0, 0, 0, 0) then //Add the Screen Coordinates.
      begin
        Mouse(Ax, Ay, 1, 1, true);
        SendKeys('username', 100);
        PressKey(28); //Enter key
        SendKeys('password', 100);
        PressKey(28); //Enter key
        Result := True;
      end;
        FreeDTM(ButtonDTM);
    end;

    Simba Code:
    if FindLogin then
        writeln('Logged Back In');
    Last edited by Noob King; 07-12-2012 at 08:17 AM.

  5. #5
    Join Date
    Jul 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  6. #6
    Join Date
    Jul 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  7. #7
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    These aren't even full sized images so they don't help too much, and since it's not even for Runescape not sure how eager people will be to actually help you.

    You should just read up on tutorials in the beginner tutorial section and learn how yourself, it's really not too hard at all.

  8. #8
    Join Date
    Jul 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you can click on zoom in, basically i need to write the coordinates where the window is for it to click, but idk how to find screen coords etc :/

  9. #9
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Clicking zoom brings me to the Upload page.

    Forum account issues? Please send me a PM

  10. #10
    Join Date
    Jul 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ugh, alright. BUt ANy idea how I could find coordinates on the screen? and what is dtm?

  11. #11
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Quote Originally Posted by Ays View Post
    Ugh, alright. BUt ANy idea how I could find coordinates on the screen? and what is dtm?
    When you have Simba open the bottom left.


    The numbers are the coords of the mouse

    Forum account issues? Please send me a PM

  12. #12
    Join Date
    Jul 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Alright, with this function FindLogin: boolean;
    var
    Ax, Ay, ButtonDTM: integer;
    begin
    ButtonDTM := DTMFromString(''); //Add the dtm for the login button.

    if FindDTM(ButtonDTM, Ax, Ay, 0, 0, 0, 0) then //Add The Screen Coordinates.
    begin
    Mouse(Ax,Ay, 459, 289, true);
    SendKeys('username', 100);
    PressKey(28); //Enter key
    SendKeys('password', 100);
    PressKey(28); //Enter key
    Result := True;
    end;
    FreeDTM(ButtonDTM);
    end; Im getting "Unknown identifier"mouse" at line 9. what do i do now? thanks for help everyone btw

  13. #13
    Join Date
    Jul 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    close/remove thread pls

  14. #14
    Join Date
    Jun 2012
    Posts
    2,182
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Uou forgot to include the srl include. Its the red bit at the top of most scripts, im on my phone though, so I cant check what it is.
    Thx Euphemism and Vinyl for the awesome siggy and avatar!

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
  •