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

[L4D2] Vote Manager 3


Post New Thread Reply   
 
Thread Tools Display Modes
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 10-28-2011 , 11:27   Re: [L4D2] Vote Manager 3
Reply With Quote #21

Respecting admin immunity in this version means that admins can not kick other admins with higher immunity. The old version did it differently and instead just checked if a user could kick another user, so I'll add a command override for kick immunity in general when I get the votekick errors you described fixed.

Edit: ok try this version.

Change your admin_overrides.cfg and add a new line with the following
PHP Code:
"kick_immunity" "c" 
Change the c to whatever flag(s) you want to be immune to being vote kicked. People with that flag(s) are the only people who will be allowed to kick other people with that flag(s).

I changed a bit of code on the veto/pass commands so see if they work also.

About the incorrect people being kicked I have no Idea why that's happening, as never once do I change the initial command being sent.

Edit: for people testing this version tell me if you have any issues. I have 1.2.2 ready if everything clears with this version.


Edit: attachments snipped.
__________________

Last edited by McFlurry; 10-30-2011 at 21:22.
McFlurry is offline
Send a message via Skype™ to McFlurry
jake84
Senior Member
Join Date: Jun 2010
Location: CA
Old 10-28-2011 , 12:52   Re: [L4D2] Vote Manager 3
Reply With Quote #22

this one fixes the issue with non admins being able to vote kick all admins on the server?
thanks i will try.
jake84 is offline
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 10-30-2011 , 21:23   Re: [L4D2] Vote Manager 3
Reply With Quote #23

Version 1.2.2 released, please update your phrases and add "kick_immunity" to your admin_overrides.cfg
__________________
McFlurry is offline
Send a message via Skype™ to McFlurry
Kid_Bandes
Member
Join Date: May 2010
Old 11-06-2011 , 02:11   Re: [L4D2] Vote Manager 3
Reply With Quote #24

I don't know how to use this god dame plugins ? Can anyone tell me how to use it ? What is Admin level, Player level and Spectate level ? Is Admin level b ? Player z and Spectate a ? I want to block all vote types, so what is my cfg will be ? Is it like this ?
Code:

"veto" "b"
"pass" "b"
"cooldown_immunity" "b"
"notify" "b"
"returntolobby" "b"
"restartgame" "b"
"changedifficulty" "b"
"changemission" "b"
"changechapter" "b"
"changealltalk" "b"
"restartgame" "b"
"kick" "b"
"kick_immunity" "b"
Kid_Bandes is offline
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 11-06-2011 , 02:25   Re: [L4D2] Vote Manager 3
Reply With Quote #25

Click me
That's your guide to what each flag gives you access to. If you set all the flags to "z" then only root admins can have permission to that vote type/feature.
__________________
McFlurry is offline
Send a message via Skype™ to McFlurry
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-07-2011 , 21:48   Re: [L4D2] Vote Manager 3
Reply With Quote #26

Not sure if McFlurry cares, but today I added (sadly, untested) support for both L4D and L4D2 to the BuiltinVotes extension (and posted a test plugin for custom votes using it).

Sadly, I need to install the L4D2 dedicated server to test it, and Valve's server installer is being slow today.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 11-07-2011 at 21:50.
Powerlord is offline
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 11-08-2011 , 16:09   Re: [L4D2] Vote Manager 3
Reply With Quote #27

I saw it earlier today, and I was wondering why there wasn't a change all talk vote type for BuiltinVoteType. I'm not sure if I'll switch over to using your extension or creating a simple custom vote caller for this with usermessages.
__________________
McFlurry is offline
Send a message via Skype™ to McFlurry
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-08-2011 , 19:45   Re: [L4D2] Vote Manager 3
Reply With Quote #28

Quote:
Originally Posted by McFlurry View Post
I saw it earlier today, and I was wondering why there wasn't a change all talk vote type for BuiltinVoteType. I'm not sure if I'll switch over to using your extension or creating a simple custom vote caller for this with usermessages.
The only votes listed are ones that I know the game supports that are listed in l4d2_english.txt in pak01_dir.vpk... because they have the proper translation phrase to pass to the vote handler.

However, custom votes are also supported.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-09-2011 , 01:18   Re: [L4D2] Vote Manager 3
Reply With Quote #29

McFlurry, if you want to do me a huge favor, put this plugin on a server, then start an alltalk vote. Then send me the data it logs.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2votesniffer.sp - 600 views - 8.0 KB)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 11-09-2011 at 01:21.
Powerlord is offline
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 11-09-2011 , 18:40   Re: [L4D2] Vote Manager 3
Reply With Quote #30

Everybody please update your copy to 1.2.3, fixed really dumb mistake.
__________________
McFlurry is offline
Send a message via Skype™ to McFlurry
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 04:57.


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