Password will not save in my Login system. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Password will not save in my Login system. (
/showthread.php?tid=409593)
Password will not save in my Login system. -
Goldino - 22.01.2013
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!
Re: Password will not save in my Login system. -
Scenario - 22.01.2013
Gotta' show some code if you want us to help bud.
Re: Password will not save in my Login system. -
Goldino - 22.01.2013
http://pastebin.com/eBv29F8f . Whole code!
Re: Password will not save in my Login system. -
Scenario - 22.01.2013
You aren't loading the account variables before you try to check them with what the user inputs.
Re: Password will not save in my Login system. -
Goldino - 22.01.2013
Quote:
Originally Posted by RealCop228
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
Re: Password will not save in my Login system. -
Scenario - 22.01.2013
Put what is on line 561 before line 559.
Re: Password will not save in my Login system. -
Goldino - 22.01.2013
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?
Re: Password will not save in my Login system. -
Scenario - 22.01.2013
Delete it.
You don't need to re-load the player's account variables if you've already done it.
Re: Password will not save in my Login system. -
Goldino - 22.01.2013
I tried it. It still doesn't work!
Re: Password will not save in my Login system. -
Goldino - 22.01.2013
HELP PLEASE!