Page 1 of 1

Login/Register system

Posted: 21 Apr 2009, 17:19
by rjgtav
Hi there, I'm making a mmorpg that needs a login and a register system. I already tried the customlogin example and i used the sfslogin.php but it didn't work. It always gave me the error message "Wrong user or pass". Please can anyone help me developing a login system and a register system* for my game?

*I prefer the systems in PHP (without mysql) and with flash.

Posted: 23 Apr 2009, 04:28
by BigFIsh
If you're getting "wrong user or pass" all the time, that means that .php login is working correctly - but the login information is wrong. Perhaps, it's the outgoing or incoming parameters that you need to double check (debug it).

Posted: 23 Apr 2009, 17:51
by rjgtav
Ty for the help. Noob question: How do i debug? And how can i do a register file to this file based database? thank you

Posted: 25 Apr 2009, 01:32
by BigFIsh
Usually, you'll find the solution in the manual :)

But, to debug:

add these parameters in your config.xml file


It's recommended to turn these off during production of course :)

Could you rephrase "And how can i do a register file to this file based database?" I don't quite follow

Posted: 26 Apr 2009, 13:59
by rjgtav
Ty for the help. I already added the :<DebugIncomingMessages>true</DebugIncomingMessages>
<DebugOutGoingMessages>true</DebugOutGoingMessages> to my server's config.xml but i don't see any debug in the start.bat or the debug is in other file? I want to create a register.php file to the people register and store the data to the login.php. Please help me. thank you

Posted: 27 Apr 2009, 09:29
by Lapo
It depends on which SFS version you are using... those require SFS PRO 1.6.3 or higher.

Posted: 28 Apr 2009, 18:06
by rjgtav
Ty Lapo. I have the SFS basic but i don't know why it don't works. I already tried a lot of tutorials about php login/register systems with flash and mysql or only with php and flash but nothing works. I need some help making the system to my game. Thank you.

Posted: 04 May 2009, 17:36
by rjgtav
Hi there again. After trying to do lots of tutorials, i found that the problem isn't that the flash don't receives the answer. The problem is that flash don't send's the login data to the php, so the php can't send an answer to flash. Please anybody help me solving this problem. thank you