ImportBot Posted December 10, 2011 Share Posted December 10, 2011 Originally Posted by Soarda*: Watchdog -Language Autor: Sparda - www.la-baf.eu description: watch the language on the server and take appropriate action WARNING SAVE YOUR LIST BEFORE UPDATE (V1.x To V2.x) , Lists of Word will be destroyed ! *** V2.0.4.0 *** * Adding Name of Userlist * Fixed: TBan in procon layer ** V2.0.3.0 *** New feature of V2.x : * Add reset after x round without offence * Using ; to comment list words * Using R / instead of double quotes * Using variables MaxWarn, MaxKill, MaxKick, MaxTBan, MaxBan * Added line number * Bug fixes * yell message time. * each word has its own action list. Ex: Param : warn=1; kill=2, kick=1. Toto say "bastard" => warn Toto say "con" => warn Toto say "bastard" => kill Toto say "pd" => warn * Replace warnList, killList, KickList [...] by UserList1, UserList2, UserList3 [...] with each list has its own param list. ex: UserList1 => warn=1, kill=2, kick=1, TBan=5, Ban=0 UserList2 => warn=0, kill=1, kick=0, TBan=5, Ban=0 UserList3 => warn=1, kill=0, kick=0, TBan=0, Ban=5 *Adding "Use Action List By Word" Ex : With useActionListByWord = Yes soab -> 1st warn asshole -> 1st warn soab -> 2nd warn soab -> kick asshole -> 2nd warn With useActionListByWord = No soab -> 1st warn asshole -> 2nd warn soab -> kick *** V1.5.1.0 *** * add "Warn before next action" in param * Bug correction *** V1.5.0.0 *** * Adding a message before a superior action (ex: last kill before kick) * Correction of kick in "warn list" *** V1.4.0.0 *** * Adding Warn * Lot of correction *** V1.3.0.0 *** * Adding ban by guid * Support of + in regex *** V1.2.0.1 *** * minor correction * Private/public message are displayed directly *** V1.2.0.0 *** * minor correction * Add Linear methode *** V1.1 *** * minor correction *** V 1.0 *** * white list * kill/kick/tban/ban * edit message * regex Param : Define number of warn Define number of kill Define number of kick Define number of TBan Define number of Ban White list 6 users lists of word using : adding >word ex: con in kill word list. Toto say: je suis con Result : Toto have been killed for using a bad word Use the regex to a best performance : Toto say: j'ai une constipation If you just use a simple word, you kill toto but constipation is not a bad word :S You need to use a regex => R/con[ne]*[^a-z]{1,}[ .]* Result : toto is not killed \o/ For adding a regex start word by R/ For regex : 1) not kill/kick/... : xxxWordxxx use : R/[^a-z]{1}Word[^a-z]{1,}[ .]* Word = ass Result : glass, assignment are authorized; ass is not authorized 2) not kill/kick/... : Wordxxx use : R/Word[^a-z]{1,}[ .]* Word = ass Result : assignment is authorized, glass and ass are not authorized 3) not kill/kick/... : xxxWord use : R/[^a-z]{1}Word Word = ass Result : glass is authorized, assignment and ass are not authorized Download : Plugins + WordList: CWatchdogLanguageV2.0.4.0.zip Configure your own WordList: www.la-baf.eu/#Plugin Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 11, 2011 Author Share Posted December 11, 2011 Originally Posted by Zaeed*: Just a note, you'll have to modify the code to work better with BF3.. a) Yell is not supported admin.say to an individual player is not supported. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 11, 2011 Author Share Posted December 11, 2011 Originally Posted by Soarda*: yep is true, by default Yell is turn off. This plugins should be compatible with BC2 but I have no server to test. c) OnTeamChat & OnSquadChat too For Bf3 Send privately kill to player > NO Send privately kick to player > NO Send privately TBan to player > NO Send privately Ban to player > NO Yell kicks > NO Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 11, 2011 Author Share Posted December 11, 2011 Originally Posted by cpt*: I'm not very familiar with regex and I also think many other users too. Can you provide some more examples how to use them? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 11, 2011 Author Share Posted December 11, 2011 Originally Posted by MorpheusX(AUT)*: I'm not very familiar with regex and I also think many other users too. Can you provide some more examples how to use them?I was about to post the same.The idea is good, but I doubt all users wanting to use this plugin are really capable of writing valid Regex-statements for their uses. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 12, 2011 Author Share Posted December 12, 2011 Originally Posted by cpt*: Yes, how for example can I filter things like: noob, nooob, noooob ... ? I think thats what I can use regexes for? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 12, 2011 Author Share Posted December 12, 2011 Originally Posted by Soarda*: CWatchdog V1.1 is release ! Example with nigga and regex: CSharp-Regular-Expressions-Cheat-Sheet list of bad word : nigga niga n1ga nig4 NI8A NI9A n!ga nigggga negra negro n3gro n3gra negre negr0 negro etc... With regex is very simple : the beggining : 1) "n after we need to check this pattern : iI!1e3 We don't need to check all upper case because the program converts all letters to lowercase before processing 2) "n[1i!e3]+ [] set characters. + >> Matches the preceding character one or more times after we need to check this pattern : g89 3)"n[1i!e3]+[g89]+ At this time regex found nig and all others forms (n!g, niiiiiig, niggggg, etc.) after we need to check this pattern : aero40 4)"n[1i!e3]+[g89]+[aero40]+ After we need to check the end of sentence, if it's a beginning of a word or complete word 5) "n[1i!e3]+[g89]+[aero40]+[^a-z]+[ .]*" [^a-z] >>negative character set. Matches any character not enclosed. For example, "[^abc]" matches the "p" in "plain". In France, negre negresse Other exemple: con connexion [ .]* all characters after the word. To conclude : "n[1i!e3]+[g89]+[aero40]+[^a-z]+[ .]*" for the term nega works ! For nooooooooooooob or just noob : "n[o0]+b+[^a-z]+[ .]*" ps: sorry for my English Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 12, 2011 Author Share Posted December 12, 2011 Originally Posted by phrogz*: Thx, looks nice I will try it, but with simple expressions: regex is like the dark side for me. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 12, 2011 Author Share Posted December 12, 2011 Originally Posted by Wunderlag*: can someone provide a list of these regex words? i only have a list with all the words and it when i put "yed" in this list it always kicks everyone who writes "yedi" or something... i can't get the gang of it... Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 13, 2011 Author Share Posted December 13, 2011 Originally Posted by Soarda*: I sharing my word list Copy and paste in the word list WatchdogWord.txt To stop a word you can use this at the end of your regex [^a-z]+[ .]*" with this "yed[^a-z]+[ .]*" you kill (if in kill list) only people who say yed Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 16, 2011 Author Share Posted December 16, 2011 Originally Posted by GGBOOM*: Great plugin! Anyone know of a way to add the GUID to the banlist upon a ban? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 17, 2011 Author Share Posted December 17, 2011 Originally Posted by Inception*: You say that if you want to stop a word you're force to type +[^a-z]+[.]*" after it? So you can't just put single words in the list? I'm not a French guy, so I'll put some English bad words in this post. I'll also place some Dutch words in the list. I'm still busy to place all my own words in a list though, but I'll put it in here if I have new ones. Maybe other people can do this either, so we can 'share' our word lists? EN - "[f]+[uo0]+[ck]+[inger31]+[^a-z]+[.]*" EN - "[n]+[o0]++[^a-z]+[.]*" EN - "[n]+[1i!e3]+[g89]+[aero40]+[r]+[^a-z]+[.]*" NL - "[k]++[dt]+[^a-z]+[.]*" NL - "[t]+[e3]+[r]+[i1]+[n]+[g]+[^a-z]+[.]*" NL & EN - "[kc]+[a4e3]+[n]+[kc]+[e3o0]+[r]+[^a-z]+[ .]*" Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 17, 2011 Author Share Posted December 17, 2011 Originally Posted by Durty*: I have no idea how to use regex, but even without it, this plugin works great! It works pretty much just like chatfilter worked for bc2 (does not work for me in bf3). I tested it out on my match server and it worked exactly as I wanted it too. I now have it on our main server and it's working as intended. The way I have it setup, I have all of my 'bad words' from the chatfilter in the kill words list. I actually like this better as instead of a yell, it will now kill them... nothing like a kill to get a players attention. We also use the bad words as a filter for disrespect, not necessarily just a list of bad words. I did not populate anything else except the ban list, which is the same list I had in the chat filter. At the bottom, my settings are as follows (closely simulating previous filter): Max kill before kick: 3 Max kick before Tban: 2 Max TBan before Ban: 2 Day before reset: 365 Time Ban in seconds: 604800 (one week) Delay between message and kick: I can't change this to anything but default of 5 You will need to use your own messages at the top as the default is in French. I need to test a bit more the yes/no options of either sending a public or private message... I haven't exactly figured out yet which is the best setting. Thanks for the great plugin! Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 17, 2011 Author Share Posted December 17, 2011 Originally Posted by Durty*: I will say though, it would be nice to choose to turn off a public announcement. For instance, I would prefer not to have a kill announced to all people. And I echo what someone else stated above, a pbguid ban would be nice as well. Besides that, I'm still very satisfied with it. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 17, 2011 Author Share Posted December 17, 2011 Originally Posted by Legate*: Two observations: In spanish "negro" not always is a bad word, depent of the contexts, could be use like "buddy" if you know the player or just talking about the black color. And the word "Ass": on my server a player was kicked by the dodge filter for use 3 times the word "assignment". Legate. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 17, 2011 Author Share Posted December 17, 2011 Originally Posted by Wunderlag*: thanks soarda i'm not sure if i should post the list i have got in here because i can't remember where i got it from... but its packed with words in 3 different languages... Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 17, 2011 Author Share Posted December 17, 2011 Originally Posted by QUACK-Major-Pain*: We changed our messages to english, and last night someone was kicked, and the message still appeared in game in french. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 17, 2011 Author Share Posted December 17, 2011 Originally Posted by Soarda*: 1.2.0 is release ! CWatchdogLanguage V1.2.0.0.zip DON'T USE the symbol + in regex because, procon doesn't save this symbol! USING {1,} as + So you can't just put single words in the list?Single words works ! but if you add "ass" and someone say assignment he will be killed.Regex are used precisely to avoid this. For kill ass and not assignment => "ass[^a-z]{1,}[ .]*" it would be nice to choose to turn off a public announcement.Private announcement don't works with BF3! If you turn to off public announcement, the player will be kill/kick/.. but no messages appear. the message still appeared in game in french.oO I will test Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 17, 2011 Author Share Posted December 17, 2011 Originally Posted by Durty*: So let me make sure I understand this properly: The public message is what is announced in the server. The private message is what the server tells the player in battlelog once they have been kicked or banned, correct? If this is correct, then there should be no need for a private message for a kill. And if this is the case, then how do I turn off the public announcement? I already have Send privately kill to player set to yes, thinking that it would only send a private message (which if there are no private announcements, then I'm still a bit confused here). @Major Pain, be sure to click yes and no on each message at the top and put in your own message for each. Clicking yes will display the private message, clicking no will display the public message. The way mine are setup, the private message is directed at the player, the public message is intended to call the player out on the server. So the audience is different in each message. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 17, 2011 Author Share Posted December 17, 2011 Originally Posted by QUACK-Major-Pain*: I have set private messages to off. Edited the public messages to english. Message appeared for kick last night in French. Will test it myself later. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 17, 2011 Author Share Posted December 17, 2011 Originally Posted by Durty*: I think it sends both no matter what to be honest. The private message is what the player sees in battlelog after he is kicked/banned, the public message is what appears in the server. You'll need to edit both messages in each set. At least I had to in my server. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 17, 2011 Author Share Posted December 17, 2011 Originally Posted by QUACK-Major-Pain*: Private message I don't think goes to battlelog. It's for ingame. Which doesn't work anyway in BF3. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 18, 2011 Author Share Posted December 18, 2011 Originally Posted by SinBad-OTF*: Just put it on and tried it today. Some issues I have seen: 1. "ass[^a-z]{1,}[ .]*" did not work with the word 'Glass'. Picked up on the ass part and killed the player. 2. The permanent ban doesn't work. The words show in chat that the person is banned, but they don't actually get banned. 3. I just put the word the list: 'fk' in and 'afk' got a hit. ? 4. The message the player sees when trying to get back into the server after a temp ban has %TIME% instead of the actually length of time he is banned. Anyone else seeing this or is it just me? //SinBad Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 18, 2011 Author Share Posted December 18, 2011 Originally Posted by Durty*: Private message I don't think goes to battlelog. It's for ingame. Which doesn't work anyway in BF3. Have you tested this? When I kicked/banned myself from my match server, the message that was provided through battlelog was the private message. I'll test again tonight to be sure, but I'm 95% confident that was the case. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 18, 2011 Author Share Posted December 18, 2011 Originally Posted by cpt*: I tested version 1.2.0.0 in BF3. I changed all messages to english. Ingame the messages are shown in english. But in Battlelog there are still the french "original" messages shown - little bug. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 18, 2011 Author Share Posted December 18, 2011 Originally Posted by QUACK-Major-Pain*: Found a bug: Kill for the word "beacon" even though it's not in the list. Our list: f4g sh!t ph4g tw4t a55 puta puto foder bitch fuck asshole a$$ a$$hole a$$holes a$$es a$$e$ a$$ed a$$h0le a$$h0les a$$h0l3 a$$h0l3s fdp vsf fag fucking Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 18, 2011 Author Share Posted December 18, 2011 Originally Posted by Soarda*: V1.2.0.1 CWatchdogLanguageV1.2.0.1.zip For Private/public The public message is seen on the server (ingame) (the player "foo" has been killed for her language) The private message is seen on the battlelog when player is kicked/banned. (on battlelog:You have been killing for your language) The private message (ingame) dont work with BF3 but they work in BC2 ! For regex : not kill/kick/... : xxxWordxxx use : "[^a-z]{1}Word[^a-z]{1,}[ .]*" Result : glass, assignment are authorized; ass is not authorized not kill/kick/... : Wordxxx use : "Word[^a-z]{1,}[ .]*" Result : assignment is authorized, glass and ass are not authorized not kill/kick/... : xxxWord use : "[^a-z]{1}Word" Result : glass is authorized, assignment and ass are not authorized The permanent ban doesn't workI tested this morning and it works ! I just put the word the list: 'fk' in and 'afk' got a hit.?Use : "[^a-z]{1}fk[^a-z]{1,}[ .]*" The message the player sees when trying to get back into the server after a temp ban has %TIME%Time can be refreshed in message of battlelog. Kill for the word "beacon" even though it's not in the listAgain after 1.2.0.1 ? Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 18, 2011 Author Share Posted December 18, 2011 Originally Posted by QUACK-Major-Pain*: With previous version. Beacon causes kick. Updating today and will test it out. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 19, 2011 Author Share Posted December 19, 2011 Originally Posted by QUACK-Major-Pain*: "Get a better computer" causes kill. Quote * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted December 19, 2011 Author Share Posted December 19, 2011 Originally Posted by Soarda*: in procon directory > Configs > ***.***.***.***_port.cfg Check this lines : procon.protected.plugins.setVariable "CWatchdogLanguage" "Kill Words" "" procon.protected.plugins.setVariable "CWatchdogLanguage" "Kick Words" "" procon.protected.plugins.setVariable "CWatchdogLanguage" "Time Ban Words" "" procon.protected.plugins.setVariable "CWatchdogLanguage" "Ban words" "" no words as "con";"pute" ? normally, the same list in the window to add the word Quote * Restored post. It could be that the author is no longer active. Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.