Logging in problem
#8

Haha, okay. You made the same mistake I did.
Remove the line
pawn Код:
INI_WriteInt(File, "Pass",PlayerInfo[playerid][pPass]);
From the OnPlayerDisconnect.

What's happening is that the password is not being hashed when you are saving. So, when you log off your password is zero, and the udb_hash is not reading it as so. Tell me what happens. Goodluck

P.S

pawn Код:
new INI:File = INI_Open(UserPath(playerid));
    INI_SetTag(File,data);
    INI_WriteInt(File, "Level",PlayerInfo[playerid][pLevel]);
    INI_WriteInt(File, "Pass",PlayerInfo[playerid][pPass]);
    INI_WriteInt(File, "Respect",PlayerInfo[playerid][pRespect]);
    INI_WriteInt(File, "Money",PlayerInfo[playerid][pCash]);
    INI_WriteInt(File, "Admin",PlayerInfo[playerid][pAdmin]);
    INI_WriteInt(File, "Vip",PlayerInfo[playerid][pVip]);
    INI_WriteInt(File, "FirstJoined", PlayerInfo[playerid][pFirstJoined]);
    INI_WriteInt(File, "Exp", PlayerInfo[playerid][pExp]);
    INI_WriteInt(File, "Warns", PlayerInfo[playerid][pWarns]);
    INI_WriteInt(File, "Muted", PlayerInfo[playerid][pMuted]);
    INI_WriteInt(File, "MuteTime", PlayerInfo[playerid][pMuteTime]);
    INI_Close(File);
You forgot the colon between INI and File
Reply


Messages In This Thread
Logging in problem - by Vrondakis - 17.03.2012, 14:38
Re: Logging in problem - by ReneG - 17.03.2012, 14:42
Re: Logging in problem - by RoleplayEditor - 17.03.2012, 14:43
Re: Logging in problem - by ReneG - 17.03.2012, 14:45
Re: Logging in problem - by Vrondakis - 17.03.2012, 14:49
Re: Logging in problem - by ReneG - 17.03.2012, 14:56
Re: Logging in problem - by Vrondakis - 17.03.2012, 14:59
Re: Logging in problem - by ReneG - 17.03.2012, 15:03
Re: Logging in problem - by Vrondakis - 17.03.2012, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)