Password resets to "NoPassword" in MySQL
#1

Hello, Today I have made my GM script to set an update when the player disconnect the server.
but when you disconnect to the server password resets to " ".

Here is the code:

PHP код:
format(string,sizeof,(string),"UPDATE users SET Name = '%s' , Password = '%s'",Name,PlayerInfo[playerid][password]); 
I think that when I login it doesn't save my password to the one that I used in enum.
please help me fix this.
Reply


Messages In This Thread
Password resets to "NoPassword" in MySQL - by KizZweLL - 21.06.2017, 12:57
Re: Password resets to "NoPassword" in MySQL - by JasonRiggs - 21.06.2017, 12:58
Re: Password resets to "NoPassword" in MySQL - by Konstantinos - 21.06.2017, 13:01
Re: Password resets to "NoPassword" in MySQL - by KizZweLL - 21.06.2017, 13:15
Re: Password resets to "NoPassword" in MySQL - by JasonRiggs - 21.06.2017, 13:31
Re: Password resets to "NoPassword" in MySQL - by Eoussama - 21.06.2017, 13:36
Re: Password resets to "NoPassword" in MySQL - by Konstantinos - 21.06.2017, 13:45

Forum Jump:


Users browsing this thread: 3 Guest(s)