Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Login Handler Broken

Author of MaxiBots
Joined
Dec 3, 2013
Messages
7,032
@Cloud Did you attempt to fix this? It seems to be working now which is weird if you didn't because i tested it multiple times. OSRS is also working fine.
 
Author of MaxiBots
Joined
Dec 3, 2013
Messages
7,032
@Cloud Still experiencing some issues with this. It doesn't seem to wait long enough between clicking password and typing it so sometimes it'll type part of the password in the username field
 
Author of MaxiBots
Joined
Dec 3, 2013
Messages
7,032
Still having an issue with this. It sometimes enters the first letter of the password at the end of the username (Only tested rs3).
@Cloud
 
Author of MaxiBots
Joined
Dec 3, 2013
Messages
7,032
I've added a small delay after the click so that should resolve the issue.
Thanks. Also just as a note, you can press enter to both change from username field to password and send the login request
 
Mod Automation
Joined
Jul 26, 2013
Messages
3,053
I've added a small delay after the click so that should resolve the issue.
I do not think that is the right solution. The LoginHandler should be more fault tolerant and validate entries. Any amount of delay could be proven useless with enough resource throttling. I suggest rule based validation before login submission (making sure the username field text matches the desired username, making sure the password field length matches the desired password, etc.). Additionally, it should have error handling based on failed validation and server response (username deletion and re-entry on failed validation, password re-entry on failed server authentication, bot stop on X failed attempts, etc.).

P.S. My suggestion for X is 3, to prevent repeated failed server authentication from locking a user. I believe Jagex's limit for number of attempts is 5 per 5 minutes.
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
I do not think that is the right solution. The LoginHandler should be more fault tolerant and validate entries. Any amount of delay could be proven useless with enough resource throttling. I suggest rule based validation before login submission (making sure the username field text matches the desired username, making sure the password field length matches the desired password, etc.). Additionally, it should have error handling based on failed validation and server response (username deletion and re-entry on failed validation, password re-entry on failed server authentication, bot stop on X failed attempts, etc.).

P.S. My suggestion for X is 3, to prevent repeated failed server authentication from locking a user. I believe Jagex's limit for number of attempts is 5 per 5 minutes.
The username and password field are both checked before it clicks login as it is.
 
Top