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


Messages In This Thread
Change Password Command [ZCMD] [SSCANF] [MYSQL] - by MD5 - 22.11.2014, 21:21
Re: Change Password Command [ZCMD] [SSCANF] [MYSQL] - by Warlord - 22.11.2014, 21:54
Re: Change Password Command [ZCMD] [SSCANF] [MYSQL] - by Evocator - 22.11.2014, 22:14
Re: Change Password Command [ZCMD] [SSCANF] [MYSQL] - by Abagail - 22.11.2014, 22:19

Forum Jump:


Users browsing this thread: 3 Guest(s)