22.11.2014, 21:21
Hey,
I'm a bit confused. Could someone create a /changepw <old_password> <new_password> command, that does the following:
- Changes the Password In-game.
- They they type the command wrong, I want it to return a SendClientMessage that says (/changepw <old_password> <new_password>
- Returns an error if the old password is wrong.
- Tells them they've changed their password to: %s (their password they changed it to)
Sources Needed:
- The hash is SHA1.
- The saving path: UPDATE `playerdata` SET `playerPass` = '%s' WHERE `playerName` = '%s'
Regards,
MD5
I'm a bit confused. Could someone create a /changepw <old_password> <new_password> command, that does the following:
- Changes the Password In-game.
- They they type the command wrong, I want it to return a SendClientMessage that says (/changepw <old_password> <new_password>
- Returns an error if the old password is wrong.
- Tells them they've changed their password to: %s (their password they changed it to)
Sources Needed:
- The hash is SHA1.
- The saving path: UPDATE `playerdata` SET `playerPass` = '%s' WHERE `playerName` = '%s'
Regards,
MD5