Raised This Month: $ Target: $400
 0% 

Using console_cmd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Skords
New Member
Join Date: Sep 2012
Old 09-16-2012 , 20:15   Using console_cmd
Reply With Quote #1

Hello, I am a noob and I was wondering how to use the command console_cmd?

I saw this

Code:
Syntax:

     console_cmd ( index, const cmd[], any:... )
But I couldnt quite understand it.

I am trying to bind the players keys like "t" to "retry" and unbinding all and then using default bind values because many of them come to the server with their keys binded to spam the chat. I would really appreciate it if someone could help me.

I hope this is in right section and not against any rules.

Last edited by Skords; 09-16-2012 at 20:21.
Skords is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-16-2012 , 21:30   Re: Using console_cmd
Reply With Quote #2

Quote:
Originally Posted by Skords View Post
not against any rules.
But it is, unless you ask for permission for EACH bind you make.
__________________
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
Skords
New Member
Join Date: Sep 2012
Old 09-16-2012 , 21:35   Re: Using console_cmd
Reply With Quote #3

Yes sure, if possible a dialog or something.
Skords is offline
teh ORiON
Member
Join Date: Sep 2011
Location: Denmark
Old 09-17-2012 , 04:49   Re: Using console_cmd
Reply With Quote #4

Sounds like a spam filter is more appropriate than slowhacking the client?
teh ORiON is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 09-17-2012 , 05:04   Re: Using console_cmd
Reply With Quote #5

Quote:
Sounds like a spam filter is more appropriate than slowhacking the client?
Not really. Spam filters are very inaccurate, as well as rebinding keys to default (most players will be pissed instead of thanking you). There isn't any good method of removing the auto bound spam (or blocking it). It's Valve's stupidity to allow servers interfere with players' config files.

Last edited by Backstabnoob; 09-17-2012 at 05:05.
Backstabnoob is offline
Skords
New Member
Join Date: Sep 2012
Old 09-17-2012 , 09:22   Re: Using console_cmd
Reply With Quote #6

Is there any way to censor ips with spaces, like 127 . 0 . 0 . 1, 127.0.0.1 gets filtered but not the one with spaces.

Also, I wanted to add a vipmod which helps VIP users to buy any item in the middle of a round. So is it possible to bind v to vipmod with clients permission without having him to type it in his console?
Skords is offline
teh ORiON
Member
Join Date: Sep 2011
Location: Denmark
Old 09-17-2012 , 11:52   Re: Using console_cmd
Reply With Quote #7

Quote:
Originally Posted by Backstabnoob View Post
Not really. Spam filters are very inaccurate, as well as rebinding keys to default (most players will be pissed instead of thanking you). There isn't any good method of removing the auto bound spam (or blocking it). It's Valve's stupidity to allow servers interfere with players' config files.
A spam filter can be adding a 'cooldown' if you type too often, e.g. rendering the client unable to send messages for some time. And if that not helps you can make a gag feature that permanently or temporarily block messages from the client. Alas there are many things you can do to fight the problems as described by OP as opposed to slowhacking the client which is not very nice.
teh ORiON is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 09-17-2012 , 12:01   Re: Using console_cmd
Reply With Quote #8

create a regex pattern to block all spam you need
jimaway is offline
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 09-17-2012 , 13:07   Re: Using console_cmd
Reply With Quote #9

That's not what I meant by inaccurate. You won't ever be able to catch every spam properly, no matter what regex or whatever you use.
Backstabnoob is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-17-2012 , 19:32   Re: Using console_cmd
Reply With Quote #10

Quote:
Originally Posted by Backstabnoob View Post
Not really. Spam filters are very inaccurate, as well as rebinding keys to default (most players will be pissed instead of thanking you). There isn't any good method of removing the auto bound spam (or blocking it). It's Valve's stupidity to allow servers interfere with players' config files.
For spam that is "bound" to a key, Exolent's plugin will work wonders.
__________________
fysiks 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 08:11.


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