SA-MP Forums Archive
[FilterScript] foxReg - C-MySQL reg/log system - ALPHA - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] foxReg - C-MySQL reg/log system - ALPHA (/showthread.php?tid=314287)



foxReg - C-MySQL reg/log system - ALPHA - TheBetaFox - 29.01.2012

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.


Re: foxReg - C-MySQL reg/log system - ALPHA - RuSke - 29.01.2012

Coll 9/10 man


Re: foxReg - C-MySQL reg/log system - ALPHA - TheBetaFox - 29.01.2012

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


Re: foxReg - C-MySQL reg/log system - ALPHA - TheBetaFox - 30.01.2012

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.


Re: foxReg - C-MySQL reg/log system - ALPHA - Tornadoxx - 05.02.2012

I Will test it