Block Advertising
2 Attachment(s)
Block Advertising [REQ] ○Description
○Detect Code:
11.1.1.1 ○Cvar
○Changelog
Spoiler
○Requirments ○Modifications
○Files
Find updated plugin HERE |
Re: Block Advertising
I tested this when you posted it in the request section, good job. :up:
|
Re: Block Advertising
Wow, alka is back.
|
Re: Block Advertising
Awesome :), thanks for that x)
|
Re: Block Advertising
Well, all you just did was implement a very small subset of Regex. I highly doubt that this has fewer false positives than a properly formatted RegEx pattern. I'd like to see an efficiency comparison between this and RegEx because have quite a few native calls there for every single letter typed in chat.
Color chat does not work in all games so either remove color chat or change the the plugin to Counter-Strike only. |
Re: Block Advertising
Nice plugin:3 I will test it.
GJ PS: What does this mean? PHP Code:
|
Re: Block Advertising
Quote:
I think a Bypass flag is not needed. Instead of: PHP Code:
PHP Code:
Good job! And the greatest question is: there is no possibility to do that using RegEx? Quote:
A byte may be checked with "&" operator. |
Re: Block Advertising
L 10/02/2012 - 12:31:40: Start of error session.
L 10/02/2012 - 12:31:40: Info (map "fy_pool_day") (file "addons/amxmodx/logs/error_20121002.log") L 10/02/2012 - 12:31:40: [AMXX] Invalid Plugin (plugin "block_advertising.amxx") Something wrong with this plugin... but then i do that plugin works normaly - ColorChat Use - If you don't want to use colors in chat comment the following lines then recompile Code: //#include <colorchat> //#define USE_COLORCHAT |
Re: Block Advertising
Ok. Lets start...
@fysiks - It is like a Regex subset but with more checks. I don't even bother to explain, you can check that yourself...you can make comparisons. If you bother to read about plugin modifications you will see that it can be used without colorchat too and this make it compatible for all games and not only CS. @claudiuhks - Same about colorchat, just comment 2 lines and don't use it. You can't follow one little advice and modify a file? Really? About strlen() yeah it's a good idea, i will modify it. Code tags are useless for changelog? why would you need that? I will add spoiler tags and that it's enough for shorting the post. BYPASS_FLAG it's there for owners, maybe i want to write any website? make fun of someone? but i don't want to add in the whitelist so that anyone can write it The greatest answer: do it yourself. I didn't say that it's not possible...just this way i can handle the false detects. @Swat-inc - Open the log and paste the error here |
Re: Block Advertising
in logs only this text - but then i do that //#include <colorchat> //#define USE_COLORCHAT and recompiled its works perfect ;)
L 10/02/2012 - 12:03:12: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20121002.log") L 10/02/2012 - 12:03:12: [AMXX] Invalid Plugin (plugin "block_advertising.amxx") L 10/02/2012 - 12:10:46: Start of error session. L 10/02/2012 - 12:10:46: Info (map "de_dust2_2x2") (file "addons/amxmodx/logs/error_20121002.log") L 10/02/2012 - 12:10:46: [AMXX] Invalid Plugin (plugin "block_advertising.amxx") L 10/02/2012 - 12:31:40: Start of error session. L 10/02/2012 - 12:31:40: Info (map "fy_pool_day") (file "addons/amxmodx/logs/error_20121002.log") L 10/02/2012 - 12:31:40: [AMXX] Invalid Plugin (plugin "block_advertising.amxx") |
All times are GMT -4. The time now is 03:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.