Register Login system
#4

firstly you have to check if the player is registered or not (in your database)
than you must show the correct dialog with first statement (registered or not registered)
you must use DIALOG_STYLE_PASSWORD or DIALOG_STYLE_INPUT in ShowPlayerDialog.
LOGIN: at the callback OnDialogResponse you must compare output and player's password.
REGISTER: you must create player's account with the typed password (typed thing in code is 'output' in OnDialogResponse)
Reply


Messages In This Thread
Register Login system - by TechSil - 27.05.2018, 15:02
Re: Register Login system - by Shadow0707 - 27.05.2018, 15:18
Re: Register Login system - by TechSil - 27.05.2018, 15:52
Re: Register Login system - by Mugala - 28.05.2018, 00:41

Forum Jump:


Users browsing this thread: 1 Guest(s)