Raised This Month: $ Target: $400
 0% 

Anti Commerce


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lantimilan
Senior Member
Join Date: May 2016
Old 01-27-2017 , 19:41   Anti Commerce
Reply With Quote #1

Hello i have problem with reklama free admin xxx.xxx..xxx:27012 or website extremaadmins.. how to stop this reklama in my server can you help me please ?
lantimilan is offline
Send a message via MSN to lantimilan
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 01-28-2017 , 06:51   Re: Anti Commerce
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=197331

Wrong section btw.
__________________
edon1337 is offline
lantimilan
Senior Member
Join Date: May 2016
Old 01-28-2017 , 12:06   Re: Anti Commerce
Reply With Quote #3

I need one worked fine i read comment alka plugin i see not working and have error ?
lantimilan is offline
Send a message via MSN to lantimilan
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-28-2017 , 13:09   Re: Anti Commerce
Reply With Quote #4

You can comment "it's working" and it will magically start working.

Just because someone wrote it's not working, it doesn't mean it's true. You can test it and find out for your self. If it really isn't working, use GOOGLE and SEARCH for another one.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
lantimilan
Senior Member
Join Date: May 2016
Old 01-29-2017 , 03:58   Re: Anti Commerce
Reply With Quote #5

Look
*DEAD*Extream.Fdns.UK Admins-free_vip : extream.fdns.uk-Admine_free_pentru_cine_intra!
*DEAD*Extream.Fdns.UK Admins-free_vip : craiova.faralag.ro vip Free Admin Free!
*DEAD*Extream.Fdns.UK Admins-free_vip : "extream.fdns.uk admin free for a

Why not stoped this advister i try to stop this and people who advister IP
155.212.151.44:27015 FREE ADMIN i have enable this plugin but not stoped ?
lantimilan is offline
Send a message via MSN to lantimilan
wickedd
Veteran Member
Join Date: Nov 2009
Old 01-29-2017 , 11:45   Re: Anti Commerce
Reply With Quote #6

Then use another plugin, search spam in the Approved forum.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
lantimilan
Senior Member
Join Date: May 2016
Old 01-30-2017 , 09:25   Re: Anti Commerce
Reply With Quote #7

#define PLUGINNAME "Don't say IPs"
#define VERSION "0.1"
#define AUTHOR "JGHG"
/*
Copyleft 2005
Plugin topic: http://www.amxmodx.org/forums/viewtopic.php?p=90172


Don't say IPs
=============
Messages like "hey join my server 213.34.231.23" are automatically blocked... and another message is printed instead. :-P
Or, you can choose to just ban violators by setting cvar ip_banviolators to 1 and ip_banminutes to how many minutes the violator should be banned. 0 is permanent, 5 is default.

/JGHG


VERSIONS
========
050204 0.1 First version


CREDITS
=======
Requested by lord_inuyasha88.
*/

#include <amxmodx>
#include <regex>

#define PATTERN "(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" // \b
#define REASON "IP advertising"
#define CVAR_BANMINUTES "ip_banminutes"
#define CVAR_BANVIOLATORS "ip_banviolators"

// Globals below
new Regex:g_result
new g_returnvalue
new g_error[64]
new g_allArgs[1024]
// Globals above

public plugin_modules() {
require_module("regex")
}

public hook_say(id, level, cid) {
read_args(g_allArgs, 1023)
g_result = regex_match(g_allArgs, PATTERN, g_returnvalue, g_error, 63)
switch (g_result) {
case REGEX_MATCH_FAIL: {
log_amx("REGEX_MATCH_FAIL! %s", g_error)
return PLUGIN_CONTINUE
}
case REGEX_PATTERN_FAIL: {
log_amx("REGEX_PATTERN_FAIL! %s", g_error)
return PLUGIN_CONTINUE
}
case REGEX_NO_MATCH: {
return PLUGIN_CONTINUE
}
default: {
if (get_cvar_num(CVAR_BANVIOLATORS)) {
new userid = get_user_userid(id)
new minutesString[10]
get_cvar_string(CVAR_BANMINUTES, minutesString, 9)
new temp[64], banned[16], minutes = get_cvar_num(CVAR_BANMINUTES)

if (minutes)
format(temp, 63, "%L", id, "FOR_MIN", minutesString)
else
format(temp, 63, "%L", id, "PERM")

format(banned, 15, "%L", id, "BANNED")

new authid[32]
get_user_authid(id, authid, 31)

new name[32]
get_user_name(id, name, 31)
log_amx("%s (%s), %s %s because of advertising an IP address. This was written: ^"%s^"", name, authid, banned, temp, g_allArgs)

server_cmd("kick #%d ^"%s (%s %s)^";wait;banid ^"%d^" ^"%s^";wait;writeid", userid, REASON, banned, temp, minutes, authid)
}
else {
client_cmd(id, "say ^"I must say.... This server ROCKS!^"")
}
regex_free(g_result)
return PLUGIN_HANDLED // block msg
}
}

return PLUGIN_CONTINUE
}



public plugin_init() {
register_plugin(PLUGINNAME, VERSION, AUTHOR)

register_clcmd("say", "hook_say")
register_cvar(CVAR_BANVIOLATORS, "0")
register_cvar(CVAR_BANMINUTES, "30")

register_dictionary("admincmd.txt")
}



I like this plugin but this not stoped all , can you help me to stoped when players write 122.323 and when make name 176.57.188.xx:27015 ?
lantimilan is offline
Send a message via MSN to lantimilan
wickedd
Veteran Member
Join Date: Nov 2009
Old 01-30-2017 , 18:53   Re: Anti Commerce
Reply With Quote #8

You can use this one also.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
hardboy
Member
Join Date: Jun 2014
Location: Greece
Old 01-31-2017 , 15:05   Re: Anti Commerce
Reply With Quote #9

You can remove DPROTO
hardboy is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 23:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode