Password will not save in my Login system.
#1

Hey guys, I've recently finished making my brand new Login system. And what happens, when you login and make a new account, and you type in your password again. It says that I have entered a incorrect password? How could that be possible? I entered my password which I made the account with, then it says it is incorrect. Is there a way to fix it?

Please help!
Reply
#2

Gotta' show some code if you want us to help bud.
Reply
#3

http://pastebin.com/eBv29F8f . Whole code!
Reply
#4

You aren't loading the account variables before you try to check them with what the user inputs.
Reply
#5

Quote:
Originally Posted by RealCop228
View Post
You aren't loading the account variables before you try to check them with what the user inputs.
Ok, thanks. But could you please help me with it? Like the line I have to input
Reply
#6

Put what is on line 561 before line 559.
Reply
#7

Ok I moved

Code:
INI_ParseFile(UserPath(playerid), "LoadUser_data", .bExtra = true, .extra = playerid);
from line 561. Ok then I moved it to line 559. Then do I delete the old one from line 561, our just leave it?
Reply
#8

Delete it.

You don't need to re-load the player's account variables if you've already done it.
Reply
#9

I tried it. It still doesn't work!
Reply
#10

HELP PLEASE!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)