Register And Login System With Clickable Textdraws(MySQL R41+) -
JuanUgalde - 09.10.2017
Register And Login System With Clickable Textdraws
Hello SA-MP Forums, a few days ago I found a video about a registration system with clickable textdraws, I quite liked but there not was a download link, I decided to create an identical system and here I leave for you as well.
To edit the system configurations
To set the maximum number of failed login attempts
Code:
#if !defined MAX_LOGGIN_ATTEMPTS
#define MAX_LOGGIN_ATTEMPTS (5)
#endif
To set the minimum/max number of characters that a password must have
Code:
#if !defined MIN_PASSWORD_LENGTH
#define MIN_PASSWORD_LENGTH 5
#endif
#if !defined MAX_PASSWORD_LENGTH
#define MAX_PASSWORD_LENGTH 20
#endif
To set the year older and newer than we can select as year of birth
Code:
#if !defined MIN_DATE_YEAR
#define MIN_DATE_YEAR (1850)
#endif
#if !defined MAX_DATE_YEAR
#define MAX_DATE_YEAR (2018)
#endif
To change the color of the textdraw when we pass the mouse over the textdraw clickable
Code:
#if !defined COLOR_LOGGIN_TD_HOVERING
#define COLOR_LOGGIN_TD_HOVERING (0x00C100FF)
#endif
#if !defined COLOR_REGISTER_TD_HOVERING
#define COLOR_REGISTER_TD_HOVERING (0xFF000085)
#endif
For configure the MySQL database, you must add your information in the mysql.ini file
The system automatically recognizes a leap year and correctly show the days of february depending if the year is a leap year or not
Two useful commands were added to the system "/changepassword" and "/changegender"
Download
github -
https://github.com/JuanUgalde/MySQL-...d-Login-System
pastebin -
https://pastebin.com/S1HeR5SS
Re: Register And Login System With Clickable Textdraws(MySQL R41+) -
Mr.Vince™ - 09.10.2017
Aweosme
Re: Register And Login System With Clickable Textdraws(MySQL R41+) -
vHero - 11.10.2017
Looks like good work! Keep it up +1
Re: Register And Login System With Clickable Textdraws(MySQL R41+) -
Foxtrone - 14.10.2017
Good work! Compatible with MySQL R5?
Re: Register And Login System With Clickable Textdraws(MySQL R41+) -
JuanUgalde - 28.01.2018
Quote:
Originally Posted by Mr.Vince™
Aweosme
|
Quote:
Originally Posted by vHero
Looks like good work! Keep it up +1
|
Thanks!
Quote:
Originally Posted by Foxtrone
Good work! Compatible with MySQL R5?
|
No, only MySQL R41+
Re: Register And Login System With Clickable Textdraws(MySQL R41+) -
Stev - 28.01.2018
Very good.
Re: Register And Login System With Clickable Textdraws(MySQL R41+) -
ItzColaBoi - 28.01.2018
Awesome work fam.
Re: Register And Login System With Clickable Textdraws(MySQL R41+) -
iSteve - 28.01.2018
Amazing mate!
Really loved it, very clean!
+2REP !
Re: Register And Login System With Clickable Textdraws(MySQL R41+) -
Koblic - 29.01.2018
Cool! Good job, awesome
Re: Register And Login System With Clickable Textdraws(MySQL R41+) -
ByMatt20030 - 29.01.2018
With this script i learned a bit of MySQL... a very clean code.
Good job
Re: Register And Login System With Clickable Textdraws(MySQL R41+) -
ashhadali - 17.04.2018
Hello there,
I am facing the following errors, please help.
Code:
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(130) : error 017: undefined symbol "mysql_connect_file"
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(130) : warning 213: tag mismatch
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(132) : warning 213: tag mismatch
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(138) : warning 213: tag mismatch
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(147) : warning 213: tag mismatch
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(147) : warning 213: tag mismatch
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(164) : warning 213: tag mismatch
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(541) : error 017: undefined symbol "cache_get_value_name"
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(542) : error 017: undefined symbol "cache_get_value_name"
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(544) : error 017: undefined symbol "cache_get_value_name_int"
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(545) : error 017: undefined symbol "cache_get_value_name_int"
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(595) : error 035: argument type mismatch (argument 3)
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(900) : warning 213: tag mismatch
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(984) : warning 213: tag mismatch
C:\Users\ARC\Desktop\New Project\filterscripts\login.pwn(1016) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase