MYSQL Password doesn't match
#2

because you not inserting player into db because of this code :

Код HTML:
strcat(Query,"INSERT INTO `users` (Username,Password,IP) VALUES ('%s', sha1('%s'),'%s')");
format(Query,sizeof(Query),Query,PlayerName(playerid),password,IP);
replace it with :

Код HTML:
format(Query, sizeof(Query), "INSERT INTO users (Username, Password, IP) VALUES ('%s', 'sha1(%s)', '%s')",
PlayerName(playerid), password, IP);
and where you check password is real? because your checking(if you gave full) will log in player if he only exits in database
Reply


Messages In This Thread
MYSQL Password doesn't match - by MrFantasy - 04.06.2017, 13:34
Re: MYSQL Password doesn't match - by JustNothing - 04.06.2017, 14:01
Re: MYSQL Password doesn't match - by MrFantasy - 04.06.2017, 14:08
Re: MYSQL Password doesn't match - by JustNothing - 04.06.2017, 14:12
Re: MYSQL Password doesn't match - by MrFantasy - 04.06.2017, 14:21
Re: MYSQL Password doesn't match - by JustNothing - 04.06.2017, 14:28
Re: MYSQL Password doesn't match - by MrFantasy - 04.06.2017, 16:48
Re: MYSQL Password doesn't match - by skuller12 - 04.06.2017, 17:27
Re: MYSQL Password doesn't match - by MrFantasy - 04.06.2017, 18:07
Re: MYSQL Password doesn't match - by skuller12 - 04.06.2017, 18:09

Forum Jump:


Users browsing this thread: 2 Guest(s)