[FilterScript] r_Register MySQL BASED Registration FS
#1

This is the registration system filterscript for users who are not able to create system like this one.
All information is stored in MySQL database, when player registers his data is saving in table.

News: You must enter security code to register your account, the code is placed on the left side of your screen in TextDraw mode. With this you will know that human is registering and u will be protected from bots and other illeagal things.

IP Connections
Registered people receives a password which they will use for log in when they will connect from other ip adress.
Security is guaranteed!


Quote:

ChangeLog

0.2 - Fixed some bugs with load data. Added 0.3c colors. Security code now supported with numbers and letters. Changed textdraw.


0.2.1.
Added Ban System and ban kick commands.

Now you can manage how much player can register users per ip, using 1line. - Suggestion By Gh0st_


pawn Code:
#define MAX_ACCOUNTS_PER_IP 4 // MAX ACCOUNTS PER 1IP
0.2.2

Optimized script. SQL syntaxes now formating with mysql_format function.
Now script using OnQueryFinish callback for better query threading

All Commands.

Quote:
BAN - /ban [Nick/ID] [Reason]
KICK - /kick [Nick/ID] [Reason]
FREEZE - /freeze [Nick/ID] MODE: 0 - time in seconds 1 - time in minutes.
SLAP - /slap [Nick/ID] [Height] [Reason]

Pictures:









v 0.2.1







Not found.

New Version 0.2.2: http://solidfiles.com/d/6be7/
Old version 0.2.1: http://solidfiles.com/d/8d0d1/



1. Sscanf plugin:
https://sampforum.blast.hk/showthread.php?tid=120356
2. MySQL plugin: https://sampforum.blast.hk/showthread.php?tid=56564


-Raimis.

Comments?
Reply
#2

Nice work 10/10
Reply
#3

Thanks.
Reply
#4

Nice work dude
Reply
#5

Thanks.

If you have any ideas pm me or write here.

Maybe more comments
Reply
#6

Nice man keep it up.
Reply
#7

Just what i needed. Thanks!
Reply
#8

Thanks and no problem.
Reply
#9

Great work ! maybe i will use it in future
Reply
#10

Very, nice. ThankS
Reply
#11

Good work brother 10/10
Reply
#12

Thanks all.
Reply
#13

really nice work! I may use it in future
Reply
#14

than i press start my samp-server.exe the cmd didn\'t shows for me with that FS, without whis FS it works fine.
Reply
#15

Hello.


I forgot about this fs.. So now i updated it.

Quote:

0.2 - Fixed some bugs with load data. Added 0.3c colors. Security code now supported with numbers and letters. Changed textdraw.

Pictures:










New Download link http://solidfiles.com/d/54ac/
Reply
#16

I like the idea with image, nice work
Reply
#17

how come when I open the dos I immediately close the server? instead of the mysql logs...

Code:
[17:37:31]  

[17:37:31] ---------------------------

[17:37:31] MySQL Debugging activated (07/24/11)

[17:37:31] ---------------------------

[17:37:31]  

[17:37:31] >> mysql_connect( )

[17:37:31] CMySQLHandler::CMySQLHandler() - constructor called.

[17:37:31] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "sa-mp" | Username: "root" ...

[17:37:32] CMySQLHandler::Connect() - Can\'t connect to MySQL server on \'localhost\' (10061) (Error ID: 2003)

[17:37:32] >> mysql_ping( Connection handle: 1 )

[17:37:32] CMySQLHandler::Ping() - You cannot call this function now. (Reason: Dead Connection)

[17:37:32] >> mysql_close( Connection handle: 1 )

[17:37:32] CMySQLHandler::~CMySQLHandler() - deconstructor called.

[17:37:32] CMySQLHandler::FreeResult() - There is nothing to free (Reason: Connection is dead)

[17:37:32] CMySQLHandler::Disconnect() - You cannot call this function now. (Reason: Connection is dead)
Reply
#18

FilterScript cant connect to mysql. Maybe you dont have mysql server on computer?
Reply
#19

I downloaded and put only the plugins etc.
Reply
#20

You need mysql and apache to run it on pc.
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)