SA-MP Forums Archive
register help - 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: register help (/showthread.php?tid=427912)



register help - Corona - 03.04.2013

I use LSLRP Gamemode, whenever I get in and register and do /q after that and get in again and type my password, It always says "INCORECT PASS" and I type it right all the time.

In script I just deleted Tutorial, but made it that players can spawn, and added Armor made by Nexotronix, please help


Re: register help - MarioVPS - 03.04.2013

Check that accounts are be saved in "SERVER_FILE/scriptfiles/AdminScript/Accounts(or User)

and check "password=" line and see whats the password thx


Re: register help - HurtLocker - 03.04.2013

Use this to create the password.
pawn Код:
adler32_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;
}