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

Report core bugs regarding the Ultima Online Emulator Core release (version 097). You can attach your Core Dump. One bug per post.
Locked
User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am

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

Post 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
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post 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?
Locked