Raised This Month: $ Target: $400
 0% 

Restrict Names 1.2a


Post New Thread Reply   
 
Thread Tools Display Modes
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 05-29-2006 , 15:42  
Reply With Quote #101

What was the player name you tested it against? The \b on either side of the regex means it has to be it's own word.

I'm 192.168.254.254 would get caught while I'm192.168.254.254 would not. To allow both, which would probably be safe, remove the two \b's.
__________________
Brad is offline
DFHServer
Junior Member
Join Date: Jan 2005
Old 06-07-2006 , 01:05   invalid player; run time error
Reply With Quote #102

Can you help us out in getting this fix?
I get the following;

Code:
L 06/06/2006 - 22:01:25: [DODX] Invalid player 1
L 06/06/2006 - 22:01:25: [AMXX] Displaying debug trace (plugin "restrictnames.amxx")
L 06/06/2006 - 22:01:25: [AMXX] Run time error 10: native error (native "get_user_team")
L 06/06/2006 - 22:01:25: [AMXX]    [0] restrictnames_132.sma::client_infochanged (line 167)
L 06/06/2006 - 22:01:25: [DODX] Invalid player 1
L 06/06/2006 - 22:01:25: [AMXX] Displaying debug trace (plugin "restrictnames.amxx")
L 06/06/2006 - 22:01:25: [AMXX] Run time error 10: native error (native "get_user_team")
L 06/06/2006 - 22:01:25: [AMXX]    [0] restrictnames_132.sma::client_infochanged (line 167)
[CLAN-TAG] Ghostface Killa validated
and the bots get a similar message on a restart
Code:
[CLAN-TAG] Lt.Metzger validated
L 06/06/2006 - 21:50:03: [DODX] Invalid player 9
L 06/06/2006 - 21:50:03: [AMXX] Displaying debug trace (plugin "restrictnames.amxx")
L 06/06/2006 - 21:50:03: [AMXX] Run time error 10: native error (native "get_user_team")
L 06/06/2006 - 21:50:03: [AMXX]    [0] restrictnames_132.sma::client_infochanged (line 167)
[CLAN-TAG] Lt.Metzger validated
[CLAN-TAG] Lt.Bardwell validated
[CLAN-TAG] Lt.Bardwell validated
[CLAN-TAG] Lt.Bardwell validated
[CLAN-TAG] Lt.Bardwell validated
[CLAN-TAG] Lt.Bardwell validated
[CLAN-TAG] Lt.Bardwell validated
L 06/06/2006 - 21:50:51: [DODX] Invalid player 10
L 06/06/2006 - 21:50:51: [AMXX] Displaying debug trace (plugin "restrictnames.amxx")
L 06/06/2006 - 21:50:51: [AMXX] Run time error 10: native error (native "get_user_team")
L 06/06/2006 - 21:50:51: [AMXX]    [0] restrictnames_132.sma::client_infochanged (line 167)
We have the following:

Code:
Currently loaded plugins:
      description      stat pend  file              vers      src   load  unlod
 [ 1] AMX Mod X        RUN   -    amxmodx_mm.dll    v1.70     ini   ANY   ANY  
 [ 2] Fun              RUN   -    fun_amxx.dll      v1.70     pl1   ANY   ANY  
 [ 3] Engine           RUN   -    engine_amxx.dll   v1.70     pl1   ANY   ANY  
 [ 4] FakeMeta         RUN   -    fakemeta_amxx.dl  v1.70     pl1   ANY   ANY  
 [ 5] MySQL            RUN   -    mysql_amxx.dll    v1.70     pl1   ANY   ANY  
 [ 6] GeoIP            RUN   -    geoip_amxx.dll    v1.70     pl1   ANY   ANY  
 [ 7] Array            RUN   -    array_amxx.dll    v1.01     pl1   ANY   ANY  
 [ 8] DoD Fun          RUN   -    dodfun_amxx.dll   v1.70     pl1   ANY   ANY  
 [ 9] DoDX             RUN   -    dodx_amxx.dll     v1.70     pl1   ANY   ANY
And the following plugins:
Code:
; AMX Mod X plugins
; Admin Base - Always one has to be activated
admin.amxx
; Basic
admincmd.amxx	
adminhelp.amxx
multilingual.amxx

; Menus
menufront.amxx
cmdmenu.amxx
plmenu.amxx	
mapsmenu.amxx

; Chat / Messages
adminchat.amxx
antiflood.amxx
scrollmsg.amxx
imessage.amxx debug
adminvote.amxx

; Map related
nextmap.amxx
mapchooser.amxx	
timeleft.amxx	

; Configuration
pausecfg.amxx	
statscfg.amxx

; Day of Defeat
stats.amxx	
statssounds.amxx
stats_logging.amxx debug	
; Custom - Add 3rd party plugins here
dod_blockexploits160.amxx
indy_showpermissions.amxx
clan_tag_checker.amxx
server_rules.amxx
sprayid.amxx
spawnprotection.amxx
amxx_playersounds.amxx
dod_closecombatfun.amxx
dod_flamethrower.amxx
dod_clanmatch.amxx
dod_tkrevenge.amxx	
dod_staminahp.amxx	
dod_smokegrenade.amxx debug	
restrictnames.amxx debug
DFHServer is offline
DFHServer
Junior Member
Join Date: Jan 2005
Old 06-07-2006 , 01:32   Rename option
Reply With Quote #103

Also, how do I make it use a goodplayername.txt list?
Like AdminMod used...
I am slowly figuring out Regex.

DFHServer
DFHServer is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 06-07-2006 , 09:58  
Reply With Quote #104

@DFHServer:

You gave me two sets of errors. Do both sets of errors come only from bots or just the second set?

Also, what do you mean a "goodplayername.txt" list? I'm not familiar with what AdminMod used.
__________________
Brad is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 06-07-2006 , 19:51  
Reply With Quote #105

he wants a file the plugin will pick from when you force someone to change thier name, it gives some variety instead of always changing to the same name.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 06-07-2006 , 21:42  
Reply With Quote #106

I'll consider adding this for an upcoming version of Restrict Names.
__________________
Brad is offline
jd91651
Member
Join Date: Mar 2006
Old 06-07-2006 , 22:13  
Reply With Quote #107

Hi,
I found one more false positive today in my logs that I thought I'd bring to your attention (from the original ini... not my own)

188:51: ThE GhOsTeR was banned because "the ghost" matched regex #22, "(m.?y.?|t.?h.?e.?).?g.?[o0].?t" "stupidity"

#22 is (m.?y.?|t.?h.?e.?).?g.?[o0].?t "stupidity" 2 0

Otherwise plugin is working very well thank you.
jd91651 is offline
DFHServer
Junior Member
Join Date: Jan 2005
Old 06-08-2006 , 01:14   invalid player; run time error
Reply With Quote #108

The first error quote is from a real player (Ghostface Killa).

The second set of quoted errors were from bots(Lt.Metzger & Lt.Bardwell) for a total of 10 bots. I only showed the last two error msgs for the bots, because its the same for all ten. We use Shrikebots BTW. Here are my cvar settings:
////// BEGIN Restrict Names 1.2a
restnames_check_names 1
restnames_amxban 0
restnames_check_bots 0
restnames_log_cnt 1
restnames_immunity 0
////// END Restrict Names 1.2a


Hey that's cool Brad about considering using a rename file.
And thanks jtp10181 for making my request clear.
--------------------------------
Brad Posted: I'll consider adding this for an upcoming version of Restrict Names.
----------------------
jtp10181 Posted: he wants a file the plugin will pick from when you force someone to change thier name, it gives some variety instead of always changing to the same name.
DFHServer is offline
Mulan
Senior Member
Join Date: Jul 2005
Location: [GER]Worbis
Old 06-10-2006 , 18:41  
Reply With Quote #109

how can I restrict the complete Clan-Tag [-=KX=-] ?
I have not Idea
__________________
Mulan is offline
Send a message via ICQ to Mulan
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 06-10-2006 , 19:45  
Reply With Quote #110

Code:
\[-=KX=-\]
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
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 00:30.


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