27.10.2014, 03:29
Hello,
I'm simply coming back from a long break and whirlpool doesn't seem to want to work for me right now, lol. I've tried copying from previous code, but it still doesn't fix the issue.
The issue is Whirlpool is writing '0' instead of hashing the players password. Amateur mistake, I know - but hey. I'm coming back from a break.
I'm simply coming back from a long break and whirlpool doesn't seem to want to work for me right now, lol. I've tried copying from previous code, but it still doesn't fix the issue.
The issue is Whirlpool is writing '0' instead of hashing the players password. Amateur mistake, I know - but hey. I'm coming back from a break.
pawn Код:
if(response)
{
new hashpass[129];
WP_Hash(hashpass, sizeof(hashpass), inputtext);
new INI:file = INI_Open(UserPath(playerid));
INI_SetTag(file, "Player Data");
INI_WriteString(file, "pPass", hashpass);
INI_WriteInt(file, "pAdmin", 0);
INI_WriteInt(file, "pMoney", 0);
INI_WriteInt(file, "pKills", 0);
INI_WriteInt(file, "pDeaths", 0);
INI_Close(file);
SCM(pid,COLOR_GREEN, "You have successfully registered on the server.");
return 1;
}