Whirlpool Password Problem
#1

Well when I try to log-in with the correct password, I get the error that shows that it's incorrect. I did a debug, only to find out that the variable only stored 31 characters. I'm not sure what I'm doing wrong, the sizeof the password variable is 129 and so is the size of the buffer.

This is how I load the password into the variable:
pawn Код:
format(PlayerData[playerid][Password],129,"%s",field[10]);
Код:
input: CFB4126CF2D70BE0C23C44C63A1A393EE324C2ADA334E46E6EB165BA0F55B30F474FBDF02F615FAFC809B588A19A750121A68CC99CDECA18FDAB0062C575B9B4
pdata: CFB4126CF2D70BE0C23C44C63A1A393
Reply
#2

Solved, the problem was that the size of the second dimension in the "field" variable was 32, so I changed it to 129.
Well this is what I did:

From this:
pawn Код:
new field[129][32];
To this:

pawn Код:
new field[129][129];
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)