Page 1 of 1

POL097-2007-08-23 RC5 Coregina - CheckPassword problem?

Posted: Thu Jan 03, 2008 10:37 pm
by MontuZ
I got this inside of my auto account packet hook script and it always fails. I tested inside a command and it worked. Maybe it being ran in a critical script is causing it to always fail? Might test that later, I'll report back if I ever do.

Code: Select all

	var account := FindAccount(username);

	if ( account )
		if ( !(account.CheckPassword(password)) )
			UUOAALog(username, password, mobile.ip, "FailedPassword");
		endif
		return 0;
	endif

Posted: Sat Jan 05, 2008 5:27 pm
by CWO
I know it becomes a bit decentralized this way and you're reporting a possible bug but as a workaround for now, can't you just hook the failure packet to log invalid passwords?