infomation:well its basicly to add when you press enter when on the password entry, it will log you in, like on runescape.
Client type: Renamed
requirements: Maybe a little java experience.
Base: Moparisthebest's AllDummy'sRemoved
step 1:
Open client.java, search for:
Code:
private void processLoginScreenInput()
step 2:
Now find:
Code:
if(loginScreenCursorPos == 1)
yours will prob look like this:
Code:
if(loginScreenCursorPos == 1)
{
if(l1 == 8 && myPassword.length() > 0)
myPassword = myPassword.substring(0, myPassword.length() - 1);
if(l1 == 9 || l1 == 10 || l1 == 13)
loginScreenCursorPos = 0;
if(flag1)
myPassword += (char)l1;
if(myPassword.length() > 20)
myPassword = myPassword.substring(0, 20);
}
step 3:
Change it to:
Code:
if(loginScreenCursorPos == 1)
{
if(l1 == 8 && myPassword.length() > 0)
myPassword = myPassword.substring(0, myPassword.length() - 1);
if(l1 == 9 || l1 == 10 || l1 == 13)
//loginScreenCursorPos = 0;
loginFailures = 0;
login(myUsername, myPassword, false);
if(flag1)
myPassword += (char)l1;
if(myPassword.length() > 20)
myPassword = myPassword.substring(0, 20);
}
---------------------------------------------------------------------------
---------------------------------------------------------------------------
---------------------------------------------------------------------------
Untested, but pretty sure it works
step 1:
If you want it to be so when you press enter on server instead, use this:.
Find:
Code:
if(loginScreenCursorPos == 2)
step 2:
Find
Code:
loginScreenCursorPos = 0
Replace with:
Code:
loginFailures = 0;
login(myUsername, myPassword, false);