Little Problem
#6

Did you remove the hash function? Or are you not using the include for it? Try adding this(If the reply above doesn't work)
Код:
stock udb_hash(buf[]) {
    new length=strlen(buf);
    new s1 = 1;
    new s2 = 0;
    new n;
    for (n=0; n<length; n++)
    {
       s1 = (s1 + buf[n]) % 65521;
       s2 = (s2 + s1)     % 65521;
    }
    return (s2 << 16) + s1;
}
Reply


Messages In This Thread
Little Problem - by TheLonelyBeast - 23.10.2011, 15:00
Re: Little Problem - by Zonoya - 23.10.2011, 15:03
Re: Little Problem - by TheLonelyBeast - 23.10.2011, 15:23
Re: Little Problem - by TheLonelyBeast - 23.10.2011, 15:40
Re: Little Problem - by Zonoya - 23.10.2011, 15:42
Re: Little Problem - by .:Kaos:. - 23.10.2011, 15:51
Re: Little Problem - by TheLonelyBeast - 23.10.2011, 15:59
Re: Little Problem - by TheLonelyBeast - 23.10.2011, 16:07
Re: Little Problem - by .:Kaos:. - 23.10.2011, 16:09
Re: Little Problem - by TheLonelyBeast - 23.10.2011, 16:18

Forum Jump:


Users browsing this thread: 1 Guest(s)