Moparscape - RSPS Community
RuneScape 2 Development => RS Client Hacking => Topic started by: Ambokile on March 08, 2015, 10:14:29 AM
Title:
[317refactor] Enter to login
Post by:
Ambokile
on
March 08, 2015, 10:14:29 AM
Hi all. Short snippet here to make it so that if you press enter on the login screen whilst selecting the password, it will attempt to log you in.
Head to your
updateLogin
method and find:
Code: Java
}
else
if
(
loginScreenFocus
==
1
)
{
Beneath that, replace this code:
Code: Java
if
(
character
==
9
||
character
==
10
||
character
==
13
)
loginScreenFocus
=
0
;
With this:
Code: Java
if
(
character
==
9
||
character
==
13
)
loginScreenFocus
=
0
;
if
(
character
==
10
)
login
(
enteredUsername, enteredPassword,
false
)
;