SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 01/04/2016, 07:33 PM   #11
SickAttack
Godfather
 
Join Date: Dec 2013
Posts: 5,157
Reputation: 751
Default Re: Anti Advertising

Quote:
Originally Posted by JokeyL View Post
Still don't work..
Well, this one does: http://forum.sa-mp.com/showthread.php?t=604097

#NO_TRASHING_TOPIC
SickAttack is offline   Reply With Quote
Old 05/04/2016, 07:08 PM   #12
sheNdjze
Big Clucker
 
sheNdjze's Avatar
 
Join Date: Aug 2012
Location: Venezia
Posts: 97
Reputation: 11
Default Re: Anti Advertising

great script, but it has to block dns ips too like server.roleplay.com:7777
__________________
WWW.REBORNKILLERZ.COM


ReborN RPG Server: RPG.REBORNKILLERZ.COM / 93.119.26.207:7777

(don't PM me for scripting help)

From Romania.
SA-MP Player Since 2006
SA-MP Scripter Since 2014

sheNdjze is offline   Reply With Quote
Old 05/04/2016, 07:46 PM   #13
SecretBoss
Gangsta
 
SecretBoss's Avatar
 
Join Date: Dec 2014
Location: Greece
Posts: 831
Reputation: 102
Default Re: Anti Advertising

Quote:
Originally Posted by sheNdjze View Post
great script, but it has to block dns ips too like server.roleplay.com:7777
Since it contains ":7777" I think that it will blocked anyway, but in case you want to block that domains then you will need to block every domain and it will may be a problem
__________________
SecretBoss is offline   Reply With Quote
Old 05/04/2016, 10:52 PM   #14
Kar
High-roller
 
Kar's Avatar
 
Join Date: May 2010
Location: Black Asylum
Posts: 3,154
Reputation: 450
Default Re: Anti Advertising

Quote:
Originally Posted by JokeyL View Post
Code:
255-255-255-255:7777
Don't detect.
Quote:
Originally Posted by SickAttack View Post
Well, this one does: http://forum.sa-mp.com/showthread.php?t=604097

#NO_TRASHING_TOPIC
Works now.


[05/04/2016 17:12:17] 255-255-255-255:7777 - 1.

Fixed in https://github.com/Kar2k/samp-anti-a...b690a7b26728a4
Kar is offline   Reply With Quote
Old 08/04/2016, 07:02 AM   #15
Kar
High-roller
 
Kar's Avatar
 
Join Date: May 2010
Location: Black Asylum
Posts: 3,154
Reputation: 450
Default Re: Anti Advertising

Added an option to check for fixed separation between ip numbers. Enabled by default.

Meaning 127 ....... 0. 1. 1. is not a valid IP but 127.0.1.1 is a valid
IP.

If you have people speaking etc in your server, you should leave this on
by default.

https://github.com/Kar2k/samp-anti-a...50151c64b769e9
Kar is offline   Reply With Quote
Old 13/02/2017, 03:13 AM   #16
Kar
High-roller
 
Kar's Avatar
 
Join Date: May 2010
Location: Black Asylum
Posts: 3,154
Reputation: 450
Default Re: Anti Advertising

UPDATE!

- Disabled fixed seperation by default.
- Added support for ranges.
- Added support for numbers such as 0255 or 0005 (technically people can use this to advertise E.G (join my server at 0192. 0169 .0094.030.. and tell them to take out the 0s which would then be 192.169.94.30)

Code:
[12/02/2017 23:00:27] 000.000.000.000 - 1.

[12/02/2017 23:00:27] 0000.000.000.0000 - 1.

[12/02/2017 23:00:27] 0052.255.255.0000 - 1.

[12/02/2017 23:00:27] 0.0.0.0 - 1.

[12/02/2017 23:00:27] 127.0.0.1 - 1.

[12/02/2017 23:00:27] 127  .  0.  0.  1:  7777 - 1.

[12/02/2017 23:00:27] 255.255.255.255 - 1.

[12/02/2017 23:00:27] PLS COME JOIN SERVER 37____187____22____119 - 1.

[12/02/2017 23:00:27] PLS COME JOIN SERVER 37 $$$$ 187 $$$$ 22 $$$$ 119 - 1.

[12/02/2017 23:00:27] -32.-187.-22.-119 - NOTE: REMOVE THE -s AND JOIN NOW! - 1.

[12/02/2017 23:00:27] 255-255-255-255:7777 - 1.

[12/02/2017 23:00:27] -1.-1.-1.-1 - 1.

[12/02/2017 23:00:27] *.*.*.* - 1.

[12/02/2017 23:00:27] 255.*.*.* - 1.

[12/02/2017 23:00:27] 255.255.*.* - 1.

[12/02/2017 23:00:27] 255.255.255.* - 1.

[12/02/2017 23:00:27] 1-1.1-1.1-1.1-1 - 1.

[12/02/2017 23:00:27] ana oltlo gam3 al 11.5m ra7 2ly gm3thom b3ad keda oltlo gam3 12m 2ly gm3thom fa olto gam3 12.5 - 1.

[12/02/2017 23:00:27] 255.256.255.255 - 0.

[12/02/2017 23:00:27] 0052.255.255.1231 - 0.

https://github.com/karimcambridge/sa...daf6b0b4d624cd
Kar is offline   Reply With Quote
Old 17/06/2017, 02:27 PM   #17
Zorono
Huge Clucker
 
Zorono's Avatar
 
Join Date: Dec 2015
Location: GetPlayerPos(271055, Float:xCord, Float:yCord, Float:zCord);
Posts: 365
Reputation: 26
Question Re: Anti Advertising

Quote:
Originally Posted by Kar View Post
UPDATE!

- Disabled fixed seperation by default.
- Added support for ranges.
- Added support for numbers such as 0255 or 0005 (technically people can use this to advertise E.G (join my server at 0192. 0169 .0094.030.. and tell them to take out the 0s which would then be 192.169.94.30)

Code:
[12/02/2017 23:00:27] 000.000.000.000 - 1.

[12/02/2017 23:00:27] 0000.000.000.0000 - 1.

[12/02/2017 23:00:27] 0052.255.255.0000 - 1.

[12/02/2017 23:00:27] 0.0.0.0 - 1.

[12/02/2017 23:00:27] 127.0.0.1 - 1.

[12/02/2017 23:00:27] 127  .  0.  0.  1:  7777 - 1.

[12/02/2017 23:00:27] 255.255.255.255 - 1.

[12/02/2017 23:00:27] PLS COME JOIN SERVER 37____187____22____119 - 1.

[12/02/2017 23:00:27] PLS COME JOIN SERVER 37 $$$$ 187 $$$$ 22 $$$$ 119 - 1.

[12/02/2017 23:00:27] -32.-187.-22.-119 - NOTE: REMOVE THE -s AND JOIN NOW! - 1.

[12/02/2017 23:00:27] 255-255-255-255:7777 - 1.

[12/02/2017 23:00:27] -1.-1.-1.-1 - 1.

[12/02/2017 23:00:27] *.*.*.* - 1.

[12/02/2017 23:00:27] 255.*.*.* - 1.

[12/02/2017 23:00:27] 255.255.*.* - 1.

[12/02/2017 23:00:27] 255.255.255.* - 1.

[12/02/2017 23:00:27] 1-1.1-1.1-1.1-1 - 1.

[12/02/2017 23:00:27] ana oltlo gam3 al 11.5m ra7 2ly gm3thom b3ad keda oltlo gam3 12m 2ly gm3thom fa olto gam3 12.5 - 1.

[12/02/2017 23:00:27] 255.256.255.255 - 0.

[12/02/2017 23:00:27] 0052.255.255.1231 - 0.

https://github.com/karimcambridge/sa...daf6b0b4d624cd
found a new bug or idk
why does it counts this text 'Let's goto ******** and chat there...' as an ADV it kicks me multiple times with false reasons .... and iam not using any another Includes for ADV detect... please some bug fixs
Zorono is offline   Reply With Quote
Old 18/06/2017, 01:44 PM   #18
Yousha
Big Clucker
 
Join Date: May 2013
Posts: 113
Reputation: 5
Default Re: Anti Advertising

Code:
public OnPlayerText(playerid, text[])
{
	if (stringContainsIP(text, false, true))
	{
default.pwn(1927) : error 047: array sizes do not match, or destination array is too small


Also links in your Github Repository must be updated.
__________________

^ OLDEST and MOST Stable Linux distro! ^
Yousha is offline   Reply With Quote
Old 03/11/2017, 01:03 PM   #19
Dayrion
High-roller
 
Dayrion's Avatar
 
Join Date: Jan 2016
Location: France
Posts: 1,472
Reputation: 120
Default Re: Anti Advertising

Code:
I sell 2. mp5 for 6.000$, 3uzi for 4.000$, 4mp5 for 200$
Detect an IP. I set fixedSeparation to true, IP become easily undetectable like
Code:
127.0.0 .1
__________________
What matters isn't to going further, it's the way to get there
Dayrion is online now   Reply With Quote
Old 07/11/2017, 05:18 PM   #20
JoaoBorges
Big Clucker
 
JoaoBorges's Avatar
 
Join Date: Jan 2017
Location: Los Santos - SA
Posts: 123
Reputation: 4
Default Re: Anti Advertising

The include don't work, bro!
__________________
JoaoBorges is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anti-Advertising Biggy54 Scripting Help 3 04/09/2014 10:27 AM
[FilterScript] [NEW] Anti swear and Anti Advertising [BLOCKS WORDS] Dopefull Filterscripts 24 10/10/2013 12:48 PM
[HELP]Anti-IP advertising Nenad Help Archive 14 06/05/2011 06:19 PM
Anti Advertising bajskorv123 Help Archive 6 21/04/2011 10:53 AM


All times are GMT. The time now is 04:53 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.