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

Command module does not prevent the lag commands?


Post New Thread Reply   
 
Thread Tools Display Modes
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 11-16-2011 , 07:37   Re: Command module does not prevent the lag commands?
Reply With Quote #11

Conclusion: Setting smac_antispam_cmds to 0 disables the whole module when it should really only disable the antispam function. I'll fix this in the next version.

I still recommend leaving it enabled though.
__________________
GoD-Tony is offline
egor1908
Veteran Member
Join Date: Sep 2009
Old 11-16-2011 , 07:39   Re: Command module does not prevent the lag commands?
Reply With Quote #12

Visual77
GoD-Tony

The point is, i don't want to kick people for spamming, as it never caused a problem for me nor the server.
I simply want to prevent the lag-stuff from working, i.e the commands which the command module should block.

The commands are in the sp file of the command module, below
Quote:
//- Blocked Commands -// Note: True sets them to ban, false does not.

Quote:
Originally Posted by GoD-Tony View Post
Conclusion: Setting smac_antispam_cmds to 0 disables the whole module when it should really only disable the antispam function. I'll fix this in the next version.

I still recommend leaving it enabled though.
Since i set up my first Src server many years ago, command spamming has never ever been a problem. I can't see anything wrong in spamming your own console with f.ex. sm_laser or "say !smokebomb".
I just want to prevent the lag commands from working, nothing else.

Will set the value to 99999999 and test it a bit later.

Last edited by egor1908; 11-16-2011 at 07:43.
egor1908 is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 11-16-2011 , 07:45   Re: Command module does not prevent the lag commands?
Reply With Quote #13

Quote:
Originally Posted by egor1908 View Post
Since i set up my first Src server many years ago, command spamming has never ever been a problem. I can't see anything wrong in spamming your own console with f.ex. sm_laser or "say !smokebomb".
I just want to prevent the lag commands from working, nothing else.
You are right and it wasn't supposed to function this way. Grab the latest source of smac_commands.sp for the fix.
__________________
GoD-Tony is offline
egor1908
Veteran Member
Join Date: Sep 2009
Old 11-16-2011 , 07:47   Re: Command module does not prevent the lag commands?
Reply With Quote #14

Quote:
Originally Posted by GoD-Tony View Post
You are right and it wasn't supposed to function this way. Grab the latest source of smac_commands.sp for the fix.
Thanks alot. Now i can set the value to zero and it will still block the commands right?

UPD: Lol, ritorical question. Thanks again then.

If you have time, could you look at the SP where i merged several plugins to say if i do it wrong?

Last edited by egor1908; 11-16-2011 at 07:49.
egor1908 is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 11-16-2011 , 07:47   Re: Command module does not prevent the lag commands?
Reply With Quote #15

Quote:
Originally Posted by egor1908 View Post
Now i can set the value to zero and it will still block the commands right?
Correct.

Quote:
Originally Posted by egor1908 View Post
If you have time, could you look at the SP where i merged several plugins to say if i do it wrong?
There is no reason to merge it like that.
__________________

Last edited by GoD-Tony; 11-16-2011 at 07:53.
GoD-Tony is offline
egor1908
Veteran Member
Join Date: Sep 2009
Old 11-16-2011 , 08:00   Re: Command module does not prevent the lag commands?
Reply With Quote #16

Quote:
Originally Posted by GoD-Tony View Post
There is no reason to merge it like that.
I don't like people to know what i am running. It feels better when there is nothing except the usual on the plugin list, but their stuff stil doesn't work

But if you don't want to use time to look at my mad skillz this is fine, i understand

Upd: The tip version works, just tried it. Doesn't kick but blocks them.

Last edited by egor1908; 11-16-2011 at 08:21.
egor1908 is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 11-16-2011 , 09:42   Re: Command module does not prevent the lag commands?
Reply With Quote #17

Quote:
Originally Posted by egor1908 View Post
I don't like people to know what i am running. It feels better when there is nothing except the usual on the plugin list, but their stuff stil doesn't work
Security through obfuscation. The best thing you can probably do to work around this is give generic names to the plugins.
KyleS is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 11-16-2011 , 11:50   Re: Command module does not prevent the lag commands?
Reply With Quote #18

Quote:
Originally Posted by KyleS View Post
Security through obfuscation. The best thing you can probably do to work around this is give generic names to the plugins.
indeed
TnTSCS is offline
egor1908
Veteran Member
Join Date: Sep 2009
Old 11-16-2011 , 13:41   Re: Command module does not prevent the lag commands?
Reply With Quote #19

Quote:
Originally Posted by KyleS View Post
Security through obfuscation. The best thing you can probably do to work around this is give generic names to the plugins.
I have already finished merging alot of modules together and they all work now, one eye-angle detection so far, the lag commands are blocked, seems to be doing what i need.
egor1908 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 14:30.


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