Page 1 of 1

Pro Login Example with MySQL

Posted: 16 Jan 2011, 02:14
by Geek
Hey all,

I am trying to get my server-sided login to work, which it does, except I need to get it to work with a mysql database.

I have read multiple tutorials on how to get databases to work with SFS, but I just can't seem to get it to work with the Pro Login example, which is what I need.

If there are any examples or tutorials on how to get the Pro Login to work with mysql, that would be great.

Thanks.

Re: Pro Login Example with MySQL

Posted: 16 Jan 2011, 15:51
by Aiidenb
Geek wrote:Hey all,

I am trying to get my server-sided login to work, which it does, except I need to get it to work with a mysql database.

I have read multiple tutorials on how to get databases to work with SFS, but I just can't seem to get it to work with the Pro Login example, which is what I need.

If there are any examples or tutorials on how to get the Pro Login to work with mysql, that would be great.

Thanks.
I also nee dhelp with this.. Please help! :)

Posted: 16 Jan 2011, 17:43
by Geek
Hey,

I have mostly gotten this to work. It was just a matter of rereading the tutorial and making the extension check the database.

But I have one problem.

I have this all added to my game, but if you try to login as someone banned no message pops up. (The one that usually says "You have been banned").

Posted: 21 Jan 2011, 15:57
by Flappi282
If the user is banned, you can send an extension response saying You Are Banned, if the login fails.

That would work.