Results 1 to 5 of 5
  1. #1
    meyer74's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    121
    Reputation
    10
    Thanks
    1,209

    Smile RoTMG - Login Script AHK

    Tired of logging into your account when you have a HUGE PASSWORD!? I am. My password is about 70 letters and 10 numbers. So I Created this nice and easy script :)

    HOW TO USE

    1. Change the EMAIL HERE to your E-mail
    2. Change the PASSWORD HERE to your Password
    3. Open your game and then type in email and press tab. Once you have pressed tab, it replaced email with your password.
    4. type password and press enter. Once you've pressed enter, it will have replaced password with your password, and you will login!

    Please tell me what you think about my work :)

    #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
    SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
    SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.


    SetKeyDelay 0
    SetMouseDelay 0
    SetTitleMatchMode 2
    SetNumLockState, On

    GroupAdd rotmg, Realm of the Mad God
    GroupAdd rotmg, realmofthemadgod
    GroupAdd rotmg, AGCLoader
    GroupAdd rotmg, Play Realm of the Mad God
    GroupAdd rotmg, Adobe Flash Player 10
    GroupAdd rotmg, Adobe Flash Player 11
    GroupAdd rotmg, Adobe Flash Player 12
    GroupAdd rotmg, Adobe Flash Player 13
    GroupAdd rotmg, Adobe Flash Player 14
    GroupAdd rotmg, Adobe Flash Player 15


    Suspend on

    WinNotActive()

    WinActive()
    {
    Suspend Off
    WinWaitNotActive ahk_group rotmg
    {
    WinNotActive()
    }
    }
    WinNotActive()
    {
    Suspend on
    WinWaitActive ahk_group rotmg
    {
    WinActive()
    }
    }

    ; E-Mail
    ::email:EMAIL HERE
    MsgBox You typed "Email".
    return

    ; password
    ::password::PASSWORD HERE
    MsgBox You typed "password".


    ; sends clipboard to the chat using the enter key.
    ek:
    Blockinput, on
    Send {Enter}
    Send ^v
    Send {Enter}
    Blockinput, off
    Return
    Last edited by meyer74; 07-18-2014 at 02:32 PM.

  2. #2
    CrazyJani's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    2,475
    Reputation
    170
    Thanks
    15,666
    Quote Originally Posted by meyer74 View Post
    MsgBox You typed "Email".
    MsgBox You typed "password".
    Why are these there? That just slows you down when you're trying to login
    Quote Originally Posted by meyer74 View Post
    ; sends clipboard to the chat using the enter key.
    ek:
    Blockinput, on
    Send {Enter}
    Send ^v
    Send {Enter}
    Blockinput, off
    Return
    Why is this there?
    Quote Originally Posted by meyer74 View Post
    GroupAdd rotmg, Adobe Flash Player 10
    GroupAdd rotmg, Adobe Flash Player 11
    GroupAdd rotmg, Adobe Flash Player 12
    GroupAdd rotmg, Adobe Flash Player 13
    GroupAdd rotmg, Adobe Flash Player 14
    GroupAdd rotmg, Adobe Flash Player 15
    Why not to just shorten all this to:
    Code:
    GroupAdd rotmg, Adobe Flash Player 1
    It will work
    Quote Originally Posted by meyer74 View Post
    My password is about 70 letters and 10 numbers.
    I bet this thread was made to brag about how long passwords csnano the memory master can remember

    Also wouldn't it be smarter to shorten the word "password" to just "pass" for less typing?

    Edit:
    I decided to actually fix the script:
    Code:
    SetTitleMatchMode 2
    
    Suspend on
    GroupAdd rotmg, Realm of the Mad God
    GroupAdd rotmg, realmofthemadgod
    GroupAdd rotmg, AGCLoader
    GroupAdd rotmg, Play Realm of the Mad God
    GroupAdd rotmg, Adobe Flash Player 1
    WinNotActive()
    
    WinActive()
    {
    Suspend Off
    WinWaitNotActive ahk_group rotmg
    {
    WinNotActive()
    }
    }
    WinNotActive()
    {
    Suspend on
    WinWaitActive ahk_group rotmg
    {
    WinActive()
    }
    }
    
    ::email::EMAIL HERE
    return
    
    ::pass::PASSWORD HERE
    return
    Last edited by CrazyJani; 07-18-2014 at 03:36 PM.

  3. The Following 2 Users Say Thank You to CrazyJani For This Useful Post:

    Daenerys (07-22-2014),meyer74 (07-18-2014)

  4. #3
    meyer74's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    121
    Reputation
    10
    Thanks
    1,209
    Quote Originally Posted by CrazyJani View Post
    Why are these there? That just slows you down when you're trying to login

    Why is this there?

    Why not to just shorten all this to:
    Code:
    GroupAdd rotmg, Adobe Flash Player 1
    It will work

    I bet this thread was made to brag about how long passwords csnano the memory master can remember

    Also wouldn't it be smarter to shorten the word "password" to just "pass" for less typing?

    Edit:
    I decided to actually fix the script:
    Code:
    SetTitleMatchMode 2
    
    Suspend on
    GroupAdd rotmg, Realm of the Mad God
    GroupAdd rotmg, realmofthemadgod
    GroupAdd rotmg, AGCLoader
    GroupAdd rotmg, Play Realm of the Mad God
    GroupAdd rotmg, Adobe Flash Player 1
    WinNotActive()
    
    WinActive()
    {
    Suspend Off
    WinWaitNotActive ahk_group rotmg
    {
    WinNotActive()
    }
    }
    WinNotActive()
    {
    Suspend on
    WinWaitActive ahk_group rotmg
    {
    WinActive()
    }
    }
    
    ::email::EMAIL HERE
    return
    
    ::pass::PASSWORD HERE
    return
    Suspend on
    GroupAdd rotmg, Realm of the Mad God
    GroupAdd rotmg, realmofthemadgod
    GroupAdd rotmg, AGCLoader
    GroupAdd rotmg, Play Realm of the Mad God
    GroupAdd rotmg, Adobe Flash Player 1
    WinNotActive()

    I just though you had to add every version of adobe :P

    WE both know you are smarter than me, btw thanks for making it shorter

    People will get use of this. IF they think it's annoying to type a huge password

  5. #4
    lolpot132's Avatar
    Join Date
    Sep 2012
    Gender
    female
    Posts
    361
    Reputation
    74
    Thanks
    5,376
    EDIT: whatever.
    Last edited by lolpot132; 07-18-2014 at 05:44 PM.

  6. #5
    ninjalone's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    0
    I just added this to the end of realmscript:

    ^F9::
    Send email1{Tab}password1{Enter}
    Return

    ^F10::
    Send email2{Tab}password2{Enter}
    Return
    You just have to click on the email box and press CTRL-F9 or CTRL-F10 to log in
    Last edited by ninjalone; 07-18-2014 at 08:21 PM.

Similar Threads

  1. AHK login script (non fullscreen only....)
    By dg123 in forum Realm of the Mad God Tutorials & Source Code
    Replies: 5
    Last Post: 07-19-2013, 10:11 PM
  2. [Source Code] [AU3] RotMG Login script
    By liquidgalaxy in forum Realm of the Mad God Hacks & Cheats
    Replies: 1
    Last Post: 12-04-2012, 11:04 AM
  3. [Request] Please Upload Cf orginal login script
    By HaxPro in forum CrossFire Mods & Rez Modding
    Replies: 1
    Last Post: 07-24-2010, 10:35 PM
  4. [Help]login script
    By axg24 in forum CrossFire Help
    Replies: 7
    Last Post: 06-09-2010, 07:22 AM
  5. MPGH Login Script(Help)
    By ShadowPwnz in forum Visual Basic Programming
    Replies: 7
    Last Post: 02-21-2010, 08:16 AM

Tags for this Thread