SA-MP Forums Archive
[GameMode] [MySQL/SQLite] Advance Login & Register System (base script) - 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: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] [MySQL/SQLite] Advance Login & Register System (base script) (/showthread.php?tid=625195)

Pages: 1 2 3 4 5


[MySQL/SQLite] Advance Login & Register System (base script) - Gammix - 29.12.2016

Advance Login & Register System
MySQL and SQLite - v2.0 - last updated 5th Jan, 2017
Download
SQLite Version - https://github.com/Agneese-Saini/SA-...ase/sqlite.pwn
MySQL Version - https://github.com/Agneese-Saini/SA-...base/mysql.pwn

Libraries required:
zcmd.inc - https://sampforum.blast.hk/showthread.php?tid=576114
sscanf2.inc - https://sampforum.blast.hk/showthread.php?tid=602923
easydialog.inc - https://sampforum.blast.hk/showthread.php?tid=602886
kickban.inc - https://github.com/Agneese-Saini/SA-...kickbanfix.inc


Re: [MySQL/SQLite] Advance Login & Register System (base script) - TopShooter - 29.12.2016

Awesome and very useful for beginners, keep it up.


Re: [MySQL/SQLite] Advance Login & Register System (base script) - RyderX - 29.12.2016

Nicely done!


Re: [MySQL/SQLite] Advance Login & Register System (base script) - RedRex - 29.12.2016

Nice Job, But didn't this a Filterscirpt? Because its a Login & Register System not a gamemode...


Re: [MySQL/SQLite] Advance Login & Register System (base script) - Gammix - 29.12.2016

Quote:
Originally Posted by RedRex
View Post
Nice Job, But didn't this a Filterscirpt? Because its a Login & Register System not a gamemode...
Its a starter gamemode; you can implement this as a filterscript if you want it to be as a seperate script as an admin system maybe. But i always integrate with my gamemode, so that's why.


Re: [MySQL/SQLite] Advance Login & Register System (base script) - KokyZ - 29.12.2016

hey dude, good job for a simple gamemode
but i have question about this
Quote:

inputtext[i] |= 0x20;

and its why did you use '|=' and please explain the usage of this '|' and why have you used it with '='


Re: [MySQL/SQLite] Advance Login & Register System (base script) - Gammix - 30.12.2016

Quote:
Originally Posted by KokyZ
View Post
hey dude, good job for a simple gamemode
but i have question about this

and its why did you use '|=' and please explain the usage of this '|' and why have you used it with '='
https://www.tutorialspoint.com/cprog..._operators.htm

I used it to convert everything to lowercase, as security answers are not case sensitive.
0x20 is equal to a ' ' (space), so "|=" sets the character to a lowercase if its in upper.


Re: [MySQL/SQLite] Advance Login & Register System (base script) - TheMaskedGamer - 30.12.2016

Great man :O


Re: [MySQL/SQLite] Advance Login & Register System (base script) - SilverGaming - 30.12.2016

Anyone have register system =)?, great joob man


Re: [MySQL/SQLite] Advance Login & Register System (base script) - bogushas - 04.01.2017

Is there gonna be the mysql version as u mentioned Gammix?


Re: [MySQL/SQLite] Advance Login & Register System (base script) - Gammix - 04.01.2017

Quote:
Originally Posted by bogushas
Посмотреть сообщение
Is there gonna be the mysql version as u mentioned Gammix?
Ofcourse, this week I'll release it. Busy in work for now.


Re: [MySQL/SQLite] Advance Login & Register System (base script) - Stones - 04.01.2017

Thanks for the release Gammix, great work! I'm mixing it with the login system i have for my Zombie Apocalypse Roleplay server https://sampforum.blast.hk/showthread.php?tid=609856

I'll be waiting for the mysql version very anxiously !


Re: [MySQL/SQLite] Advance Login & Register System (base script) - Wolfe - 04.01.2017

Nice


Re: [MySQL/SQLite] Advance Login & Register System (base script) - Lordzy - 04.01.2017

I don't like the idea of account being temporarily locked. Imagine someone who could simply get other accounts temporarily locked by typing in the wrong password. What if it's there's an emergency to be in server? Servers having limited offers could get this to be a problem. I'd block the IP temporarily if they kept on exceeding the limits over MULTIPLE accounts at a short period of time.


Re: [MySQL/SQLite] Advance Login & Register System (base script) - Wolfe - 04.01.2017

Quote:
Originally Posted by Lordzy
Посмотреть сообщение
I don't like the idea of account being temporarily locked. Imagine someone who could simply get other accounts temporarily locked by typing in the wrong password. What if it's there's an emergency to be in server? Servers having limited offers could get this to be a problem. I'd block the IP temporarily if they kept on exceeding the limits over MULTIPLE accounts at a short period of time.
Just remove the feature then?


Re: [MySQL/SQLite] Advance Login & Register System (base script) - Gammix - 04.01.2017

Quote:
Originally Posted by Lordzy
Посмотреть сообщение
I don't like the idea of account being temporarily locked. Imagine someone who could simply get other accounts temporarily locked by typing in the wrong password. What if it's there's an emergency to be in server? Servers having limited offers could get this to be a problem. I'd block the IP temporarily if they kept on exceeding the limits over MULTIPLE accounts at a short period of time.
Actually that's a better solution. I'll make a new table for temp blocked IPs to a specific account ID (foreign key).


Re: [MySQL/SQLite] Advance Login & Register System (base script) - Lordzy - 04.01.2017

Quote:
Originally Posted by Wolfe
Посмотреть сообщение
Just remove the feature then?
It's not up to me because I'm not going to use this. But a lot of others might find it helpful which is why I've suggested it to the script developer.


Re: [MySQL/SQLite] Advance Login & Register System (base script) - GhostKiller123 - 04.01.2017

Great Login/Register system
+rep


Re: [MySQL/SQLite] Advance Login & Register System (base script) - bogushas - 04.01.2017

Quote:
Originally Posted by Gammix
Посмотреть сообщение
Ofcourse, this week I'll release it. Busy in work for now.
Are u gonna release it with the newest mysql version (r41-2 ( think so ))?


Re: [MySQL/SQLite] Advance Login & Register System (base script) - Bolex_ - 04.01.2017

Nicely done man! Going to use it maybe!