SA-MP Forums Archive
/getpassword command - 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: /getpassword command (/showthread.php?tid=68668)



/getpassword command - DmXPlay - 12.03.2009

http://pastebin.com/d26a8eb89

It don't show password


Re: /getpassword command - xcasio - 12.03.2009

Use udb_encode on line 19.


Re: /getpassword command - DmXPlay - 12.03.2009

Still this same


Re: /getpassword command - xcasio - 12.03.2009

1. Are you sure your user files are "Player.sav" and not "Player.dudb.sav" ?


This worked for me (with the correct user file name):
format(string, sizeof(string),"Your password [%d].",dUserINT(name).("password_hash"));


Re: /getpassword command - DmXPlay - 12.03.2009

Now is: http://pastebin.com/d509a30dd

Its work, but not decode password, why?


Re: /getpassword command - Norn - 12.03.2009

Learn to indent and perhaps you would get a faster response.


Re: /getpassword command - ICECOLDKILLAK8 - 12.03.2009

Are the passwords encoded using udb_encode?


Re: /getpassword command - DmXPlay - 13.03.2009

Yes, on register is "if(udb_Create(PlayerName(id),result)) {"