View Single Post
Jiffs
Member
Join Date: Apr 2009
Location: Russian
Old 08-10-2012 , 11:10   Re: [ANY] Name Filter
Reply With Quote #15

disawar1

Your fix work fine! Thanks!

But I unexpectedly found new bug. If I go to the server with invalid nicknames - the plugin is working properly. But if I go to the server with correct nickname, and then put an incorrect nickname, the plugin changes my nickname 133 times.

An example. The file badnames.txt contains "JM". My nickname "Jiffs Maverick". I go to the server and change my nickname to "JM" and see it in chat:

Code:
Player Jiffs Maverick changed name to JM
Please don't use offensive names on this server
Player Player 82355 changed name to JM
Please don't use offensive names on this server
Player Player 95298 changed name to JM
Please don't use offensive names on this server
Player Player 44594 changed name to JM

Over 100 times

Please don't use offensive names on this server
Player Player 5351 changed name to JM
Please don't use offensive names on this server
Player Player 83735 changed name to JM
That's how it looks in sourcemod logs:

Code:
L 08/10/2012 - 22:36:09: [namefilter.smx] Player found with badword in his name: JM
L 08/10/2012 - 22:36:09: [namefilter.smx] Player found with badword in his name: JM
L 08/10/2012 - 22:36:09: [namefilter.smx] Player found with badword in his name: JM
L 08/10/2012 - 22:36:09: [namefilter.smx] Player found with badword in his name: JM

Over 100 times

L 08/10/2012 - 22:36:29: [namefilter.smx] Player found with badword in his name: JM
L 08/10/2012 - 22:36:29: [namefilter.smx] Player found with badword in his name: JM
Fix this, please.

UPD:

This bug only Source Engine 2009 (DoD:S). L4D2 has no this problem.
__________________
Sorry for my bad english...

Last edited by Jiffs; 08-10-2012 at 12:19.
Jiffs is offline
Send a message via ICQ to Jiffs Send a message via Skype™ to Jiffs