22.06.2013, 17:06
(
Last edited by TheCartman; 15/01/2015 at 08:21 AM.
)
Server Protect Attack (V 1.1)
NOW WITH MULTI-LANGUAGES SYSTEM
NOW WITH MULTI-LANGUAGES SYSTEM
Since June 22, 2013, last update on January 15, 2015
Author: © Cartman# (Dimmi)
Description: It is a FScript compound of several functions:
• ANTI-BOTS
• ANTI-FLOOD
• ANTI-PING
• ANTI-ADVERTISING ( Words on this function are in Romanian Language, you can change and add more )
• ANTI-CHEATS ( Not work perfectly, but work )
I mention that only the function "ANTI-ADVERTISING" is made by me, the rest are adapted from the internet, all made me somehow. (I translated and corrected them)
How does it work? Each function has been brought to the same point:
• ANTI-BOTS & ANTI-FLOOD: When someone tries to flood this message appears "SERVER: Player X banned for attempting to flood.".
• ANTI-PING: Ping the maximum is 200, you can change if you believe that it's fine. When someone exceeds the maximum ping receives a warning (NOT WARN), if he accumulates 3 warnings gets kicked. "SERVER: Player X has been disconnected. Reason: Lag.".
• ANTI-ADVERTISING: When someone types in "gta.", "samp.",. "www." etc.. will get kicked. Message: "Server: X has been disconnected. Reason: Advertise.".
• ANTI-CHEATS: Here I have implemented several functions: WEAPONHACK, MONEYHACK, TELEPORTHACK, SPEEDHACK, HEALTHHACK, ARMOURHACK, VEHICLEHEALTHHACK, FAKEKILLHACK, AIRBREAKHACK, CARSPAWNHACK. When a player is found with one of the above gets money and a message: "Server: X (ID: Y) was banned because he was caught with codes! (CHEAT_NAME)".
Download:
(V1.1)
• MEGA: Click
• DropBox: Click
• GirlShare: Click
(V1.0.3)
• Solidfiles: Click
(V1.0.1)
• Pastebin: Click
--> This is Romanian version.
How to install?
#1. Copy the archive "Server_Protect_Attack_(<version>).rar" in the server folder and unzip it.
#2. Open the "server.cfg" and add on line "filterscripts", "ProtectServer".
EX:
Code:
filterscripts ProtectServer
#3. Restart the server..
#4. Enjoy my work!
*NEW* How to change language?
#1. Go to ..\filterscripts\ProtectServer.pwn.
#2. Press CTRL + F (or start find option) and type PROTECTSERVER_LANG.
#3. Take a look above this text and choose variable for your language!
#4. Enter your variable after the defined item.
Example:
Code:
#define PROTECTSERVER_LANG 0 // for english language
#6. Restart server and enjoy it!
Change log:
Quote:
Originally Posted by © Cartman#
(version 1.0.0)
• All default settings. (version 1.0.1) • Not allowed tentative name containing advertisements or commercials. (version 1.0.2) • Anti-Ping function added. • Resolve bugs that produced crash. (version 1.0.3 RO) • Anti-Cheats function added. • Includes changed, now there is no need to change him. It's all in filterscript. (version 1.0.3 EN) • Language changed. New language is english. (version 1.1) • Language system added! Languages: Romanian and English. • Libs were changed. Now you can find under ..\include\ProtectServer\ the ps_languages.inc and ps_settings.inc. Not recommended for beginners!. |
Second, please appreciate my work and please do not remove the credits.
If you find some bugs or crash errors please post it here or contact me to fix them immediately.
I promise to come back with an update for ps_languages.inc with the most popular languages, like fr, de, es and with an in-game support and settings update.
I'm sorry for Anti Car Spawn function. It's bugged, I know. I'll try to fix it!
Thanks!