Raised This Month: $68 Target: $400
 17% 

Name Checker 1.5


Post New Thread Reply   
 
Thread Tools Display Modes
Demuth
Junior Member
Join Date: Nov 2010
Location: Denmark
Old 01-08-2011 , 01:20   Re: Name Checker 1.5
Reply With Quote #41

Is it possible that this plugin can read the clan tags too ?
Demuth is offline
JayFab
Junior Member
Join Date: Dec 2010
Old 01-08-2011 , 14:39   Re: Name Checker 1.5
Reply With Quote #42

Idea for improvement:

-Don't allow players to take other users names.

I've had issues in my server where people change there names to impersonate someone else, or an administrator. This makes kicking difficult. You should add a function to check if the name is already allocated to someone in the server, or if its similar. Then add something with STEAM ID reservation, if someone has XXX steam ID - they are allowed to have this name, or have this name first before anyone else is checked.
JayFab is offline
IIPu3PAK
Junior Member
Join Date: May 2009
Old 03-02-2011 , 03:16   Re: Name Checker 1.5
Reply With Quote #43

not work in Left 4 dead 2 !
__________________
Единственный и неповтаримый сервер Left 4 dead 2 c нестандартными картами!
95.154.113.66:27012
более подробная инфа тут http://l4d-mania.ru/forum/35-103-1
IIPu3PAK is offline
blue zebra
BANNED
Join Date: Jun 2010
Old 03-08-2011 , 02:00   Re: Name Checker 1.5
Reply With Quote #44

Works with CS:S, but when i set deny the name changes after x changes, i see in my console and in my cheat window:
Code:
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
[NAMECHECKER] You may not change your name.
Anyone can repair this error?
And how can i disable these entries in my logfiles?
(My logs now full with these unnecesary entries) :
Code:
...
L 03/08/2011 - 11:27:51: [namechecker.smx] Checked Name: Hofali (Size: 6)
L 03/08/2011 - 11:28:19: [namechecker.smx] Checked Name: Mr.-Bl4cK-<<ZoĐ (Size: 16)
L 03/08/2011 - 11:28:40: [namechecker.smx] Checked Name: PCRM| sqd {CL} (Size: 14)
L 03/08/2011 - 11:29:42: [namechecker.smx] Checked Name: KUNFUSHMAYZA (Size: 12)
L 03/08/2011 - 11:29:58: [namechecker.smx] Checked Name: Mr.-Bl4cK-<<ZoĐ (Size: 16)
L 03/08/2011 - 11:31:11: [namechecker.smx] Checked Name: Mr.-Bl4cK-<<ZoĐ (Size: 16)
L 03/08/2011 - 11:31:26: [namechecker.smx] Checked Name: PK (Size: 2)
L 03/08/2011 - 11:31:38: [namechecker.smx] Checked Name: MAkedoN (Size: 7)
L 03/08/2011 - 11:31:51: [namechecker.smx] Checked Name: Mr.-Bl4cK-<<ZoĐ (Size: 16)
L 03/08/2011 - 11:32:31: [namechecker.smx] Checked Name: lukynCZkiler (Size: 12)
L 03/08/2011 - 11:32:40: [namechecker.smx] Checked Name: DaMadFace (Size: 9)
L 03/08/2011 - 11:32:58: [namechecker.smx] Checked Name: |S U B M I T┤| (Size: 15)
L 03/08/2011 - 11:33:05: [namechecker.smx] Checked Name: TirEEx / Deus Ex (Size: 16)
L 03/08/2011 - 11:33:55: [namechecker.smx] Checked Name: JELEN (Size: 5)
L 03/08/2011 - 11:34:33: [namechecker.smx] Checked Name: ▀oTiTo▀ (Size: 9)
L 03/08/2011 - 11:34:37: [namechecker.smx] Checked Name: D3filed (Size: 7)
L 03/08/2011 - 11:37:26: [namechecker.smx] Checked Name: Mr.-Bl4cK-<<ZoĐ (Size: 16)
L 03/08/2011 - 11:38:20: [namechecker.smx] Checked Name: Mr.-Bl4cK-<<ZoĐ (Size: 16)
L 03/08/2011 - 11:39:04: [namechecker.smx] Checked Name: Kolukio Pirminin (Size: 16)
L 03/08/2011 - 11:39:33: [namechecker.smx] Checked Name: Mr.-Bl4cK-<<ZoĐ (Size: 16)
L 03/08/2011 - 11:39:45: [namechecker.smx] Checked Name: Bruss.Org.Ru (Size: 12)
L 03/08/2011 - 11:40:36: [namechecker.smx] Checked Name: Duso (Size: 4)
L 03/08/2011 - 11:40:45: [namechecker.smx] Checked Name: .GenerßtorSkill (Size: 16)
L 03/08/2011 - 11:41:24: [namechecker.smx] Checked Name: ;f (Size: 2)
L 03/08/2011 - 11:41:28: [namechecker.smx] Checked Name: ($***StArKa***$) (Size: 16)
L 03/08/2011 - 11:41:35: [namechecker.smx] Checked Name: Duso (Size: 4)
L 03/08/2011 - 11:42:23: [namechecker.smx] Checked Name: Mr.-Bl4cK-<<ZoĐ (Size: 16)
L 03/08/2011 - 11:45:05: [namechecker.smx] Checked Name: SPQR Fleet (Size: 10)
L 03/08/2011 - 11:45:41: [namechecker.smx] Checked Name: Daniel (Size: 6)
L 03/08/2011 - 11:45:43: [namechecker.smx] Checked Name: planetcss.com (Size: 13)
L 03/08/2011 - 11:45:51: [namechecker.smx] Checked Name: |S U B M I T┤| (Size: 15)
L 03/08/2011 - 11:46:16: [namechecker.smx] Checked Name: R4ptor5 (Size: 7)
...
Thanks.

Last edited by blue zebra; 03-08-2011 at 05:50.
blue zebra is offline
JimmyJohns
Junior Member
Join Date: Dec 2010
Old 07-07-2011 , 19:13   Re: Name Checker 1.5
Reply With Quote #45

We have to compile ourselves?
JimmyJohns is offline
Argus
Junior Member
Join Date: Oct 2007
Location: Russia
Old 10-01-2011 , 11:34   Re: Name Checker 1.5
Reply With Quote #46

I have found bug in this plugins.

in badnames.txt:
Quote:
cs.superserver.com
.com
url cs.superserver.com is fictitious.

I try name "cs.superserver.com" - plugin kicks me. thats ok.
I try name "123 cs.superserver.com" - plugin pass me! wtf??

so I started to check sourcecode.

I wrote in function "CheckName" some output code to check what is happened with nick:
Quote:
PrintToServer("1. &s", name);
...
PrintToServer("2. &s", name);
...
and inside the "badnames" block this output:
Quote:
PrintToServer("&s | %s", name, name2);
and then I connect to server with name "123 cs.superserver.com" server console prints:

Quote:
1. 123 cs.superserver.com
2. 123 cs.superserver.com
...
6. 123 cs.superserver.com
7. 123 cs.superserver.c

123 cs.superserver.c | cs.superserver.com
123 cs.superserver.c | .com
this means:
plugins lost 2 char of name between PrintToServer("6. &s", name); and PrintToServer("7. &s", name);
and inside the "badnames" block in trying to compare "123 cs.superserver.c" and "cs.superserver.com" - but thats names is different! so no kick.
the block between PrintToServer("6. &s", name); and PrintToServer("7. &s", name); is:

Quote:
name[iCopySize] = '\0';
for(new i=0;i<g_iMaxPlayers;i++) {
strcopy(name2,iCopySize,g_sNames[i][0]);
TrimString(name2);
if ((i!=client) && (strlen(name2)>3) && (StringDiff(name,name2) < iCopyDiff))
return 8;
}
error in this code.

so I just swap this "error block code" and "badnames block" in sourcecod and after compiling:

Quote:
1. 123 cs.superserver.com
2. 123 cs.superserver.com
...
6. 123 cs.superserver.com
7. 123 cs.superserver.com

123 cs.superserver.com | cs.superserver.com (here server kicks me. yeahbaby!!!)
if try name "123 cs.supe123rserver.com":

Quote:
1. 123 cs.supe123rserver.com
...

123 cs.supe123rserver.com | cs.superserver.com (nothing happened)
123 cs.supe123rserver.com | .com (here server kicks me.)
in attach fixed plugin.
Attached Files
File Type: sp Get Plugin or Get Source (namechecker.sp - 464 views - 15.9 KB)

Last edited by Argus; 10-01-2011 at 11:36.
Argus is offline
Der Moppel
Member
Join Date: Jan 2012
Old 03-13-2012 , 21:37   Re: Name Checker 1.5
Reply With Quote #47

Hi,

i noticed a little Bug lately some Bans apears as double or even 3 times Ban after too much Namechanges on the Sourcebans list.

Made a Post here :

http://forums.interwavestudios.com/t...team-id-names/

Looks like the Problem is caused by this Plugin and a solution would be :

Quote:
Pacemaker:
Ah, ok. It's the plugin not stopping the detection, if the client was banned. Looks like he changed his name so fast, it detected him twice while sourcebans was already processing the ban request. A solution would be to stop detecting if the player was kicked/banned, but that needs to be done in that plugin.
Here is the Sourcebans Link, the 3 bans at "03-14-12 01:03" are the ones i ment.

http://bans.tawp.de/index.php?p=banlist
Der Moppel is offline
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 06-29-2012 , 03:24   Re: Name Checker 1.5
Reply With Quote #48

Quote:
Originally Posted by Argus View Post
I have found bug in this plugins.

in badnames.txt:
url cs.superserver.com is fictitious.

I try name "cs.superserver.com" - plugin kicks me. thats ok.
I try name "123 cs.superserver.com" - plugin pass me! wtf??

so I started to check sourcecode.

I wrote in function "CheckName" some output code to check what is happened with nick:
and inside the "badnames" block this output:
and then I connect to server with name "123 cs.superserver.com" server console prints:

this means:
plugins lost 2 char of name between PrintToServer("6. &s", name); and PrintToServer("7. &s", name);
and inside the "badnames" block in trying to compare "123 cs.superserver.c" and "cs.superserver.com" - but thats names is different! so no kick.
the block between PrintToServer("6. &s", name); and PrintToServer("7. &s", name); is:

error in this code.

so I just swap this "error block code" and "badnames block" in sourcecod and after compiling:

if try name "123 cs.supe123rserver.com":

in attach fixed plugin.
Ok for others I use this on l4d2 and have it set to "deny" action as "kick" didnt work
This stops all player with set name not to even connect
s.m.a.c head is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 03-31-2014 , 12:27   Re: Name Checker 1.5
Reply With Quote #49

Hello,

can you add immunity for admin flag?
eric0279 is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 08-15-2014 , 07:01   Name Checker 1.6
Reply With Quote #50

Quote:
Originally Posted by eric0279 View Post
Hello,

can you add immunity for admin flag?
've already asked for some times.

Quote:
Originally Posted by HSFighter View Post
Great Plugin

It will be nice to add admin immunity for "badnames.txt" and optinal for the other rules.
That makes it posible to protect a Clan-Tag or a nick from admin.
Quote:
Originally Posted by HSFighter View Post
Any Chance to add this future?
Get no answer ;(

----------------------------------------------------------

Quote:
Originally Posted by Der Moppel View Post
Hi,
i noticed a little Bug lately some Bans apears as double or even 3 times Ban after too much Namechanges on the Sourcebans list.
Quote:
Originally Posted by Der Moppel View Post
Quote:
Originally Posted by Pacemaker:
Ah, ok. It's the plugin not stopping the detection, if the client was banned. Looks like he changed his name so fast, it detected him twice while sourcebans was already processing the ban request. A solution would be to stop detecting if the player was kicked/banned, but that needs to be done in that plugin.
Enclosed a version that includes immunity for admin "flag gerneric" and fix the double ban bug.

Not testet at ban situation. please give feedback if working.
This is only a small bugfx, for new functions you please contact the author.

the author of this pligin is free to add this improvements to her plugin in the first post.

Version history:

1.6 (08/15/2014):
- add immunity for admin (flag gerneric)
- fix double ban bug
- implemented fix from Argus

N-Yoj
Attached Files
File Type: sp Get Plugin or Get Source (namechecker.sp - 261 views - 16.9 KB)
File Type: smx namechecker.smx (11.2 KB, 108 views)
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 08-15-2014 at 07:23.
HSFighter is offline
Send a message via ICQ to HSFighter
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 16:39.


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