Raised This Month: $ Target: $400
 0% 

Admin Slash Very Minor Bug


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Raz
Senior Member
Join Date: Jan 2005
Old 02-19-2008 , 23:05   Admin Slash Very Minor Bug
Reply With Quote #1

First id like to say, Great plugin. I've been using it for years with amx_super.
I'd like to report one very minor bug. If you can even consider it that.

I use this advertiser/autoresponder plugin on my server. found here: http://forums.alliedmods.net/showthread.php?t=27814
For example if you type the word "checkpoints" in my server. that plugin automatically responds with "This server does not use checkpoints!" (a sentence that is predefined in a .ini file). Some people find this amusing so they spam words to make the message appear. Thats easily fixed with a warning and/or kick. However they can type /checkpoints and the command is hidden so we cannot tell who is doing it. This leads me to believe that admin_slash is hiding their messages since it hides admin messages such as the kick command.

If this gets refused to be fixed. is there a way I can tweak the plugin myself that would make the commands 'not hidden'. I don't know how to code otherwise I would do it myself.

Thanks in advance, Raz
Raz is offline
Send a message via AIM to Raz
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-19-2008 , 23:40   Re: Admin Slash Very Minor Bug
Reply With Quote #2

Disable the plugin and see if it still does what you are saying.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Raz
Senior Member
Join Date: Jan 2005
Old 02-20-2008 , 12:30   Re: Admin Slash Very Minor Bug
Reply With Quote #3

I had a friend type /checkpoint and the message that I preset came up, however his command was hidden. I then paused Admin_Slash. He did the same thing, and this time when he typed it. It was displayed in chat.
Raz is offline
Send a message via AIM to Raz
Old 02-20-2008, 14:00
anssik
This message has been deleted by anssik.
anssik
Senior Member
Join Date: May 2006
Location: Suomi Finland Perkele
Old 02-20-2008 , 14:03   Re: Admin Slash Very Minor Bug
Reply With Quote #4

Easy to fix. This will make any ad not show if trying to use a / command.

Find this in your ad_manager.sma
Code:
    new talk[64], keyword[16];     read_args(talk, 63) ;

Add this directly below it
Code:
    //If said is a command, don't check     if(containi(talk, "/") != -1)         return PLUGIN_CONTINUE;

And compile.

Untested but it should work.
__________________

Last edited by anssik; 02-20-2008 at 14:06.
anssik is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 02-20-2008 , 14:18   Re: Admin Slash Very Minor Bug
Reply With Quote #5

I use that add manager myself from maximus for a long time. But I never thought about an issue with commands not showing up, or seen it for that matter. But thats very cool if that works, I appreciate that anssik
I just might have todo that myself, although I havnt had an issue really, or it diddnt seem to matter to much.
__________________
bmann_420 is offline
Raz
Senior Member
Join Date: Jan 2005
Old 02-20-2008 , 14:26   Re: Admin Slash Very Minor Bug
Reply With Quote #6

Hey thanks alot for the help ^_^

EDIT: Fix works for anyone who wants to know.

Last edited by Raz; 02-20-2008 at 14:36.
Raz is offline
Send a message via AIM to Raz
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 19:21.


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