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

[TF2] Votekick Switcher


Post New Thread Reply   
 
Thread Tools Display Modes
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 02-11-2012 , 13:06   Re: [TF2] Votekick Switcher
Reply With Quote #21

Quote:
Originally Posted by snelvuur View Post
i do notice that a lot of people just press F1 and then they kick someone off. I assume there is no way to change which F key you press or change the threshold on how many need to press yes? (since its all tf2 ingame)
I'm sure there's a way, but you might have to use an extension. Not sure.
__________________
Dr. McKay is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-12-2012 , 12:09   Re: [TF2] Votekick Switcher
Reply With Quote #22

Quote:
Originally Posted by Dr. McKay View Post
I'm sure there's a way, but you might have to use an extension. Not sure.
To my knowledge, Valve hasn't provided an option to switch the Yes/No positions.

The plugin/extension would have to fake it by using a 5-option vote screen (but only provide 2 choices) with No as the first option and Yes as the second.

This annoyingly leaves the other options showing, but blank.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 02-12-2012 at 12:10.
Powerlord is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 03-09-2012 , 14:30   Re: [TF2] Votekick Switcher
Reply With Quote #23

I have it installed, i like it.. but most of the time people are just plain stupid and start ramming on F1 and so a normal player can actually get a whole bunch of people banned (although temp) from the server..

I could live with it, if there was any form of logging on it, but thats not the case. Is there any way to log this?
__________________
Arguing with a fool only proves there are two
snelvuur is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 07-12-2012 , 16:28   Re: [TF2] Votekick Switcher
Reply With Quote #24

Updated to v1.1.0. Added option to disable automatic updating (votekick_switcher_auto_update).
__________________
Dr. McKay is offline
C0nw0nk
Senior Member
Join Date: May 2011
Location: United Kingdom
Old 07-12-2012 , 22:58   Re: [TF2] Votekick Switcher
Reply With Quote #25

Good job McKay as always i have been after something like this allowing users to kick people when no admins connected.
__________________
C0nw0nk is offline
Send a message via MSN to C0nw0nk
ogre_x
Member
Join Date: Dec 2008
Location: Sweden
Old 08-16-2012 , 17:53   Re: [TF2] Votekick Switcher
Reply With Quote #26

Could this be updated to handle

Code:
sv_vote_issue_kick_allowed_mvm
in the same way?

It seems like the original convar is ignored if server is in MvM mode.
__________________
ogre_x is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 08-16-2012 , 18:05   Re: [TF2] Votekick Switcher
Reply With Quote #27

Updated to v1.2.0. Added support for sv_vote_issue_kick_allowed_mvm.
__________________
Dr. McKay is offline
ogre_x
Member
Join Date: Dec 2008
Location: Sweden
Old 08-16-2012 , 23:32   Re: [TF2] Votekick Switcher
Reply With Quote #28

Great!

If I might ask as why it doesn't compile without updater being installed:

Code:
votekick_switcher_1.2.0.sp(81) : error 017: undefined symbol "Updater_AddPlugin"
votekick_switcher_1.2.0.sp(107) : error 017: undefined symbol "ReloadPlugin"
Is it possible to hide that as well, so that the plugin compiles cleanly without auto_update installed?
__________________
ogre_x is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 08-16-2012 , 23:38   Re: [TF2] Votekick Switcher
Reply With Quote #29

Quote:
Originally Posted by ogre_x View Post
Great!

If I might ask as why it doesn't compile without updater being installed:

Code:
votekick_switcher_1.2.0.sp(81) : error 017: undefined symbol "Updater_AddPlugin"
votekick_switcher_1.2.0.sp(107) : error 017: undefined symbol "ReloadPlugin"
Is it possible to hide that as well, so that the plugin compiles cleanly without auto_update installed?
You need updater.inc, which is found in Updater's thread.

Once it's compiled, Updater is not required for it to function.
__________________
Dr. McKay is offline
ogre_x
Member
Join Date: Dec 2008
Location: Sweden
Old 08-17-2012 , 00:36   Re: [TF2] Votekick Switcher
Reply With Quote #30

Got it. Works fine.

Thanks!
__________________
ogre_x 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 22:35.


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