[FilterScript] foxReg - C-MySQL reg/log system - ALPHA
#1

foxReg
Hi, guys! Today I bring you a (quite unfinished) C-MySQL based registration system, FoxReg!

- Needed:
--- Includes:
----- YSI Server Includes (by ******)
----- C-MySQL (by Carlton)
----- a_fox (found in my signature, but it is packed in the zip)
----- y_md5 (will change to Whirlpool. Packed in the ZIP file.)
--- BlueG's MySQL Plugin
----- You can find it in the plugin development section.
--- ******' SSCANF2 Plugin
----- You can find it in the plugin development section.
----- not needed, but I am going to use it in the future. You can undef it.
--- MySQL Database
----- You will NEED a MySQL server to be set up.
pawn Код:
#define MYSQL_HOST  "localhost"     // Host the database is located on; usually 127.0.0.1 or localhost
#define MYSQL_USER  "root"          // Username the plugin uses to log onto the host
#define MYSQL_PASS  ""              // Password the plugin uses to log onto the host
#define MYSQL_DB    "database"      // The name of the MySQL database that should be accessed
Replace this after your needs.

- This is just a beta version, mostly copied from my server's also unfinished gamemode.
- Also, in the table where C-MySQL is set up (see its thread, linked above, for details) you need to set up the - following fields: Score, Money, Admin, VIP, Kills, Deaths, Muted, Frozen, MutedT, FrozenT, Banned, Logins. (all INT, default length).
- (That's also a list of everything that is saved.)
- The registering and logging are done via dialogs.

EDIT: It is now uploaded as an attachment!

EDIT2: UPDATED!
ADDED COMMANDS:
LVL 1: /warn /mute /unmute
LVL 2: /kick /ban /freeze /unfreeze
LVL 3: /setadmin /setvip
Redownload the attachment.
Reply
#2

Coll 9/10 man
Reply
#3

Thanks, guys! The next version will have admin and VIP commands.
Reply
#4

Updated!
ADDED COMMANDS:
LVL 1: /warn /mute /unmute
LVL 2: /kick /ban /freeze /unfreeze
LVL 3: /setadmin /setvip
Redownload the attachment.

Soon, I will also change md5 with Whirlpool, and add some VIP commands.
Reply
#5

I Will test it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)