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

Block Advertising


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-04-2012 , 18:55   Re: Block Advertising
Reply With Quote #21

Quote:
Originally Posted by n0br41ner View Post
I wonder how plugins submitted by a Plugin Aprrover gets reviewed

Anyways, nice plugin and good job
Other approvers.
__________________
fysiks is offline
BrUn3S
Member
Join Date: Jan 2012
Location: Slovakia
Old 11-22-2012 , 17:01   Re: Block Advertising
Reply With Quote #22

I found a bug
If you write enabled advertising as large letters server is crashed
Example I write: www.MyWebStie.com server is crashed.
(advertising is permitted www.mywebsite.com)

How to fix this bug?
BrUn3S is offline
Green0Turtle
Member
Join Date: Nov 2012
Old 11-25-2012 , 16:33   Re: Block Advertising
Reply With Quote #23

Nice plugin
I want when the players change their nick and try it server punish them with kick
and how can i block this say : for example: 27015
Green0Turtle is offline
Old 12-24-2012, 23:39
vikassharma
This message has been deleted by vikassharma.
z0mb1el0v3r
Senior Member
Join Date: May 2011
Old 03-06-2013 , 02:10   Re: Block Advertising
Reply With Quote #24

EDIT: Can add ban feature to this? Kicking is not helping much. Player can always reconnect and advertise again & again despite getting kicked....

Last edited by z0mb1el0v3r; 04-08-2013 at 02:35.
z0mb1el0v3r is offline
jingojang
Senior Member
Join Date: Feb 2010
Location: The Moon
Old 08-04-2013 , 08:02   Re: Block Advertising
Reply With Quote #25

Does this detect IP and website in the name of a player?
jingojang is offline
santuzzu
Junior Member
Join Date: May 2013
Old 10-27-2013 , 07:45   Re: Block Advertising
Reply With Quote #26

Alka please fix this plugin.
has a bug.
if you want to add exception for ex ( myserver.isgreat.com)
and you write in chat myserver.isgreat.com is working,its allowing that to be advertised
but if u write MyServeR.ISgreat.COM / MYSERVER.ISGREAT.COM
server will crash (segmentation fault)
santuzzu is offline
shaliwahan
Member
Join Date: Aug 2011
Old 01-18-2014 , 08:17   Re: Block Advertising
Reply With Quote #27

Quote:
Originally Posted by santuzzu View Post
Alka please fix this plugin.
has a bug.
if you want to add exception for ex ( myserver.isgreat.com)
and you write in chat myserver.isgreat.com is working,its allowing that to be advertised
but if u write MyServeR.ISgreat.COM / MYSERVER.ISGREAT.COM
server will crash (segmentation fault)
Line #91-92
PHP Code:
read_args(szTextcharsmax(szText));
remove_quotes(szText); 
Make that
PHP Code:
read_args(szTextcharsmax(szText));
strtolower(szText);
remove_quotes(szText); 
After this add all your exceptions in small caps (if any)
shaliwahan is offline
xkp
Member
Join Date: Jan 2015
Location: AlliedLand
Old 02-11-2015 , 15:36   Re: Block Advertising
Reply With Quote #28

Please update with lates bug and add names detect !
~ it's the best detection ever.
__________________
xkp is offline
Send a message via Skype™ to xkp
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 02-21-2015 , 04:07   Re: Block Advertising
Reply With Quote #29

PHP Code:
    if(file_size(g_szLogsFile1) / MAX_LOGS)
        
fclose(fopen(g_szLogsFile"w"));
    else
        
fclose(fopen(g_szLogsFile"a")); 
This is not safe. Check if fopen does not return 0 before closing.

And why formatex with "%c" format when you can just do it like that:

PHP Code:
new written 0Output[128];
for (new 
0strlen(Input); i++)
  if (
ValidAdvert(Input[i]))
    
Output[written++] = Input[i];
Output[written] = '\0'
__________________

Last edited by claudiuhks; 02-21-2015 at 04:12.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 03-05-2015 , 21:06   Re: Block Advertising
Reply With Quote #30

@claudiuhks if you'd like to repair the plugin and repost it I'm more than happy to update the first post.
hornet 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 10:30.


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