C:\Users\Matt\Desktop\SAMP\UMGS\filterscripts\Admin.pwn(1173) : warning 202: number of arguments does not match definition
C:\Users\Matt\Desktop\SAMP\UMGS\filterscripts\Admin.pwn(8079) : warning 202: number of arguments does not match definition
C:\Users\Matt\Desktop\SAMP\UMGS\filterscripts\Admin.pwn(8229) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Warnings.
if (udb_Create(PlayerName2(playerid)))
if (udb_Create(PlayerName2(playerid)))
if (udb_Create(PlayerName2(playerid)))
if( (!strcmp(tmp3,tmp2,true)) && (ServerInfo[AutoLogin] == 1))
{
LoginPlayer(playerid);
if(AccInfo[playerid][Level] > 0)
{
switch(AccInfo[playerid][Level])
{
case 1: AdmRank = "Trial Moderator";
case 2: AdmRank = "Moderator";
case 3: AdmRank = "Junior Administrator";
case 4: AdmRank = "Administrator";
case 5: AdmRank = "Head Administrator";
}
if(AccInfo[playerid][Level] > 5)
{
AdmRank = "Community Owner";
}
Two reasons:
1) It is based on dini, which works by opening a file, reading it, and closing the file again for EVERY read and EVERY write. Most other INI systems do all their reads and writes with a single open/close, making them orders of magnitude faster. 2) Its password "encryption" is "udb_hash", which is an "Adler32" hash and NOT cryptographic. It is a 32bit hash, used for CRC and comparisons, not secure storage, because it can be cracked in literally milliseconds. In fact, if your password is more than 5 characters long it is actualy WORSE than just storing the plain-text password (and that is pretty bad to begin with). |