Password saves "0"
#27

Quote:
Originally Posted by Guitar
View Post
It does save the password, but I can just write anything in the log-in dialog and it logs me in, so I am afraid that it doesn't read the password :S
Then there are one of 2 things are occuring;

1. You aren't loading the information when the person connects. (which I believe is the problem). Use INI_ParseFile before any other statement in OnPlayerConnect if the file/user does exist.

2. You aren't checking if the password entered equals the hashed password.

Use examples from my tutorial to check where you've went wrong.
Reply


Messages In This Thread
Password saves "0" [Added the codes] - by Guitar - 07.09.2012, 11:08
Re: Password saves "0" - by doreto - 07.09.2012, 11:37
Re: Password saves "0" - by HuSs3n - 07.09.2012, 11:40
Re: Password saves "0" - by Guitar - 07.09.2012, 11:49
Re: Password saves "0" - by Guitar - 07.09.2012, 11:59
Re: Password saves "0" - by HuSs3n - 07.09.2012, 12:00
Re: Password saves "0" - by Guitar - 07.09.2012, 12:02
Re: Password saves "0" - by HuSs3n - 07.09.2012, 12:06
Re: Password saves "0" - by Guitar - 07.09.2012, 12:14
Re: Password saves "0" - by Cjgogo - 07.09.2012, 13:06
Re: Password saves "0" - by JaKe Elite - 07.09.2012, 13:10
Re: Password saves "0" - by Guitar - 07.09.2012, 20:27
Re: Password saves "0" - by RedFusion - 07.09.2012, 20:37
Re: Password saves "0" - by sniperwars - 07.09.2012, 20:37
Re: Password saves "0" - by Guitar - 08.09.2012, 06:04
Re: Password saves "0" - by Guitar - 08.09.2012, 10:15
Re: Password saves "0" - by JaKe Elite - 08.09.2012, 10:31
Re: Password saves "0" - by Guitar - 08.09.2012, 10:49
Re: Password saves "0" - by Kush - 08.09.2012, 10:54
Re: Password saves "0" - by JaKe Elite - 08.09.2012, 10:59
Re: Password saves "0" - by Guitar - 08.09.2012, 11:01
Re: Password saves "0" - by Aprezt - 08.09.2012, 11:03
Re: Password saves "0" - by JaKe Elite - 08.09.2012, 11:04
Re: Password saves "0" - by Guitar - 08.09.2012, 11:06
Re: Password saves "0" - by Kush - 08.09.2012, 11:11
Re: Password saves "0" - by Guitar - 08.09.2012, 11:14
Re: Password saves "0" - by Kush - 08.09.2012, 11:20
Re: Password saves "0" - by Guitar - 08.09.2012, 11:26
Re: Password saves "0" - by JaKe Elite - 08.09.2012, 11:31
Re: Password saves "0" - by Guitar - 08.09.2012, 11:36
Re: Password saves "0" - by Glint - 08.09.2012, 12:02

Forum Jump:


Users browsing this thread: 17 Guest(s)