hello
I try to use DBLogin DEMO in unity but never login in zone I find error is
// Verify the secure password
if (!getApi().checkSecurePassword(session, dbPword, cryptedPass))
{
SFSErrorData data = new SFSErrorData(SFSErrorCode.LOGIN_BAD_PASSWORD);
data.addParameter(userName);
throw new SFSLoginException("Login failed for user: " + userName, data);
}
the"getApi().checkSecurePassword(session, dbPword, cryptedPass" always false I don't understand my password in server or client as same
sometime in unity I type
smartFox.Send(new LoginRequest("Fozzie", "bear", zone));
in sfs I type
if (!getApi().checkSecurePassword(session, "bear", cryptedPass))
but still wrong
unity print "Login error: Wrong password for user: Fozzie"
sfs print"Login failed for user Fozzie"
I try all day getApi().checkSecurePassword(session, dbPword, cryptedPass) never true
and I print"CryptoUtils.getClientPassword(session, cryptedPass)))
" and cryptedPass them no to same it different
some flash friend tall me 100% ture but unity I can't and my friend can't too please help me
the DBLogin DEMO for unity SF2X
-
- Posts: 11
- Joined: 06 Jan 2010, 09:55
- Contact:
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
-
- Posts: 11
- Joined: 06 Jan 2010, 09:55
- Contact:
-
- Posts: 11
- Joined: 06 Jan 2010, 09:55
- Contact:
Who is online
Users browsing this forum: No registered users and 99 guests