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

Advanced Swear Filter + Punishment Menu v2.0


Post New Thread Reply   
 
Thread Tools Display Modes
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 04-06-2004 , 22:33  
Reply With Quote #61

Quote:
Originally Posted by DoubleTap
Working fine now, I had to use all new config files to get it to compile for some reason.... but now I am confused... the swear_config.cfg has default punishment 1-5 and the cvars are letter based... I assume you just didn't update that info when you added new functions.

Do I need a swear_config.cfg if I just use all the cvars I want in my amxx.cfg ?
ooooops!! Thx for pointing that out!! You're right, I totally forgot about editing the swear_config.cfg file.. Thx Again DoubleTap, you find every mistake!! I love it!!

I'm going to edit it, maybe make some things easier, and repost tomorrow.. not really a version update tho..

You don't need swear_config.cfg if you have them all in amxx.cfg.. I guess that works too! (or server.cfg)
xeroblood is offline
Send a message via MSN to xeroblood
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 04-07-2004 , 17:23  
Reply With Quote #62

Edit: nvmd, I just looked at dopefish's code and copied his function...
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
DopeFish
Senior Member
Join Date: Feb 2004
Old 04-08-2004 , 03:23  
Reply With Quote #63

thanks to pimp daddy for reminding me about this thread ;) added the command "changexp <id> <xp>" to my wc3 plugin.
DopeFish is offline
Send a message via ICQ to DopeFish
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 04-08-2004 , 09:22  
Reply With Quote #64

Awesome!! Thx guys for making the commands similar, makes my job easier!!
xeroblood is offline
Send a message via MSN to xeroblood
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 04-08-2004 , 11:03  
Reply With Quote #65

It'll be in version 1.6.3...
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
DoubleTap
Veteran Member
Join Date: Mar 2004
Location: Harker Heights, TX
Old 04-08-2004 , 11:41  
Reply With Quote #66

Hey man, can you make this write to my logs when someone is penalized for cussing. I have mine setup (as best I can tell) to fine automatically... yet I still see a menu.

In my amxx.cfg:
Quote:
sv_punishment dac
sv_sweartimes 1
sv_use_menu 0
in my swear_config.cfg:
Quote:
// Turns Plugin On/Off <1|0>
sv_noswear 1

// The number of Swears Allowed; 0 = Punishment Off
sv_sweartimes 1

// Selects the default Punishment <1-5>
sv_punishment 1

// If set to 1 Admins see a menu, if 0 then no Menu will be shown (default punishment used only)
sv_use_menu 0

// The Amount of Cash Lost as Punishment
sv_cashloss 4000

// The Amount of HP Lost from Slap Punishment
sv_slapdmg 99

// The Amount of XP To Remove if using an XP Based Mod (SH or WC3)
sv_xploss -100
If this is right I shouldn't be seeing the menu and they should automatically be fined 100 XP, 4000 cash and slapped for 99... That is not happening and if an admin isn't there I am not sure anything is happening at all and there is no entry in my logs for me to verify...

Vic/DT

Is there something I am doing wrong ?
__________________
DoubleTap is offline
Send a message via ICQ to DoubleTap
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 04-10-2004 , 17:51  
Reply With Quote #67

I uploaded another quick fix (mainly in readme file), if you follow the 5 steps, it shouldn't be hard at all...

@DoubleTap:
You don't need to add stuff to your amxx.cfg file, just customize the CVARs already written in custom/swear/swear_config.cfg
The plugin will execute that file, and the CVARs will take effect..
(maybe DL newest version, and use all new files)
xeroblood is offline
Send a message via MSN to xeroblood
knocker
Senior Member
Join Date: Mar 2004
Old 04-11-2004 , 02:56  
Reply With Quote #68

i tested the new version again and it worked for a whole day

but then it crashed again ... as usual. but it worked some hours with a full server so i really dont know why this happens
knocker is offline
Send a message via ICQ to knocker
knocker
Senior Member
Join Date: Mar 2004
Old 04-11-2004 , 02:57  
Reply With Quote #69

i tested the new version again and it worked for a whole day

but then it crashed again ... as usual. but it worked some hours with a full server so i really dont know why this happens
knocker is offline
Send a message via ICQ to knocker
euph
New Member
Join Date: Apr 2004
Old 04-17-2004 , 20:45  
Reply With Quote #70

Great plugin but it seems to be freezing/crashing 3 of my servers every now and then. Servers are fairly full most of the time and then randomly lock up. The console doesn't show anything special, but one thing I did notice was if you type in to many "filtered" words in a say it will freeze. I've removed the word filter for now and the servers have seemed to stabalize. But just in case here is what i'm running.

amxx_mm_i686.so v0.16
statsme_mm_i386. v2.8.2
fun_amx_i686.so v0.16
cstrike_amx_i686 v0.16
csstats_amx_i686 v0.16

and on my non glibc 2.3 box

amxx_mm_i386.so v0.16
statsme_mm_i386. v2.8.2
fun_amx_i386.so v0.16
cstrike_amx_i386 v0.16
csstats_amx_i386 v0.16

both are running the swear filter version 3.0 on linux.


Any help will be appreciated.

-mark
euph 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:30.


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