udb_hash
#1

how can i remove this faking udb_hash!

i remove this
PHP код:
/*Credits to Dracoblue*/
stock udb_hash(buf[]) {
    new 
length=strlen(buf);
    new 
s1 1;
    new 
s2 0;
    new 
n;
    for (
n=0n<lengthn++)
    {
       
s1 = (s1 buf[n]) % 65521;
       
s2 = (s2 s1)     % 65521;
    }
    return (
s2 << 16) + s1;

and changed this
PHP код:
INI_WriteInt(File,"Password",udb_hash(inputtext)); 
to this
PHP код:
INI_WriteString(File,"Password",inputtext); 
and its fine but when i try to change this
PHP код:
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass]) 
to this
PHP код:
if(inputtext == PlayerInfo[playerid][pPass]) 
i got this faking error
PHP код:
pwn(200) : error 033: array must be indexed (variable "inputtext"
Reply


Messages In This Thread
udb_hash - by BoU3A - 22.09.2013, 13:18
Re: udb_hash - by DanishHaq - 22.09.2013, 13:24
Re: udb_hash - by JimmyCh - 22.09.2013, 13:25
Re: udb_hash - by iJumbo - 22.09.2013, 13:30
Re: udb_hash - by BoU3A - 22.09.2013, 13:43
Re: udb_hash - by iJumbo - 22.09.2013, 13:48
Re: udb_hash - by BoU3A - 22.09.2013, 13:57
Re: udb_hash - by iJumbo - 22.09.2013, 14:09
Re: udb_hash - by BoU3A - 22.09.2013, 14:29
Re: udb_hash - by iJumbo - 22.09.2013, 14:32

Forum Jump:


Users browsing this thread: 1 Guest(s)