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

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

Missing basic login/signup information in documentation

Post by Zanpher »

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: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Missing basic login/signup information in documentation

Post by Lapo »

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

Post by Zanpher »

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: http://forums.smartfoxserver.com/viewto ... 32&t=16598
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Missing basic login/signup information in documentation

Post by Lapo »

Try using an INT for your table ID instead of what you are using now.
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply