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

Restrict Names 1.2a


Post New Thread Reply   
 
Thread Tools Display Modes
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 10-20-2005 , 23:43  
Reply With Quote #41

Just to further clarify something JTP said, a "word character" is any letter or digit (i.e. A-Z, a-z, 0-9).

Also, a good generic reason to have with one of the regex phrases that JTP supplied is something like "three of the same char in a row is not allowed".
Brad is offline
snip-psycho[be]
Member
Join Date: Oct 2005
Location: Belgium
Old 10-25-2005 , 18:41  
Reply With Quote #42

Hiho,

I allways get this error =


L 10/25/2005 - 23:23:25: [restrictnames.amxx] ML_NOTFOUND: CONFIG_LOADED

How can i solve this ? (plugin works it kickes people with nameabuse but allways there comes this message ML_NOTFOUND
snip-psycho[be] is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 10-25-2005 , 20:01  
Reply With Quote #43

put the language file in the data/lang dir
__________________
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 10-25-2005 , 20:37   Re: Restrict Names 1.2a
Reply With Quote #44

You must have missed the "Installation" section of the first post in this thread.

Quote:
Originally Posted by Brad, in the first post of the thread,
Installation

File Locations:
  • .\configs\restrictnames.ini
  • .\data\lang\restrictnames.txt
  • .\plugins\restrictnames.amxx
Emphasis added.
Brad is offline
snip-psycho[be]
Member
Join Date: Oct 2005
Location: Belgium
Old 10-26-2005 , 04:30  
Reply With Quote #45

I checked it but its there i found the textfile under data/lang
and this is in the text file =

[en] CONFIG_LOADED = Loaded %d phrases from %s. CONFIG_LOAD_ERROR = Error loading config file from %s. RENAME_NOTIFY_PLAYER = You were renamed because your name is inappropriate.^n(%s) RENAME_NOTIFY_ALL = %s was renamed for having an inappropriate name (%s). RENAME_LOG_ENTRY = %s was renamed because "%s" matched regex #%d, "%s" (%s). KICK_NOTIFY_ALL = %s was kicked for having an inappropriate name (%s). KICK_LOG_ENTRY = %s was kicked because "%s" matched regex #%d, "%s" (%s). KICK_REASON = inappropriate name (%s) BAN_NOTIFY_ALL = %s was banned for having an inappropriate name (%s). BAN_LOG_ENTRY = %s was banned because "%s" matched regex #%d, "%s" (%s). BAN_REASON = inappropriate name (%s) [de] CONFIG_LOADED = %d Saetze von %s geladen. CONFIG_LOAD_ERROR = Es trat ein Fehler beim Laden der Datei %s auf. RENAME_NOTIFY_PLAYER = Du wurdest umbenannt, weil Dein Name nicht erlaubt ist.^n(%s) RENAME_NOTIFY_ALL = %s wurde umbenannt, weil sein Name nicht erlaubt ist (%s). RENAME_LOG_ENTRY = %s wurde umbenannt, weil "%s" uebereinstimmt mit regex #%d, "%s" (%s). KICK_NOTIFY_ALL = %s wurde aufgrund seines nicht erlaubten Namens gekickt (%s). KICK_LOG_ENTRY = %s wurde gekickt, weil "%s" uebereinstimmt mit regex #%d, "%s" (%s). KICK_REASON = Name nicht erlaubt (%s) BAN_NOTIFY_ALL = %s wurde aufgrund seines nicht erlaubten Namens gebannt (%s). BAN_LOG_ENTRY = %s wurde gebannt, weil "%s" uebereinstimmt mit regex #%d, "%s" (%s). BAN_REASON = Name nicht erlaubt (%s) [es] CONFIG_LOADED = %d frases han sido cargadas desde %s. CONFIG_LOAD_ERROR = Error al cargar el archivo de configuracion %s. [fr] CONFIG_LOADED = %d phrase charge du fichier %s . CONFIG_LOAD_ERROR = Erreur fatale en chargant le fichier %s . [nl] CONFIG_LOADED = %d zinnen geladen vanuit %s. CONFIG_LOAD_ERROR = Er is een fout opgetreden tijdens het laden van configuratiebestand vanuit %s. RENAME_NOTIFY_PLAYER = Je bent hernoemd omdat je vorige naam niet toegestaan is.^n(%s) RENAME_NOTIFY_ALL = %s is hernoemd wegens gebruik van een niet toegestane naam (%s). RENAME_LOG_ENTRY = %s is hernoemd omdat "%s" overeenkomt met regex #%d, "%s" (%s). KICK_NOTIFY_ALL = %s is gekickt wegens gebruik van een niet toegestane naam (%s). KICK_LOG_ENTRY = %s is gekickt omdat "%s" overeenkomt met regex #%d, "%s" (%s). KICK_REASON = naam niet toegestaan (%s) BAN_NOTIFY_ALL = %s is verbannen wegens gebruik van een niet toegestane naam (%s). BAN_LOG_ENTRY = %s is verbannen omdat "%s" overeenkomt met regex #%d, "%s" (%s). BAN_REASON = naam niet toegestaan (%s) [sr] CONFIG_LOADED = Ucitano %d fraza iz %s. CONFIG_LOAD_ERROR = Greska pri ucitavanju konfiguracije iz %s. RENAME_NOTIFY_PLAYER = Vase ime je promenjeno jer je neprokladno.^n(%s) RENAME_NOTIFY_ALL = %s je promenio ime jer je neprikladno (%s). RENAME_LOG_ENTRY = %s je promenio ime jer je "%s" nasao regex #%d, "%s" (%s). KICK_NOTIFY_ALL = %s je kikovan zbog neprikladnog imena (%s). KICK_LOG_ENTRY = %s je kikovan jer je "%s" nasao regex #%d, "%s" (%s). KICK_REASON = neprikladno ime (%s) BAN_NOTIFY_ALL = %s je banovan zbog neprikladnog imena (%s). BAN_LOG_ENTRY = %s je banovan jer je "%s" nasao regex #%d, "%s" (%s). BAN_REASON = neprikladno ime (%s)
snip-psycho[be] is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 10-26-2005 , 07:40  
Reply With Quote #46

snip-psycho[be]: instead of clicking the download, viewing it in your web browser and then copy/pasting it to a text file, you need to right click the download link and hit "Save As..." and save it on your computer. Your browser is messing up the formatting of the 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
snip-psycho[be]
Member
Join Date: Oct 2005
Location: Belgium
Old 10-26-2005 , 08:14  
Reply With Quote #47

Quote:
Originally Posted by jtp10181
snip-psycho[be]: instead of clicking the download, viewing it in your web browser and then copy/pasting it to a text file, you need to right click the download link and hit "Save As..." and save it on your computer. Your browser is messing up the formatting of the file.
Thx guy problem solved !

Yeah i just opened in my webbrowser and created a txt file then pasted it in that file that was the problem now i just saved as and now it work fine !

Happy this is solved thx again !
snip-psycho[be] is offline
NoobSack ^_-
Member
Join Date: Oct 2005
Old 11-26-2005 , 15:26  
Reply With Quote #48

this mod is kicking anyone

FOR EXAMPLE *not to be taken as bigotry*
homo "likely homophobic term" 0

when some one changes their name it kicks them, even though 0 = rename to NewName

any ideas?

0 = rename
1 = kick
2 = ban

so why is 0 getting kicked.
__________________
Post a response here or at
www.OregonCS.com - On my Forums.

NoobSack ^_- is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 11-26-2005 , 17:54  
Reply With Quote #49

Probably because a regex phrase ABOVE your "homo" phrase is catching people's names first. They're looked at in the order that they're listed in your INI file.

If, after reviewing your file again, you still can't figure out what's wrong, post your restrictnames.ini file (within [code] tags for readibility) here.
Brad is offline
NoobSack ^_-
Member
Join Date: Oct 2005
Old 11-26-2005 , 20:44  
Reply With Quote #50

got it. thnx

i had miss the 4th commands.

the name value.

regex.reason.punish.action
homo.bigotry.0.newname
__________________
Post a response here or at
www.OregonCS.com - On my Forums.

NoobSack ^_- 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:49.


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