Raised This Month: $32 Target: $400
 8% 

[L4D2] Ban player after a successful vote kick


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Visual77
Veteran Member
Join Date: Jan 2009
Old 07-19-2010 , 09:42   [L4D2] Ban player after a successful vote kick
Reply With Quote #1

There was a working plugin that did this for L4D1 but it never worked on L4D2.

The problem is that people are able to reconnect to the server if they leave just before the vote kick turns green and kicks the player. This will
leave griefers and teamkillers a second chanse to just reconnect and ruin the game. Bug was reported here:
http://forums.steampowered.com/forum...light=votekick

Now, what I want is a plugin that simply bans the player with "sm_ban" command for 5 minutes after the server has passed the vote.
It should probably not be that hard to make, so I hope someone is interested.


Last edited by Visual77; 07-22-2010 at 12:41.
Visual77 is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 07-19-2010 , 19:06   Re: [L4D2] Ban player after a successful vote kick
Reply With Quote #2

valve removed the event "vote_passed" in L4D2 that was being used in the plugin that I metioned above. That is why it no longer works. Is there any other events that can be used to check if a client has been votekicked off and left the server just before the server created the ban?

Last edited by Visual77; 07-19-2010 at 19:11.
Visual77 is offline
water_cat1
Member
Join Date: Mar 2010
Old 07-20-2010 , 00:18   Re: [L4D2] Ban player after a successful vote kick
Reply With Quote #3

you could try the 'too late to ban' plugin that lets you ban people after they left.
water_cat1 is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 07-20-2010 , 01:14   Re: [L4D2] Ban player after a successful vote kick
Reply With Quote #4

That plugin will not do for L4D2, maybe for counterstrike.
L4D2 is different. You need an automatic ban on the player that left before the vote passed, nothing else.

Last edited by Visual77; 07-20-2010 at 01:25.
Visual77 is offline
water_cat1
Member
Join Date: Mar 2010
Old 07-20-2010 , 06:21   Re: [L4D2] Ban player after a successful vote kick
Reply With Quote #5

Well I have an l4d2 local server and I have not had problems with it (mind you, I don't start it up much so I've only banned two people so far )

Also, I do recall a patch that said it would ban them as usual if someone left before their vote kick finished, or am I remembering wrong?

Anyway I'm obviously no help, I'll go back to my corner...
water_cat1 is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 07-20-2010 , 06:30   Re: [L4D2] Ban player after a successful vote kick
Reply With Quote #6

Quote:
Originally Posted by water_cat1 View Post
Well I have an l4d2 local server and I have not had problems with it (mind you, I don't start it up much so I've only banned two people so far )

Also, I do recall a patch that said it would ban them as usual if someone left before their vote kick finished, or am I remembering wrong?

Anyway I'm obviously no help, I'll go back to my corner...
The problem between you and me is that I run dedicated. I don't see what happens in the game most of the times becuase I'm not there. That is why the 'too late to ban' plugin is of no use to me.

And about the patch, no. Valve never fixed this in L4D2.
They did however fix it in L4D1 and announced it in one of their changelogs.
Visual77 is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 07-21-2010 , 05:13   Re: [L4D2] Ban player after a successful vote kick [10$ Paypal]
Reply With Quote #7

No interest then?
Visual77 is offline
mikhdenis
Member
Join Date: Aug 2009
Location: Ukraine
Old 07-21-2010 , 15:41   Re: [L4D2] Ban player after a successful vote kick [10$ Paypal]
Reply With Quote #8

author D1maxa
Attached Files
File Type: sp Get Plugin or Get Source (voted_off_ban.sp - 566 views - 1.9 KB)
mikhdenis is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 07-21-2010 , 15:54   Re: [L4D2] Ban player after a successful vote kick [10$ Paypal]
Reply With Quote #9

Thanks you
If d1maxa wants the donate, he will have to pm me. Just need to check so it works first.
Visual77 is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 07-22-2010 , 12:39   Re: [L4D2] Ban player after a successful vote kick [10$ Paypal]
Reply With Quote #10

mikhdenis, are you sure the plugin is working? According to the .sp file, it should log whenever a player has been banned by the plugin. It should write this in the logs with other words: [voted_off_ban.smx] Server bans voted off player, yes:%i,no:%

But after running the plugin for nearly one day now, and having several votekicks, I can not find this in any of the logs in sourcemod/logs folder.
Neither can I found anything about the console adding the ban on the player with rcon_lock.smx installed that logs every command executed on the server in a seperate logfile.
Can you tell this to d1maxa?

Last edited by Visual77; 07-22-2010 at 12:59.
Visual77 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 11:15.


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