Raised This Month: $32 Target: $400
 8% 

A little modification needed...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
pubhero
Veteran Member
Join Date: Aug 2012
Location: Central Europe
Old 10-20-2015 , 10:03   A little modification needed...
Reply With Quote #1

Hi.
I hope someone can help me. I have a problem. Too many loser advertising other servers on my server. I have a plugin what can remove these player when he write IP in te chat message.
I have an other plugin what remove this player if he try changing him's name to an IP adress. But this plugin working only when the player spawning. Tricky advertiser dude never not spawning. He connect and disconnect without end, or going into the spectate. The plugin nothing not do with him.
Anyone can help me to modifycating my plugin? What i need: Ban these losers when connect and / or changing him's name ingame. Piece of this plugin now:
Code:
#include <sdktools>

public OnPluginStart()
{
    HookEvent("player_spawn", spawn);
}
I can spread the inspection somehow? What events i needed?
player_team (when he selects a team CT|T|SPEC) & player_changename or how?
The player_connect event are valid, in the sourcemod?
Thanks in advance.

Last edited by pubhero; 10-20-2015 at 10:18.
pubhero is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-20-2015 , 10:35   Re: A little modification needed...
Reply With Quote #2

Really you should just block that connect message, and only show a message when they fully connect (spawn)
Mitchell is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 10-20-2015 , 10:41   Re: A little modification needed...
Reply With Quote #3

https://forums.alliedmods.net/showthread.php?p=1395052 <-- Credits from here.

No idea if it works, field day time!
Attached Files
File Type: sp Get Plugin or Get Source (IPSpamBlocker.sp - 76 views - 1.7 KB)
Drixevel is offline
pubhero
Veteran Member
Join Date: Aug 2012
Location: Central Europe
Old 10-20-2015 , 11:11   Re: A little modification needed...
Reply With Quote #4

Thanks but i searching a better method for this problem. No way to someone write a plugin what not permits (hide the message and kick/ban the client) the chat message what contains more than 8 numbers in one message? And using this method in the names? If someone 's name contains more than 8 numbers, block the name change and kick that loser automatically. Sorry but i am weary for fighting without end against these loser advertisers. I need some automatic solution. Like a plugin.

Last edited by pubhero; 10-20-2015 at 11:12.
pubhero is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 10-20-2015 , 17:41   Re: A little modification needed...
Reply With Quote #5

https://forums.alliedmods.net/showthread.php?p=2242081
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
pubhero
Veteran Member
Join Date: Aug 2012
Location: Central Europe
Old 10-22-2015 , 01:41   Re: A little modification needed...
Reply With Quote #6

Nice plugin, thank you.
But dupable. The advertiser some times change the . symbols to , or space, etc.
After then, the plugin can't detecting the advertiser.
I have a better idea, in my opinion.
A plugin what detect if more than 8 (9-10-11....n) numbers presented in the chat message or in the player's name and kick / ban him with a message. I think, the server ip advertising will be impossible without numbers.
Made this plugin is possible?
Thanks.
pubhero is offline
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

Forum Jump


All times are GMT -4. The time now is 07:01.


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