SA-MP Forums Archive
[FilterScript] Server Protect Attack [v1.0.3] [June 22, 2013] - 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] Server Protect Attack [v1.0.3] [June 22, 2013] (/showthread.php?tid=445711)

Pages: 1 2


Server Protect Attack [v1.1] [June 22, 2013] - TheCartman - 22.06.2013

Server Protect Attack (V 1.1)
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
#2*. (tip) Make sure ProtectServer is first on line for a perfectly work!
#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
#5. Save the file and compile it.
#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!.
Comment: First I apologize for my bad english. )
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!


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - XtremeR - 22.06.2013

Great work there, +3 reps.


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - TheCartman - 23.06.2013

Quote:
Originally Posted by XtremeR
View Post
Great work there, +3 reps.
Thank you.


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - tboysamp - 23.06.2013

it works good job man ty


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - $mooth - 23.06.2013

Well done, perfect work


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - dEcooR - 23.06.2013

i go test it maybe thnx for share it


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - SeV_ - 23.06.2013

Well. Good job


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - Jawz - 23.06.2013

This is awesome, thanks


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - TheCartman - 23.06.2013

Thank you all!


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - Sulps - 23.06.2013

Coool
Surely Gonna use it
+rep


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - xser - 23.06.2013

tested, good work man


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - Jawz - 23.06.2013

great work! +1


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - TheCartman - 24.06.2013

Thanks. Thanks for all.


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - NoahF - 24.06.2013

Nice work!


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - PawnoCu - 24.06.2013

Nice man. I'll to test.
(Bad English. I'm from Brazil)


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - Ragazzo - 09.07.2013

how to change max ping?


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - TheCartman - 09.07.2013

Quote:
Originally Posted by Ragazzo
Посмотреть сообщение
how to change max ping?
Search "#define MAX_PING 200" and change with what you want. Good luck!


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - WhiteLimo - 09.07.2013

Very good +rep


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - TheCartman - 23.07.2013

Quote:
Originally Posted by WhiteLimo
Посмотреть сообщение
Very good +rep
Thank you!


Re: Server Protect Attack [v1.0.3] [June 22, 2013] - Uberanwar - 23.07.2013

Nice! Anyway, does it conflict with other admin system?
+rep