SA-MP Forums Archive
[FilterScript] Legit Log-In System - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Legit Log-In System (/showthread.php?tid=468009)



Legit Log-In System - IPlayGames000 - 06.10.2013

Hi there SA-MP Players/Server Operators who are reading this.

Today, I have something to show you (It's my first work so don't hate on me xD)

Anyways, I have made a truly easy Login/Register system using Y_INI and I would like to share it with all of you!

It is a simple code, and will be put up for download in a few links below, just compile it with YSI installed! (One for Solidfiles, One for Mega, and one for Pastebin)


PasteBin
Solid Files
Mega

Remember to Rep me if you liked my work will be doing some more things in the future


Re: Legit Log-In System - xganyx - 06.10.2013

you copy this


Re: Legit Log-In System - IPlayGames000 - 06.10.2013

Quote:
Originally Posted by xganyx
Посмотреть сообщение
you copy this
I used the system, but that system was kind of messed up a bit.


Re: Legit Log-In System - DobbysGamertag - 06.10.2013

Nice effort. But:

Will that even compile? Taken from the pastebin link:
pawn Код:
//Includes
#include <YSI\y_ini>
Why haven't you included a_samp?

pawn Код:
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;
}
I reccomend switching to Whirlpool and learning about "salting" passwords.


Re: Legit Log-In System - IPlayGames000 - 06.10.2013

Quote:
Originally Posted by DobbysGamertag
Посмотреть сообщение
Nice effort. But:

Will that even compile? Taken from the pastebin link:
pawn Код:
//Includes
#include <YSI\y_ini>
Why haven't you included a_samp?

pawn Код:
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;
}
I reccomend switching to Whirlpool and learning about "salting" passwords.
Like I said, my first work, dont have to get so mean.


Re: Legit Log-In System - DobbysGamertag - 06.10.2013

I'm not being mean i was just pointing out where you could improve


Re: Legit Log-In System - IPlayGames000 - 06.10.2013

Quote:
Originally Posted by DobbysGamertag
Посмотреть сообщение
I'm not being mean i was just pointing out where you could improve
Alright, thanks for the constructive criticism, will do my research on my stuff, like I said, my first work


Re: Legit Log-In System - DobbysGamertag - 06.10.2013

Its ok need any help, feel free to post in the help section There was a time i knew nothing about it.


Re: Legit Log-In System - xganyx - 06.10.2013

This is nice anyway but next time do better.


Re: Legit Log-In System - IPlayGames000 - 06.10.2013

Quote:
Originally Posted by xganyx
Посмотреть сообщение
This is nice anyway but next time do better.
Thanks, I will be making a new and better one, as it may take me a couple weeks, but I will try to fix everything, just tell me what