Java Client API LoginRequest problem withCheckSecurePassword

Post here your questions about the Java client / Android API for SFS2X

Moderators: Lapo, Bax

KSops
Posts: 5
Joined: 02 Jul 2012, 06:53

Re: Java Client API LoginRequest problem withCheckSecurePass

Postby KSops » 02 Jul 2012, 17:03

Hm. So I've confirmed I'm using 2.1.0 as well as the new Java Client Library. I even upgraded the netty jar that I originally got.
Seems the problem still persists D:
Thanks for your help so far though! Didn't realize there was an update page.
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Re: Java Client API LoginRequest problem withCheckSecurePass

Postby ThomasLund » 03 Jul 2012, 11:46

Very weird - works here. Maybe forgot to set the custom login in zone config?
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
KSops
Posts: 5
Joined: 02 Jul 2012, 06:53

Re: Java Client API LoginRequest problem withCheckSecurePass

Postby KSops » 12 Jul 2012, 05:47

I added logging calls in the handler and it seems to be displaying, so that should mean the custom login is hit.
Is there a way to add extra parameters to the login call or extend it? I think I'll just perform a workaround by adding my own password sending.
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Java Client API LoginRequest problem withCheckSecurePass

Postby rjgtav » 13 Jul 2012, 22:54

You can send an extra SFSObject when sending a LoginRequest, and then retrieve it on the server-side by getting the LOGIN_IN_DATA SFSEventParam
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
KSops
Posts: 5
Joined: 02 Jul 2012, 06:53

Re: Java Client API LoginRequest problem withCheckSecurePass

Postby KSops » 14 Jul 2012, 20:09

Thanks for the tip! :D

Return to “SFS2X Java / Android API”

Who is online

Users browsing this forum: No registered users and 15 guests