綜合派對
欢迎来到派对论坛~

请登陆后浏览更多精彩的帖子吧~
若您还没有注册成为会员请现在立即注册成为会员吧 XD
綜合派對
欢迎来到派对论坛~

请登陆后浏览更多精彩的帖子吧~
若您还没有注册成为会员请现在立即注册成为会员吧 XD
綜合派對
Would you like to react to this message? Create an account in a few clicks or log in to continue.


派对
 
Home首页欢迎页SearchLatest imagesRegisterLog in

 

 Register System V5.0 by m0skVi4a ;]

Go down 
2 posters
AuthorMessage
Dsong90
五级清风
五级清风
Dsong90


帖子数 : 81
积分 : 46295
威望 : 3
注册日期 : 2012-04-12
年龄 : 26
地点 : Sarawak

Register System V5.0 by m0skVi4a ;] Empty
PostSubject: Register System V5.0 by m0skVi4a ;]   Register System V5.0 by m0skVi4a ;] Icon_minitimeMon Apr 16, 2012 10:53 am

Plugin Name: Register System
Plugin Author: m0skVi4a ;]
Plugin Version: 5.0
Modification: Counter - Strike
Category: General Purpose



Description:
This is Register System. You can put a password to your name and if
someone connect to the server with the same name he will be kicked if he
does not login.

Pictures:
Register System V5.0 by m0skVi4a ;] B5f5fc22d93ec77e

Register System V5.0 by m0skVi4a ;] 65a2e301ef12e92e

Register System V5.0 by m0skVi4a ;] Dcbf2d8a6257c229

Register System V5.0 by m0skVi4a ;] F72c5500603ffaba

Register System V5.0 by m0skVi4a ;] 11c385f1e021467a

Register System V5.0 by m0skVi4a ;] E545cdcba7270da9

Register System V5.0 by m0skVi4a ;] 3646fe0ee1725656

Register System V5.0 by m0skVi4a ;] 9950dc43247c5fa0

Commands:

say /reg
say_team /reg
Open the register system menu
Or the Jointeam button (Default: M)


CVARS:

"rs_on" - Is the plugin on(1) or off(0). Default: 1
"rs_save_type" - Where to seve the information: to file(0) or to MySQL(1). [b]Default: 0

"rs_host" - The host for the database. Default: 127.0.0.1
"rs_user" - The username for the database login. Default: root
"rs_pass" - The password for the database login. Default:
"rs_db" - The database name. Default: registersystem
"rs_password_prefix" - The prefix of the setinfo for the Auto Login function. Default: _rspass
"rs_register_time" - How much time has the client to register. If is set to 0 registration is not mandatory. Default: 0
"rs_login_time" - How much time has the client to login if is registered. Default: 60.0
"rs_messages" - What messages will be displayed when the client
connect - only hud messages(1), only chat messages(2) or hud and chat
messages(3). Default: 3
"rs_password_len" - What is minimum length of the password. Default: 6
"rs_attempts" - How much attempts has the client to login if he type wrong password. Default: 3
"rs_chngpass_times" - How much times can the client change his password per map. Default: 3
"rs_register_log" - Is it allowed the plugin to log in file when the client is registered. Default: 1
"rs_chngpass_log" - Is it allowed the plugin to log in file when the client has change his password. Default: 1
"rs_autologin_log" - Is it allowed the plugin to log in file when the client has change his Auto Login function. Default: 1
"rs_name_change" - Which of the clients can change their names - all
clients(0), all clients without Logged cients(1) or no one can(2). Default: 1
"rs_blind" - Whether clients who have not Logged or who must Register be blinded. Default: 1
"rs_chat" - Whether clients who have not Logged or who must Register chat's be blocked. Default: 1
"rs_logout" - What to do when client Logout - kick him from the server(0) or wait to Login during the Login time(1). Default: 0

All CVARS are without quotes


Credits:

m0skVi4a ;] - for the idea and make the plugin
ConnorMcLeod - for his help to block the name change for the clients
Sylwester - for the idea for the encrypt
dark_style - for ideas in the plugin


Changelog:

November 6, 2011 - v1.0 BETA:
- First Release

November 20, 2011 - v1.1 FINAL
- Fixed some bugs
- Added hange Password function
- Added Info/Help
- Added cvars to show when the client is registered and change his password
- Password are now encrypted for more safety

November 23, 2011 - v1.1 FINAL FIX 1
- Fixed bug if the client type more than CVAR setted attempts passwords

November 28, 2011 - v1.1 FINAL FIX 2
- Fixed bug if that the menu does not pop up when user connect

December 26, 2011 - v2.0
- Fixed bug if player change his name and the system does not check the new name
- Added block chooseteam if the client is registered but not logged
- Added MySQL support
- Added .cfg file to manually set the settings of the system
- Added CVAR for to set which clients can change their names
- Added auto login on changevel or client retry

December 27, 2011 - v2.0 FIX 1
- Fixed bug with the kick function

January 3, 2012 - v2.0 FIX 2
- Fixed bug with the auto login function that does not work on steam clients

January 24, 2012 - v3.0
- Fixed bug with the MYSQL Connection
- Added new style of the Change Password function
- Removed some CVARs and added new
- Now in the Register System file or into MYSQL table is not saving
the date and time for registering or for changing password for the
client. They are saving in special log file with name
register_system_log.txt

February 17, 2012 - v4.0
- Fixed some little bugs
- Added new style of the main menu
- Removed the possibility of SQL Injection
- The whole name change function is rewritten
- Added option for the not registered and not logged clients to be blinded
- Added option for the not registered and not logged clients chat's to be blocked
- Added showing information in the consoles of the clients about why they are kicked

February 19, 2012 - V4.0 FIX 1
- Fixed bug with the join in the Spectator team
- Added the Auto Assign option in the main menu
- Small rewrite of the Auto Login function

March 10, 2012 - V5.0
- Fixed bug with % that replace the space in the name of the client
- Fixed the bug with the menu that stands when client choose team
- Fixed some little bugs
- Added new style of the main menu


Moduls:



PHP Code:




#include

#include

#include

#include







Libraries:



PHP Code:




#include







Installation
1. Compile the plugin
2. .amxx file goes to plugins dir
3. registersystem.cfg goes to configs dir
4. (незадължително) goes to regusers.ini в configs dir
5. Choose rshelpmotd_*.txt, rename it to rshelpmotd.txt and put it in cstrike dir
6. Add at the top of plugins.ini the name of the .amxx file
7. Set up registersystem.cfg and start the server. The plugin will automatically create regusers.ini file or the table for the database if it is necessary.


IMPORTANT
- To work the plugin properly, it has to be at the top of plugins.ini

- If you want to edit the SALT, find:



PHP Code:




#define SALT "8c4f4370c53e0c1e1ae9acd577dddbed"






and edit this "8c4f4370c53e0c1e1ae9acd577dddbed", but not to be more than 32 characters.

- If in the console pops up the message info string length exceeded it means that the client has too many setinfo's in his configs.cfg and he would not be able to use Auto Login function until he delete some of the setinfos


This plugin is tested by me, m0skVi4a ;] , on AMX MOD X 1.8.1 and it works properly!!!

Download :Register System V5.0


Last edited by Dsong90 on Mon Apr 16, 2012 10:54 am; edited 1 time in total (Reason for editing : j)
Back to top Go down
http://www.podclanblog.blogspot.com
blancik
新會員
新會員



帖子数 : 2
积分 : 42042
威望 : 2
注册日期 : 2013-05-23

Register System V5.0 by m0skVi4a ;] Empty
PostSubject: Re: Register System V5.0 by m0skVi4a ;]   Register System V5.0 by m0skVi4a ;] Icon_minitimeThu May 23, 2013 4:51 pm

nie mozna pobrac
Back to top Go down
blancik
新會員
新會員



帖子数 : 2
积分 : 42042
威望 : 2
注册日期 : 2013-05-23

Register System V5.0 by m0skVi4a ;] Empty
PostSubject: Re: Register System V5.0 by m0skVi4a ;]   Register System V5.0 by m0skVi4a ;] Icon_minitimeThu May 23, 2013 4:51 pm

nie moge pobrac zal !!
Back to top Go down
 
Register System V5.0 by m0skVi4a ;]
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
綜合派對 :: ~Chinese Zone~ :: Chinese Zone :: 游戏区域 :: 综合游戏 :: PC游戏 :: Counter-Strike :: cstrike :: CSAMXX插件脚本(Plugins)-
Jump to: