Password Error ??
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Are you actually sure that it loads the password to pInfo[playerid][Pass]?

If it doesn't load the password to that variable and you check with strcmp if the passwords do match, it'll return 0 (that they indeed do match) when one of them is NULL.

So, debug it to be sure:
pawn Код:
printf("hashpass: \"%s\" & pInfo[playerid][Pass]: \"%s\"", hashpass, pInfo[playerid][Pass]);
if(!strcmp(hashpass, pInfo[playerid][Pass], false))
Try to login again, what does it print?
Its Print This :

Код:
[19:00:24] Incoming connection: 25.98.199.236:62308
[19:00:24] [join] The_First has joined the server (0:25.98.199.236)
[19:00:29] hashpass: "9CE0B1A1D51019A53805DA0689A596A317511CF9642DE90A312267D8E91779AF3D20E7D596ACF185FB66839048DB7DB11639C99545A6168A2E447C3EA8F310D5" & pInfo[playerid][Pass]: ""
Reply


Messages In This Thread
Password Error ?? - by UnitedChaos - 20.11.2013, 09:21
Re: Password Error ?? - by TahaAsif12 - 20.11.2013, 09:23
Re: Password Error ?? - by UnitedChaos - 20.11.2013, 09:36
Re: Password Error ?? - by Konstantinos - 20.11.2013, 09:54
Re: Password Error ?? - by UnitedChaos - 20.11.2013, 10:00
Re: Password Error ?? - by Konstantinos - 20.11.2013, 10:16
Re: Password Error ?? - by UnitedChaos - 20.11.2013, 11:27
Re: Password Error ?? - by rocketmall - 20.11.2013, 12:15

Forum Jump:


Users browsing this thread: 1 Guest(s)