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

How to make players bind something


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HvG Community
AlliedModders Donor
Join Date: Sep 2012
Old 01-27-2015 , 13:18   How to make players bind something
Reply With Quote #1

Ok so as you all know, not all players are very bright, as a matter of fact some of them are quite fucken stupid because even if i draw them how to do something they wont be able to do it.
So...is it possible to make a command from which players can bind stuff from chat without having to enable console?
HvG Community is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 01-27-2015 , 13:24   Re: How to make players bind something
Reply With Quote #2

Short answer, no.

Long answer, yes, but no plugin exists that makes it easy.

I've had a plugin idea on the backburner to allow servers to present a menu of keys to bind. Stay tuned. Maybe someone will even beat me to it.
__________________

Last edited by ddhoward; 01-27-2015 at 13:24.
ddhoward is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 01-27-2015 , 15:01   Re: How to make players bind something
Reply With Quote #3

Don't waste your time since binding keys is not allowed.
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.
Dr. Greg House is offline
Dkmuniz
Senior Member
Join Date: Jun 2013
Old 01-27-2015 , 15:31   Re: How to make players bind something
Reply With Quote #5

Quote:
Originally Posted by ddhoward View Post
Csgo support ? ><
Dkmuniz is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 01-27-2015 , 16:20   Re: How to make players bind something
Reply With Quote #6

Quote:
Originally Posted by ddhoward View Post
Whoever uses this please tell me your server ip

so I can blacklist it forever
__________________
Chdata is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 01-27-2015 , 17:01   Re: How to make players bind something
Reply With Quote #7

It's important to note that this method of bypassing FCVAR_SERVER_CAN_EXECUTE requires the player to actually click on a button in order to run the command.

For example, I'd type in chat:

Code:
/bindcommand "someCommand"
And before anything actually happens, I must hit ESC and click on a menu button to confirm that I actually want to do something.

The issue arises when you realize that the menu and buttons don't have to be honest about what command they are running. When on a server you don't trust 100%, the only appropriate course of action when presented with that type of menu is to close the menu with the X in the corner, or the "close" button on the bottom right.
__________________

Last edited by ddhoward; 01-27-2015 at 17:06.
ddhoward is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-27-2015 , 17:17   Re: How to make players bind something
Reply With Quote #8

Didn't Valve or Hidden Path recently fix this Menu Dialog FCVAR_SERVER_CAN_EXECUTE bypass exploit in CS:GO?

I vaguely remember seeing patch notes about it and was hoping Valve would backport it to other games as well.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 01-27-2015 , 17:19   Re: How to make players bind something
Reply With Quote #9

It's still working in TF2, AFAIK. Haven't gotten any complaints in my Trade Requests plugin thread.
__________________
ddhoward is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-27-2015 , 17:30   Re: How to make players bind something
Reply With Quote #10

Quote:
Originally Posted by Powerlord View Post
Didn't Valve or Hidden Path recently fix this Menu Dialog FCVAR_SERVER_CAN_EXECUTE bypass exploit in CS:GO?
They fixed a separate, unrelated way to do it. ("They" being Valve. Hidden Path hasn't touched CS:GO since before its actual release.)

Quote:
Originally Posted by Dkmuniz View Post
Csgo support ? ><
Quote:
Originally Posted by ddhoward View Post
It's important to note that this method of bypassing FCVAR_SERVER_CAN_EXECUTE requires the player to actually click on a button in order to run the command.
The VGUI dialog for that is broken in CS:GO (and every game since L4D). That's the same reason that SM's "topsay", the askconnect dialog, and "ESC menus" do not work there.

Last edited by psychonic; 01-27-2015 at 17:31.
psychonic 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 11:36.


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