Raised This Month: $32 Target: $400
 8% 

Swear Replacement/Filter


Post New Thread Reply   
 
Thread Tools Display Modes
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 10-01-2007 , 10:42   Re: Swear Replacement/Filter
Reply With Quote #51

Quote:
Originally Posted by Hell Phoenix View Post
Weird, the difference between 1.1 and 1.3 is I changed the define from 150 to 200 on the top. Thats it (1.2 had a = that I was using to debug at one point and forgot to take out...removed that for 1.3). I dont get any crashes with it, so im having a hard time with figuring out what the problem is. Do you get any errors in your SM logs or does it just hang? When does it hang (randomly, when someone says something, starting the server)?

*edit* And what mod is this that its hanging on?

*edit #2* What version of SM are you using?
1. no, i haven't errors, but SRCDS server crashes with "Memory" error if i try to use a chat.
2. mod cstrike, of course. =)
3. my SM version is 1512
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
Hell Phoenix
Senior Member
Join Date: Jan 2005
Old 10-01-2007 , 11:17   Re: Swear Replacement/Filter
Reply With Quote #52

Can you remove a bunch of other plugins and see what happens? It might be an incompatability with something else.
__________________
Hell Phoenix is offline
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 10-01-2007 , 15:19   Re: Swear Replacement/Filter
Reply With Quote #53

i understand you, will test it asap...
=)
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 10-04-2007 , 02:18   Re: Swear Replacement/Filter
Reply With Quote #54

test: Win32 server, minimal plugins set.

meta list

Listing 3 plugins:

[01] SourceMod (1.0.0.1534) by AlliedModders LLC
[02] CS:S Tools (1.0.0.1472) by AlliedModders
[03] SDK Tools (1.0.0.1521) by AlliedModders LLC

sm plugins list

[SM] Listing 22 plugins:

01 "SQL Admin Connector (Threaded and UTF8 ready)" (1.2) by AngelX, based on o
riginal AlliedModders LLC code
02 "SQL Admin Manager (UTF8 ready)" (1.2) by AngelX, based on original AlliedM
odders LLC code
03 "Admin Help" (1.0.0.1534) by AlliedModders LLC
04 "Admin Menu" (1.1.3b) by LobioN (With Integrated plugin Admin Sounds by dal
to)
05 "Advanced c4 Countdown Timer" (1.5) by dalto
06 "Anti-Flood" (1.0.0.1534) by AlliedModders LLC
07 "Basic Ban Commands" (1.0.0.1534) by AlliedModders LLC
08 "Basic Chat" (1.0.0.1534) by AlliedModders LLC
09 "Basic Comm Control" (1.0.0.1534) by AlliedModders LLC
10 "Basic Commands" (1.0.0.1534) by AlliedModders LLC
11 "Basic Fun Commands" (1.0.0.1534) by AlliedModders LLC
12 "Basic Fun Votes" (1.0.0.1534) by AlliedModders LLC
13 "Basic Info Triggers" (1.0.0.1534) by AlliedModders LLC
14 "Basic Votes" (1.0.0.1534) by AlliedModders LLC
15 "Free Slots" (1.0.0.1534) by Lugavchik
16 "HLstatsX Plugin" (1.6) by Tobi17
17 "Nextmap" (1.0.0.1534) by AlliedModders LLC
18 "Quake Sounds" (1. by dalto
19 "RandomCycle" (1.0.0.1534) by AlliedModders LLC
20 "Rock The Vote" (1.0.0.1534) by AlliedModders LLC
21 "Swear Replacement" (1.4) by Hell Phoenix
22 "Weapon Logging" (1.5) by Tobi17


i try to use a chat: say blah-blah-blah

Result: server crushed with mdmp. The Stop error: Memory could not be "read".

Debug enabled but nothing to post: it's not contain any useful info.
Attached Files
File Type: rar Steam__194572__2007_9_5T6_11_44C53765.rar (39.3 KB, 119 views)
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
Hell Phoenix
Senior Member
Join Date: Jan 2005
Old 10-04-2007 , 10:22   Re: Swear Replacement/Filter
Reply With Quote #55

Have you edited either the replacements.txt or badwords.txt? If so, make sure there are no blank lines and that there is no extra line at the end of the file. Also, if you added to badwords.txt, how many lines do you have in there?
__________________
Hell Phoenix is offline
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 10-04-2007 , 11:19   Re: Swear Replacement/Filter
Reply With Quote #56

Quote:
Originally Posted by Hell Phoenix View Post
Have you edited either the replacements.txt or badwords.txt? If so, make sure there are no blank lines and that there is no extra line at the end of the file. Also, if you added to badwords.txt, how many lines do you have in there?
=) =)
i always make an empty line at the end of file...

wow.. it can make a problem???
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
Hell Phoenix
Senior Member
Join Date: Jan 2005
Old 10-04-2007 , 11:25   Re: Swear Replacement/Filter
Reply With Quote #57

Yes....get rid of the line and let me know what happens.
__________________
Hell Phoenix is offline
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 10-04-2007 , 11:40   Re: Swear Replacement/Filter
Reply With Quote #58

Thanks! =)
Will test it tonight...
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 10-05-2007 , 02:24   Re: Swear Replacement/Filter
Reply With Quote #59

2 Hell Phoenix: you right! =)
I removed an empty blank line at end of badwords.txt and now.. it works perfectly! =)

one note: not all words captures right by this filter... if word contain any numbers - it bypass filtering procedure without replacement...

for example: try to add to filter a word 1fuck1
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws

Last edited by imported_Anth0ny; 10-05-2007 at 02:28.
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
Hell Phoenix
Senior Member
Join Date: Jan 2005
Old 10-05-2007 , 10:13   Re: Swear Replacement/Filter
Reply With Quote #60

I just tried and it worked fine in both mode 1 and 2. Does it show up in the log that it caught the word?
__________________
Hell Phoenix is offline
Reply


Thread Tools
Display Modes

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 07:34.


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