Change Password Command [ZCMD] [SSCANF] [MYSQL]
#1

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
Reply
#2

No, they cannot.

This isn't "script for me" section.

Also, SHA1 is shitty
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)