SA-MP Forums Archive
dini_ includes decrypt password - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: dini_ includes decrypt password (/showthread.php?tid=520890)



dini_ includes decrypt password - jamal1992 - 20.06.2014

Hello guys, i have a big problem ! I did this command and works, but decrypt my password !
Код:
if (strcmp(cmd, "/unban", true)==0)
 	{
  		if(PlayerInfo[playerid][pAdmin] >=1)
        {
        	new file[32];
	        tmp = strtok(cmdtext, idx);
         	if(!strlen(tmp))
			{
                SendClientMessage(playerid, COLOR_WHITE, "{FFFF00}USAGE:{FFFFFF} /unban [AccountName]");
                return 1;
			}
			format(file, sizeof(file),"users/%s.ini", tmp);
			if(!dini_Exists(file))
 				return SendClientMessage(playerid, COLOR_LIGHTRED,"Error: account doesn't exists!");
			dini_Set(file, "Locked", "0");
			GetPlayerName(playerid, sendername, sizeof(sendername));
			format(string, 128, "AdmCmd: %s has unbanned %s", sendername, tmp);
			SendClientMessage(playerid, COLOR_WHITE, "Player unlocked please ask for his IP and use /unbanip [IP]");
			ABroadCast(COLOR_LIGHTRED,string,1);
			new year, month,day;
			getdate(year, month, day);
			format(string, sizeof(string), "%s, was unbanned by, %s, reason:, Unban, (%d-%d-%d), no,", tmp, sendername,day,month,year);
			BanLog(string);
   		}
     	else
		{
			SendClientMessage(playerid, COLOR_GRAD1, "   Nu ai dreptul de a utiliza aceasta comanda!");
		}
  		return 1;
    }
My functions OnPlayerRegister, OnPlayerUpdateEx and OnPlayerLogin are not created with DINI_ includes. Why can i do to stop decryption ?


Re: dini_ includes decrypt password - jamal1992 - 21.06.2014

Somebody can help me ?