Missing basic login/signup information in documentation

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Zanpher
Posts: 96
Joined: 05 Oct 2009, 23:15

Missing basic login/signup information in documentation

Postby Zanpher » 07 Nov 2013, 04:03

So... according to the documentation I need to do the following before anything else:

1. Connect to server.
2. Login to server


However ,, you cannot log into the server until you have an account. You cannot have an account until you Signup ... you cannot signup until you logged in ...


It's an endless loop...
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Missing basic login/signup information in documentation

Postby Lapo » 07 Nov 2013, 08:47

By default there's no need for an account to log into the Server, in fact the server is completely oblivious to the concepts of "account" and "signup".
You just provide a name, any name, or even no names and you will be logged in. We usually refer to this modality as a "guest login".

On top of this basic system you can build your own, database driven Signup and Login system.

The Signup system, as explained in the tutorials, uses the "guest login" to join the Zone, provide the account data and register it.
See here:
http://docs2x.smartfoxserver.com/Exampl ... gnup-login

hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games
Zanpher
Posts: 96
Joined: 05 Oct 2009, 23:15

Re: Missing basic login/signup information in documentation

Postby Zanpher » 07 Nov 2013, 19:18

Thanks for the post. I ended up posting in the wish list forum for allowing the signup system to work with MSSQL. Currently there is a bug in that component that throws exceptions.

ref: viewtopic.php?f=32&t=16598
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Missing basic login/signup information in documentation

Postby Lapo » 08 Nov 2013, 08:46

Try using an INT for your table ID instead of what you are using now.
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 50 guests