Raised This Month: $ Target: $400
 0% 

[ANY/TF2] Console SM Command Triggers (Request)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ExiMaster
Member
Join Date: Dec 2011
Old 01-21-2013 , 00:37   [ANY/TF2] Console SM Command Triggers (Request)
Reply With Quote #1

Since I have this plugin that Dr. McKay wrote up nicely

https://forums.alliedmods.net/showthread.php?t=202636

I was wondering if somebody can edit the code and pretty much make it an identical plugin to what it is already but only reacts to things typed in a clients console and not in the chat. There's griefers on my achievement server that may figure out how to bypass a chat command with a console command from another plugin and I want to make sure that does not happen in the future. I have tried editing the code a bit to see what I could do but I cant figure it out. Preferable if the plugin uses a different buildpath called consoletriggers.cfg

If someone can adjust the code so the plugin can react to console command inputs that would be great and as well for a small reward I will trade you 2 reclaimed metal. Since I really need this to be made badly.
ExiMaster is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 01-21-2013 , 02:20   Re: [ANY/TF2] Console SM Command Triggers (Request)
Reply With Quote #2

Rcon locker / exploit fix plugin doing so aswell
__________________

Last edited by Leonardo; 01-21-2013 at 02:20.
Leonardo is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-21-2013 , 10:06   Re: [ANY/TF2] Console SM Command Triggers (Request)
Reply With Quote #3

SM maps the chat triggers to commands, there is no way to turn this off without disabling chat triggers completely.

Why don't you fix the plugin that's letting people exploit this?
__________________
asherkin is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 01-21-2013 , 13:43   Re: [ANY/TF2] Console SM Command Triggers (Request)
Reply With Quote #4

Quote:
Originally Posted by ExiMaster View Post
I will trade you 2 reclaimed metal.
2 rec isnt what i used to be these days
Mitchell is offline
ExiMaster
Member
Join Date: Dec 2011
Old 01-21-2013 , 14:21   Re: [ANY/TF2] Console SM Command Triggers (Request)
Reply With Quote #5

@Leonardo Ill try that to see if it works

@asherkin I run an achievement server with a huge compilation of public plugins but the main issue I am having is with the Red Tape recorder since the achievement map I have has respawnable buildings. If they are sapped with a Red Tape they never come back. I have the Give weapon plugin to all people available, but since the new TF2Items auto update weapons is there I cannot remove the code fully for the red tape recorder to be unknown. And it can still be given to people in the console using the sm_gimme command which I need weapon 810 and 831 to be blocked. I have all commands in the chat that is used to give you the weapon blocked now I just need is console which I will try now from the above post to see if it works.

@Mitchell Well 2 reclaimed is good as I can offer, not knowing if an edit for the other plugin how long it will take for console blockage.
ExiMaster is offline
ExiMaster
Member
Join Date: Dec 2011
Old 01-21-2013 , 14:27   Re: [ANY/TF2] Console SM Command Triggers (Request)
Reply With Quote #6

But wait on the Rcon locker and exploit fixer plugin it has a lot of stuff that will possibly make the server get spammed with log data and possibly mess up clients in some ways with this stuff.

"Users with bell or % characters will be kicked when they join"
"Commands executed before a client has connected will be blocked."
"All commands on the server will be logged by default."

Since it doesn't have a configuration how do I add custom commands for it to block?

Just to make it simpler all I kinda need is an edit of the Chat SM Commands to be Console SM Commands, or for the Red-Tape recorder to act like a regular sapper on every class.
ExiMaster is offline
ExiMaster
Member
Join Date: Dec 2011
Old 01-21-2013 , 15:30   Re: [ANY/TF2] Console SM Command Triggers (Request)
Reply With Quote #8

tNoUnlocksPls seems to just block every weapon on spawn and use vanilla weapons. But I don't see anything of how to replace 1 weapon with another provided the client spawns with the weapon or tries to use the !gimme command for the weapon I am trying to block. I did also ask for a blacklist but I can't guarantee that flaminsarge will add that.
ExiMaster 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 04:26.


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