Whirlpool errors!
#6

While debugging... I've found this:

Код:
[23:09:32] 22FB46E1955A8AEB31C59D79D887D02AF2D1BC4524E85AAFA2455CC78BC0147B10DD477201D147E2F5CA910BB43D982320478B9D179DDDE85F4806497FE2EE68 - 1
[23:09:32] 22FB46E1955A8AEB31C59D79D887D02AF2D1BC4524E85AAFA2455CC78BC0147B10DD477201D147E2F5CA910BB43D982320478B9D179DDDE85F4806497FE2EE68 - 2
[23:09:32] 22FB46E1955A8AEB31C59D - 5
[23:09:32] 22FB46E1955A8AEB31C59D - 3
[23:09:38] 22FB46E1955A8AEB31C59D - 4
As you can see the problem starts at debug #5...

The code for that is...

Код:
public PlayerLogIn(playerid, password[])
{
  new string2[128];
	format(string2, sizeof(string2), "Accounts/%s.ini", PlayerName(playerid));
	new File: UserFile = fopen(string2, io_read);
	if (UserFile)
	{
		new Data[256];
		new key[256], val[256];
	  fread(UserFile , Data, sizeof(Data));
	  key = ini_GetKey(Data);
	  if(strcmp(key, "Password", true) == 0)
		{
			val = ini_GetValue(Data);
			strmid(PlayerInfo[playerid][pPassword], val, 0, strlen(val)-1, 255);
			printf("%s - 5", PlayerInfo[playerid][pPassword]);
		}
		if(strcmp(PlayerInfo[playerid][pPassword], password, true) == 0)
Reply


Messages In This Thread
Whirlpool errors! - by Gyvo - 06.03.2010, 22:02
Re: Whirlpool errors! - by Gyvo - 06.03.2010, 22:06
Re: Whirlpool errors! - by Fj0rtizFredde - 06.03.2010, 22:08
Re: Whirlpool errors! - by woot - 06.03.2010, 22:13
Re: Whirlpool errors! - by Gyvo - 06.03.2010, 22:17
Re: Whirlpool errors! - by Gyvo - 06.03.2010, 22:21
Re: Whirlpool errors! - by Joe Staff - 06.03.2010, 22:41
Re: Whirlpool errors! - by Gyvo - 06.03.2010, 22:49
Re: Whirlpool errors! - by Gyvo - 07.03.2010, 08:29

Forum Jump:


Users browsing this thread: 1 Guest(s)