Raised This Month: $51 Target: $400
 12% 

Restrict Names 1.2a


Post New Thread Reply   
 
Thread Tools Display Modes
Mulan
Senior Member
Join Date: Jul 2005
Location: [GER]Worbis
Old 06-11-2006 , 10:18  
Reply With Quote #111

rofl... so easy? *omg*
__________________
Mulan is offline
Send a message via ICQ to Mulan
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 06-12-2006 , 09:51  
Reply With Quote #112

I know its posted on the previous page of one way to block the IP as the name, but would using this regex work also???
Code:
(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]?) "Posting an IP as your name" 2 300
That is the regex taken directly from dontsayips.sma so I am guessing it will work but I wanted to double check to see what people better at understanding regex think.
SubStream is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 06-12-2006 , 10:50  
Reply With Quote #113

that is waaaaaaay to insane juist for an IP (although it would work it looks like). how about this

Code:
\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b
__________________
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-12-2006 , 11:34  
Reply With Quote #114

I'd change that to:
Code:
\b\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}\b
That way 192.168.254.254 would be caught as would 192,168,254,254 and any other variation you can think of.

Of course, they could just type 192..168..254..254. So many ways to get around about any filter.
__________________
Brad is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 06-12-2006 , 11:37  
Reply With Quote #115

that wouls also catch

1234567

so it might be better yet to do

Code:
\b\d{1,3}\D+\d{1,3}\D+\d{1,3}\D+\d{1,3}\b
__________________
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
Mulan
Senior Member
Join Date: Jul 2005
Location: [GER]Worbis
Old 06-12-2006 , 14:13  
Reply With Quote #116

Quote:
Originally Posted by jtp10181
Code:
\[-=KX=-\]
sorry dont work...
any user can play with this tag
__________________
Mulan is offline
Send a message via ICQ to Mulan
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 06-12-2006 , 14:42  
Reply With Quote #117

I just tested it with a regex program and it works fine. There is probably something else wrong with the line you put in the config file.
__________________
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
Mulan
Senior Member
Join Date: Jul 2005
Location: [GER]Worbis
Old 06-13-2006 , 02:21  
Reply With Quote #118

hmmm, must this line place under the last line?
here my ini

Code:
\bn[e3i1\W_]+g[geal\W_\d]+[rt]s?\b "likely racist term" 1
\bn[e3i1\W_]+g([\W_]*g)?([\W_]*l)?[\W_]*[ei\d][\W_]*[rt]s?\b "likely racist term" 1
\bn[\W_]*[i1][\W_]*g([\W_]*g)?([\W_]*[a@])?h?\b "likely racist term" 1
j[\W_]*[eiu][\W_]*w[\W_]*s? "likely racist term" 1
j([^\w\/]|[\d_])+w "likely racist term" 1
j[\W_]*[e3i1u\W_][\W_]*w[\W_]*[e3\W_][\W_]*d "likely racist term" 1
k[\W_]*[i1\W_][\W_]*k[\W_]*[e3] "likely racist term" 1
africoon "likely racist term" 1
jigaboo "likely racist term" 1
chink "likely racist term" 1
spick? "likely racist term" 1
k[yi!1]k[e3] "likely racist term" 1
\[-=KX=-\] "Tag not allowed" 1
g[\W_]*[a\W_][\W_]*y[\W_]*[e3\W_][\W_]*d "likely homophobic term" 1
(f+|ph)[\W_]*[a@4]+[\W_]*[g9]+[sz]?([\W_]*[g9]?[\W_]*[oei10][\W_]*t)?[sz]? "likely homophobic term" 1
q+[uv]+[e3]*r "likely homophobic term" 1
g+[\W_h]*[ae\W_][\W_]*y+ "likely homophobic term" 1
^(\(\d\))?player$ "'player' not allowed" 0 "Name was Prohibited"
[`~] "console key not allowed" 0 "Name had Console Key"
^.{1,2}$ "name length must be 3-26 characters" 0 "Name was too Short"
^.{27,}$ "name length must be 3-26 characters" 0 "Name was too Long"
(m.?y.?|t.?h.?e.?).?g.?[o0].?t "stupidity" 2 0
\[japs "stupidity" 2 0
game-deception "stupidity" 2 0
__________________
Mulan is offline
Send a message via ICQ to Mulan
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 06-13-2006 , 07:39  
Reply With Quote #119

looks fine like that, actually you know what I think is wrong. You have to put it in there as all lowercase. so try changing the two letter to lowercase letters.
__________________
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-13-2006 , 10:14  
Reply With Quote #120

Quote:
Originally Posted by jtp10181
looks fine like that, actually you know what I think is wrong. You have to put it in there as all lowercase. so try changing the two letter to lowercase letters.
Lowercase will work. Sorry I didn't notice that it wasn't in lowercase before.

Perhaps I should add a minor feature that automatically lowercases the regex before applying it.
__________________
Brad 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 03:56.


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