Problem with Y_INI 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: Problem with Y_INI login system (
/showthread.php?tid=454203)
Problem with Y_INI login system -
Garwan50 - 28.07.2013
Hello !
I follow the Kush tutorial to get the login/register system, its hard for me to correct the script by myself because i don't understand all the function (some are not explained).
Now i have a problem. Everythings works fine, i can register myself, the password his hashed, and save in scriptfile\User\<name>.ini
But when i must enter my password to log myself, it does'nt work, if you want more explaination, tell me.
(Pmdp is the variable which contain the password)
PASTEBIN:
http://pastebin.com/JdYWBmVG
Re : Problem with Y_INI login system -
Garwan50 - 28.07.2013
bump
Re: Problem with Y_INI login system -
2KY - 28.07.2013
I'm pretty sure the only problem with it is the "Mot de passe". You can't use spaces in the name of it, try "MotdePasse", everything else looks alright.
Re: Problem with Y_INI login system -
Blast3r - 28.07.2013
Quote:
Originally Posted by 2KY
I'm pretty sure the only problem with it is the "Mot de passe". You can't use spaces in the name of it, try "MotdePasse", everything else looks alright.
|
What YSI are you using? 3.1?
Because Kush' tutorial uses a hash which isn't supported with newer YSI version, which doesn't let you log in.
Re : Problem with Y_INI login system -
Garwan50 - 28.07.2013
I don't know what version i have, but i solve the problem adding _ in replacment of " "
Thanks a lot 2KY