SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 04/05/2014, 04:05 PM   #1
iRaiDeN
Huge Clucker
 
iRaiDeN's Avatar
 
Join Date: Mar 2014
Location: Israel
Posts: 480
Reputation: 41
Default Advanced registration system (MySQL)

Information
First, the system is based on MySQL, this system mainly syllabus type RP, basically that's how it goes, you register, then - it seems your age, after that, two questions (What is DM && What is RK), you can add more questions, all of the dialogue humidifier up,
PHP Code:
#define     DIALOG_REGISTER     (1001)
#define     DIALOG_LOGIN        (1002)
#define     DIALOG_TYPE_AGE     (1003)
#define     DIALOG_DM           (1004)
#define     DIALOG_RK           (1005)
#define     DIALOG_DONE         (1006) 
Finally it is recorded, you can add the command stats, basically the whole system is based on the variables, so it was very easy for you, also you need to change the server,username,and the databse, to get the mysql connect to your server, it's open you auto table in the database, change it,
HTML Code:
#define     DB_SERVER       "127.0.0.1"
#define     DB_USER         "root"
#define     DB_DB           "samp"
#define     DB_PASS         ""
Screenshots
Soon.

Download
Pastebin.
SolidFiles.

Credits
MySQL - BlueG;
iRaiDeN is offline   Reply With Quote
Old 04/05/2014, 04:08 PM   #2
Jay_Dixon
Huge Clucker
 
Jay_Dixon's Avatar
 
Join Date: Aug 2012
Posts: 248
Reputation: 17
Default Re: Advanced registration system (MySQL)

Trying it out now, but you didn't write anything that actually connects to the database? How's it supposed to save and load things in that case?
__________________


Jay_Dixon is offline   Reply With Quote
Old 04/05/2014, 04:09 PM   #3
iRaiDeN
Huge Clucker
 
iRaiDeN's Avatar
 
Join Date: Mar 2014
Location: Israel
Posts: 480
Reputation: 41
Default Re: Advanced registration system (MySQL)

Quote:
Originally Posted by Jay_Dixon View Post
Trying it out now, but you didn't write anything that actually connects to the database? How's it supposed to save and load things in that case?
When the player disconnect.

Last edited by iRaiDeN; 04/05/2014 at 04:43 PM.
iRaiDeN is offline   Reply With Quote
Old 04/05/2014, 06:12 PM   #4
iRaiDeN
Huge Clucker
 
iRaiDeN's Avatar
 
Join Date: Mar 2014
Location: Israel
Posts: 480
Reputation: 41
Default Re: Advanced registration system (MySQL)

Comments?
iRaiDeN is offline   Reply With Quote
Old 04/05/2014, 07:08 PM   #5
GeasyW
Big Clucker
 
GeasyW's Avatar
 
Join Date: Aug 2013
Location: #include <wallace>
Posts: 138
Reputation: 15
Default Re: Advanced registration system (MySQL)

add some screenshots please, cant judge !
GeasyW is offline   Reply With Quote
Old 04/05/2014, 07:09 PM   #6
iRaiDeN
Huge Clucker
 
iRaiDeN's Avatar
 
Join Date: Mar 2014
Location: Israel
Posts: 480
Reputation: 41
Default Re: Advanced registration system (MySQL)

Quote:
Originally Posted by GeasyW View Post
add some screenshots please, cant judge !
What?
iRaiDeN is offline   Reply With Quote
Old 04/05/2014, 07:14 PM   #7
GeasyW
Big Clucker
 
GeasyW's Avatar
 
Join Date: Aug 2013
Location: #include <wallace>
Posts: 138
Reputation: 15
Default Re: Advanced registration system (MySQL)

Quote:
Originally Posted by iRaiDeN View Post
What?
Add some screenshots.. So we can judge your FilterScript
GeasyW is offline   Reply With Quote
Old 04/05/2014, 07:16 PM   #8
iRaiDeN
Huge Clucker
 
iRaiDeN's Avatar
 
Join Date: Mar 2014
Location: Israel
Posts: 480
Reputation: 41
Default Re: Advanced registration system (MySQL)

Quote:
Originally Posted by GeasyW View Post
Add some screenshots.. So we can judge your FilterScript
later i sorry, so you can give comments on the code?
iRaiDeN is offline   Reply With Quote
Old 04/05/2014, 07:38 PM   #9
GeasyW
Big Clucker
 
GeasyW's Avatar
 
Join Date: Aug 2013
Location: #include <wallace>
Posts: 138
Reputation: 15
Default Re: Advanced registration system (MySQL)

Quote:
Originally Posted by iRaiDeN View Post
later i sorry, so you can give comments on the code?
Comments on the code? What do you mean?
GeasyW is offline   Reply With Quote
Old 04/05/2014, 07:39 PM   #10
iRaiDeN
Huge Clucker
 
iRaiDeN's Avatar
 
Join Date: Mar 2014
Location: Israel
Posts: 480
Reputation: 41
Default Re: Advanced registration system (MySQL)

Quote:
Originally Posted by GeasyW View Post
Comments on the code? What do you mean?
Nevermind.
iRaiDeN is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[MySQL] Advanced Registration System Carlton Filterscripts 52 11/04/2014 07:23 AM
[Tutorial] Building an advanced invite-only registration system [MySQL] GiamPy. Tutorials 1 11/07/2013 05:08 PM
Advanced registration system. Shetch Scripting Help 5 06/04/2012 03:29 PM
[INFO]System Registration based mysql TheBluec0de Scripting Help 6 30/09/2011 05:55 PM
[Tutorial] Advanced registration system me-borno Tutorials 5 22/01/2011 09:42 PM


All times are GMT. The time now is 08:03 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.