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

Advanced Swear Filter + Punishment Menu v2.0


Post New Thread Reply   
 
Thread Tools Display Modes
Grump
Member
Join Date: Apr 2005
Location: Dean of Mean
Old 04-28-2005 , 03:13  
Reply With Quote #191

Quote:
Originally Posted by J. Cricket
Is it possible to make this compatible with Day of Defeat?
I would like to know the answer to this as well.
Grump is offline
Send a message via ICQ to Grump Send a message via AIM to Grump Send a message via MSN to Grump Send a message via Yahoo to Grump
Morpheus
Senior Member
Join Date: Mar 2004
Old 04-28-2005 , 05:15  
Reply With Quote #192

How can I change this plugin to ban via AMXBANS?

Found this code in actions.inc

Code:
server_cmd( "banid ^"%d^" ^"%s^" kick;wait;writeid", floatround(fBanTime), szUserID )
If this should ban via SteamID and with a reason how should the code be?

Code:
server_cmd( "amx_ban ^"%d^" ^"%s^" Banned cause of swearing!", floatround(fBanTime), szUserID )
And how do I add new words to the filter?

Many thx!

Morpheus
Morpheus is offline
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 04-29-2005 , 10:56  
Reply With Quote #193

Add new words by addming them to amxmodx/configs/swearfilter/blacklist.ini

Or, if you use MySQL, add the words to the blacklist table..

And I don't know what you mean with amxbans..
xeroblood is offline
Send a message via MSN to xeroblood
Morpheus
Senior Member
Join Date: Mar 2004
Old 04-30-2005 , 16:19  
Reply With Quote #194

Quote:
Originally Posted by xeroblood
Add new words by addming them to amxmodx/configs/swearfilter/blacklist.ini

Or, if you use MySQL, add the words to the blacklist table..

And I don't know what you mean with amxbans..
How do I add the words?? Can I just add the to the tables.sql and then what? Do u have to upload the tables manually to the MYSQL again?

Kinda primative way of adding words.. and not easy.. !

Amxbans by YoMama..
Morpheus is offline
MajorTom999
Junior Member
Join Date: May 2004
Location: Vancouver, Canada
Old 06-25-2005 , 13:18  
Reply With Quote #195

Crashes/locks up linux server after some time, took about 10 - 14 hours, but was regular. The server didn't appear to actually crash, but processor pins at 100% and the server is unresponsive. This was with a fresh install of both CS and AMXX 1.01.

__________________
MajorTom999 is offline
algee2005
Member
Join Date: Jul 2005
Location: Germany
Old 07-10-2005 , 19:48  
Reply With Quote #196

could someone please give a complete and actual overview about all cmds and cvars - and how to use them?

the ones i find in the posts are different from these i find in the swearfilter.cfg file - what should i add where and what should i set it to?

these are some from the swearfilter.cfg:

sv_filtersystem 2 //- Swear Filter System to use:
sv_punishsystem 2 //- Punishment System to use:
sv_censorsystem 2 //- Word Censoring System to use:
sv_renamesystem 2 //- Renaming System to use:

What system to use?

sv_bantype 0 //- Player Ban Type to use:

What ban type to use?

sv_punish_single "ae" //- The Default Punishment for Single Mode
(Possible Flags: "abcdefg")

whatever is the single mode?


these are some i could collect from this thread:

sv_punishment "b"
sv_definite_punishment "ae"

what is that used for now?

sv_noswear 1

^^??


sorry but i have abolutly NO clue about amxx-coding at all, and i got no time to dig around for hours just to get this plugin working. its very frustating when i need to grab the information from 13 threadpages, just to find even more confusing stuff without any information. 2 hours wasted, i ll give up for today...
could you please make this stuff noobfriendly? i would give thanks in advance.
algee2005 is offline
Send a message via ICQ to algee2005 Send a message via AIM to algee2005 Send a message via MSN to algee2005 Send a message via Yahoo to algee2005
Grottenolm
Junior Member
Join Date: Sep 2005
Old 09-12-2005 , 19:46  
Reply With Quote #197

I had a look at the options of this swearfilter. Very nice work, but since on the DoD servers I host there are lots and lots of nazi idiots I would like to request two additional features:

1 Possibility to define Words where an automatic Kick is done even at the first offence

2 Possibility to define Words where an automatic Ban is done even at the first offence

This way the normal swear filtering can filter out multiple offenses of "normal" swearing, while people who use more severe words or phrases get punished more severely.
Grottenolm is offline
Grottenolm
Junior Member
Join Date: Sep 2005
Old 09-21-2005 , 02:56  
Reply With Quote #198

Quote:
Originally Posted by algee2005
could someone please give a complete and actual overview about all cmds and cvars - and how to use them?
...

sorry but i have abolutly NO clue about amxx-coding at all, and i got no time to dig around for hours just to get this plugin working. its very frustating when i need to grab the information from 13 threadpages, just to find even more confusing stuff without any information. 2 hours wasted, i ll give up for today...
could you please make this stuff noobfriendly? i would give thanks in advance.
In the SMA of this plugin the whole stuff is explained:

Code:
 *     amx_swearmode <on|off>   - In-game admin command to Turn swearMode
 *                                on or off. (removes any current punishments)
 *     amx_swearmenu            - Toggles Swear Menu To Be Attached to you In-Game
 *                                If Swear Menu is attached to an Admin, only
 *                                that admin will see the Swear Menu when a
 *                                player swears too many times.  If SwearMenu
 *                                is not attached to an admin, then Gag mode
 *                                is the default!
 *     amx_namecheck            - Runs a Swear Filter On All Clients' Username
 *                                Should be called if CVAR sv_checknames is
 *                                changed to 1 In-Game.
 *
 *  Server CVARS:
 *     sv_swearfilter     <0|1>    - Turns the Whole Plugin On/Off
 *                                     (0 = Off) (1 = On)
 *     sv_filtersystem    <0|1|2>  - Swear Filter System to use:
 *                                     (0 = Full Mode) (1 = Slim Mode) (2 = Simple Mode)
 *     sv_punishsystem    <0|1|2>  - Punishment System to use:
 *                                     (0 = None) (1 = Single) (2 = Progressive)
 *     sv_censorsystem    <0|1|2>  - Word Censoring System to use:
 *                                     (0 = None) (1 = Random (@$%#)) (2 = Custom)
 *     sv_renamesystem    <0|1|2>  - Renaming System to use:
 *                                     (0 = Old Name) (1 = Steam ID) (2 = Custom)
 *     sv_whitelist       <0|1>    - Whitelist System for GOOD words
 *                                     (0 = No Whitelist) (1 = Use Whitelist)
 *     sv_checknames      <0|1>    - Player Name Filter
 *                                     (0 = Ignore Names) (1 = Filter Names)
 *     sv_swearhelp       <0|1>    - Player Help System (say /swear)
 *                                     (0 = No Help) (1 = Help)
 *     sv_bantype         <0|1>    - Player Ban Type to use:
 *                                     (0 = Steam ID) (1 = IP Address)
 *     sv_obeyimmunity    <0|1>    - Obey AMX Admin Immunity Rules for Punishments
 *                                     (0 = Disobey) (1 = Obey)
 *
 *     sv_menu_options    "abc"    - The Punishments Allowed in Swear Menu (Possible Flags: "abcdefg")
 *     sv_punish_single   "abc"    - The Default Punishment for Single Mode (Possible Flags: "abcdefg")
 *     sv_rename_custom   "Noob"   - The Custom Name used for Renaming System
 *     sv_censor_custom   "*"      - The Custom Character used for Censoring System
 *     sv_cash_loss       ##       - Amount of Cash player will Lose
 *     sv_gag_time        ##       - Number of Seconds player will be Gagged
 *     sv_ban_time        ##       - Number of Minutes player will be Banned
 *     sv_fire_time       ##       - Number of Seconds. player will be Set on Fire
 *     sv_fire_dmg        ##       - Amount of Damage/Second player will lose from Fire
 *     sv_slap_times      ##       - Number of Times player will be Slapped
 *     sv_slap_dmg        ##       - Amount of Damage of each Slap
Grottenolm is offline
Grottenolm
Junior Member
Join Date: Sep 2005
Old 09-25-2005 , 15:45  
Reply With Quote #199

Anyone else having this issue?

When I set sv_censorsystem to "0" the server crashes as soon as someone says a blacklisted word. I am running it on DOD with AMXX1.01

I want to disable censoring because I need some way to judge whether to ban someone for permanent or not. As it is not even in the logs the blacklisted word is seen, right?

By the way: If anyone wants to use this plugin with Day of Defeat you will have to edit the file "actions.inc". Find the section

Code:
stock ActionCash( nUserID )
and remove everything between the "{" and the "return" (not including these two things).
Grottenolm is offline
xykic
Member
Join Date: Sep 2005
Old 09-29-2005 , 21:14  
Reply With Quote #200

Uhh help me please, I'm trying to make it to where if you say a "blacklist" word then it will instead change the "blacklist" word to say something like "I'm a n00b" and if your name has a "blacklist" word in, I want it to change your name to "Potty Mouth" etc. but im havin trouble doing this, all i get when someone says a "blacklist" word is **** or "@*! and stuff like that. Also I really want to lower the gag time...2 minutes is a lil long to me...i was thinking 30 seconds or so...can't seem to change that myself though. So pretty much i need help changing everything.
__________________
http://www.amxmodx.org/
`XykiC. needs Karma
xykic is offline
Send a message via AIM to xykic
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 15:00.


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