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

[TF2] ActionProtect


Post New Thread Reply   
 
Thread Tools Display Modes
VoiDeD
AlliedModders Donor
Join Date: Mar 2009
Location: Illinois, USA
Old 02-18-2014 , 11:30   Re: [TF2] ActionProtect
Reply With Quote #41

It only blocked action slot items, which has since been fixed by valve.
__________________
VoiDeD is offline
Nelak
Member
Join Date: Jun 2013
Old 02-18-2014 , 11:32   Re: [TF2] ActionProtect
Reply With Quote #42

Ok, thought so, but wanted to be sure. Thanks!
Nelak is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-19-2014 , 16:37   Re: [TF2] ActionProtect
Reply With Quote #43

Quote:
Originally Posted by Mitchell View Post
In case any one was interested i rewrote Voided's script to use a forward so you can make plugins.
please note though i made this before he updated it.
Did you ever post this as a standalone extension?

I can see a use for it in one of my plugins...
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-19-2014 , 18:07   Re: [TF2] ActionProtect
Reply With Quote #44

Ill see if i cant get a repo up for it.
Mitchell is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-19-2014 , 19:11   Re: [TF2] ActionProtect
Reply With Quote #45

Quote:
Originally Posted by Mitchell View Post
Ill see if i cant get a repo up for it.
Actually, I may need to investigate what keyvalues the things mentioned on one of the previous pages return, because chances are the keys are different for each type.

I'm interested in both the use_action_slot_item_server (which we already discussed the keyvalues for), plus SendServerMapCycle (which we haven't talked about yet).

The reason I'm interested in SendServerMapCycle is because as far as I can tell, the only reason the server uses it is to populate the vote interface's map list. Knowing when it's being sent will help me pin down what method the server is using to send it to clients.

In turn, knowing how it's populated will allow me to manipulate it for use with the NativeVotes vote command interface in TF2 and CS:GO.

In fact, KeyCommandKeyValues may also explain how CS:GO clients are passing votes back to the server in its current map voting interface, since it doesn't use the standard vote command like every other CS:GO vote does.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 03-19-2014 at 19:25.
Powerlord is offline
sglee241
Junior Member
Join Date: Mar 2009
Old 07-27-2015 , 15:33   Re: [TF2] ActionProtect
Reply With Quote #46

Quote:
Originally Posted by Mitchell View Post
can somebody compile into linux version?
sglee241 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-27-2015 , 16:42   Re: [TF2] ActionProtect
Reply With Quote #47

Quote:
Originally Posted by sglee241 View Post
can somebody compile into linux version?
SourceMod 1.8 can now intercept CommandKeyValues directly.

However, I don't think anyone has written a plugin for it yet.

Code:
/**
 * Called when a client is sending a KeyValues command.
 *
 * @param client		Client index.
 * @param kv			Editable KeyValues data to be sent as the command.
 *						(This handle cannot be closed.)
 * @return				Plugin_Handled blocks the command from being sent,
 *						and Plugin_Continue resumes normal functionality.
 */
forward Action OnClientCommandKeyValues(int client, KeyValues kv);

/**
 * Called after a client has sent a KeyValues command.
 *
 * @param client		Client index.
 * @param kv			KeyValues data sent as the command.
 *						(This handle cannot be closed.)
 * @noreturn
 */
forward void OnClientCommandKeyValues_Post(int client, KeyValues kv);
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
sglee241
Junior Member
Join Date: Mar 2009
Old 07-27-2015 , 23:01   Re: [TF2] ActionProtect
Reply With Quote #48

thanks powerlord, it works like charm!
sglee241 is offline
Reply


Thread Tools
Display Modes

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 07:44.


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