SA-MP Forums Archive
Password :( - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Password :( (/showthread.php?tid=98872)



Password :( - Kyle - 23.09.2009

Because im using dubd when i register it encrypts my passsword and i want a system where it dont encrypt it. Just so that i can change there password if need be.

Or is there a way to see what they typed on the password when they register or somthing?


Re: Password :( - V1ceC1ty - 24.09.2009

Use Mysql im sure you can see passwords with that


Re: Password :( - mmrk - 24.09.2009

Quote:
Originally Posted by V1ceC1ty
Use Mysql im sure you can see passwords with that

If password is crypted you cant see it in mysql too.

Anyway, just deleted te encryption part and recompile the script..
Simple


Re: Password :( - Redirect Left - 24.09.2009

Why not just make a command for the player to change password?


Re: Password :( - Kyle - 24.09.2009

I Would if i knew how

Heres the code to code it thingy

Quote:

stock udb_changePassword(nickname[],pwd[]) {
udb_UserSetInt(nickname,"password_hash",udb_hash(p wd));
return true;
}

udb_changePassword("DracoBlue","MyPass!");



Re: Password :( - Kyle - 24.09.2009

?


Re: Password :( - MenaceX^ - 24.09.2009

Quote:
Originally Posted by V1ceC1ty
Use Mysql im sure you can see passwords with that
No?
In everyplace you can see it, as far as you haven't made it as a hashed system.