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

Spam Blocker v3.6


Post New Thread Reply   
 
Thread Tools Display Modes
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 02-22-2009 , 10:30   Re: Spam Blocker v1.1.1
Reply With Quote #11

Quote:
Originally Posted by TeoNoman View Post
arkshine, moved to pcvars, moved to switch. But what do u mean about first suggestion? I didn't get it (sry, english is not my native lang).

tuty, what's wrong with read_args (said, 127) and get_user_authid (id,szAuthID, 31)?
let the arkshine explain you because my english is bad and you won't understand.. please arkshine explain him
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
BeasT
Senior Member
Join Date: Apr 2007
Location: Lithuania
Old 02-22-2009 , 10:37   Re: Spam Blocker v1.1.1
Reply With Quote #12

Make an .ini file so that admins could write other spam messages to block, because there are a lot more than you posted.
BeasT is offline
Send a message via Skype™ to BeasT
TeoNoman
Senior Member
Join Date: Jun 2008
Old 02-22-2009 , 10:40   Re: Spam Blocker v1.1.1
Reply With Quote #13

lol, that option was in ToDo list OK, going to make that thing...
__________________
My plugins:
Spam Blocker

My servers:
http://gg.zombified.ru
TeoNoman is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-22-2009 , 10:46   Re: Spam Blocker v1.1.1
Reply With Quote #14

About pcvars : http://wiki.alliedmods.net/Optimizin...#Cvar_Pointers

About my first suggestion, because you called your plugin "Spam Blocker" but you block only messages with "buy server" and ".co.il". What about to provide a file so people can write a list of words they want to block. In your plugin, you will have just to load this file and checking for all theses words.
Arkshine is offline
TeoNoman
Senior Member
Join Date: Jun 2008
Old 02-22-2009 , 10:49   Re: Spam Blocker v1.1.1
Reply With Quote #15

Yes, yes, I'm trying to make a config-file with a list of deprecated strings...
__________________
My plugins:
Spam Blocker

My servers:
http://gg.zombified.ru
TeoNoman is offline
TeoNoman
Senior Member
Join Date: Jun 2008
Old 02-22-2009 , 11:36   Re: Spam Blocker v1.2
Reply With Quote #16

V1.2 is out now, with spam_blocker.ini file containing a list of restricted strings. What do u say, guys?
__________________
My plugins:
Spam Blocker

My servers:
http://gg.zombified.ru
TeoNoman is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 02-22-2009 , 11:44   Re: Spam Blocker v1.2
Reply With Quote #17

if you used

Code:
    configfile [256]
    get_configsdir (configfile, 255)
    formatex (configfile, 255, "%s/spam_blocker.ini", configfile)
why you dont listen and use same thing on

Code:
new said [128]
read_args (said, 128)
to be like this

Code:
new said [128]
read_args (said, 127)

new szAuthID[32]
get_user_authid (id, szAuthID, 31)
?
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
TeoNoman
Senior Member
Join Date: Jun 2008
Old 02-22-2009 , 12:55   Re: Spam Blocker v1.2
Reply With Quote #18

Can't get what do u want to say. OK, rewrite the code and show me the difference.
__________________
My plugins:
Spam Blocker

My servers:
http://gg.zombified.ru
TeoNoman is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 02-22-2009 , 13:23   Re: Spam Blocker v1.2
Reply With Quote #19

is not correct new name[32]
get_user_name(id, name 32) because you will get some errors (out of bounds i think) but nvm...
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
TeoNoman
Senior Member
Join Date: Jun 2008
Old 02-22-2009 , 14:23   Re: Spam Blocker v1.2
Reply With Quote #20

Ah... Got it. You know, we are talking about steamid and chat messages. I'm sure that strlen of steamid is less than 32, also about chat message. Anyway, I have a stock of place.
__________________
My plugins:
Spam Blocker

My servers:
http://gg.zombified.ru
TeoNoman 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 00:16.


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