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

[L4D1 & L4D2] Votekick - no black screen (Coop & Versus)


Post New Thread Reply   
 
Thread Tools Display Modes
pan0s
Senior Member
Join Date: Nov 2017
Old 05-21-2021 , 01:27   Re: [L4D1 & L4D2] Votekick (no black screen)
Reply With Quote #31

Quote:
Originally Posted by Dragokas View Post
Not possible. It uses an internal sm simplified vote mechanism.
If you use internal sourcemod vote, it is 100% possible.
I am developing it already. (Refer to basevotes.sp)

Update - done
[L4D2] IVote (Kick, Ban, Slay) [v1.0 | 23 May 2021]



Name:  ivote.jpg
Views: 430
Size:  46.9 KB

Last edited by pan0s; 05-22-2021 at 16:34.
pan0s is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 05-21-2021 , 08:52   Re: [L4D1 & L4D2] Votekick (no black screen)
Reply With Quote #32

I didn't say it is impossible. I'm using simplified code for voting where vote counting is unavailbale. This code is very well tested in several of my plugins and bug-free. To make an extended version it requires a lot of investment in cost of possible bugs. I don't want to. I see no significant functional reasons.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 07-01-2022 , 10:50   Re: [L4D1 & L4D2] Votekick (no black screen)
Reply With Quote #33

Updated.

Quote:
2.3 (01-Jul-2022)
- Allowed to vote everybody against clients who located in deny list (regardless of vote access flag).
- Added compatibility with Auto-Name-Changer by Exle. "newnames.txt" file will be detected and merged to deny list.
- Fixed compilation warnings on SM 1.11.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 07-01-2022 , 16:20   Re: [L4D1 & L4D2] Votekick (no black screen)
Reply With Quote #34

Updated again.

Quote:
2.4 (01-Jul-2022)
- Fix for previous update.
- Also, support for old version of Auto-Name-Changer with newnames.ini file name, instead of newnames.txt.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 10-19-2022 , 09:02   Re: [L4D1 & L4D2] Votekick (no black screen)
Reply With Quote #35

Hi Dragokas , Can you add sourcebans support to this plugin? Can you make sure that the players that have been cast are added to the sourcebans database? The reason for expulsion should also be the reason for voting. e.g. Banned by vote for Team Killing . Banned by vote for vote Reason

Last edited by Darkwob; 10-19-2022 at 09:03.
Darkwob is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 10-19-2022 , 09:41   Re: [L4D1 & L4D2] Votekick (no black screen)
Reply With Quote #36

Quote:
Originally Posted by Darkwob View Post
Hi Dragokas , Can you add sourcebans support to this plugin? Can you make sure that the players that have been cast are added to the sourcebans database? The reason for expulsion should also be the reason for voting. e.g. Banned by vote for Team Killing . Banned by vote for vote Reason
- Project and updates discontinued. Don't ask.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
alliedfront
Junior Member
Join Date: Jan 2024
Location: Germany
Old 01-07-2024 , 00:43   Re: [L4D1 & L4D2] Votekick (no black screen)
Reply With Quote #37

Hello, without this plugin I would not have run an L4D 1 server and it was the first plugin I installed on my L4D 1 server. Thank you for this very helpful plugin that takes care of several important exploits and bugs of the L4D 1 voting system, which are used by crazy individuals to destroy so many matches.

Last edited by alliedfront; 01-07-2024 at 00:55.
alliedfront is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-07-2024 , 07:02   Re: [L4D1 & L4D2] Votekick (no black screen)
Reply With Quote #38

You're welcome.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
alliedfront
Junior Member
Join Date: Jan 2024
Location: Germany
Old 01-07-2024 , 10:18   Re: [L4D1 & L4D2] Votekick (no black screen)
Reply With Quote #39

Yesterday there was a strange situation: one of these Tks, who is known for exploiting loopholes in the L4D 1 voting system (disconnecting and rejoining when he is kicked, and kicking other players while not in the game when he is in the process on rejoining), has Somehow managed to kick a BOT in a versus game even though I set the sm_votekick_show_bots variable to “0”. Since then, I've wondered how he did it.
Logs:

votekick.log (anonymized):
L 01/06/2024 - 011:41: [KICK STARTED] by xxx (STEAM_1:1xxxxxxxx | [XXX] XXX.XXX.XX.XX)
L 01/06/2024 - 011:41: [KICK AGAINST] Zoey (BOT | [] 127.0.0.1)
L 01/06/2024 - 011:53: [KICKED] Zoey (BOT | [] 127.0.0.1)
Server log (changed "kick_reason" text in cfg):
L 01/06/2024 - 011:53: "Zoey<108><BOT><Survivor>" disconnected (reason "Kicked by Console : You have been kicked from session")

The plugin is effective in kicking this annoying guy for 1 h.

At first i tried to kick a bot myself but without success. So i looked in the code and added


if( !g_hCvarShowBots.BoolValue && IsFakeClient(target) )
return false;

in function IsVoteAllowed .

Although it's just a blind shot on my part without knowing what caused this unusual behavior and probably does not fix it. If something like this happens again, I will note it here. At first I used the sm_votekick_show_bots variable for the test, but I wasn't sure if its scope was global so that it would be visible within a function. I suspect that the "g_" of g_hCvarShowBots.BoolValue indicates that it is a global variable, so I used that instead.

Last edited by alliedfront; 01-07-2024 at 12:31.
alliedfront is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-07-2024 , 12:30   Re: [L4D1 & L4D2] Votekick (no black screen)
Reply With Quote #40

It make sense.

Updated.
Quote:
2.5 (07-Jan-2024)
- Fixed exploit in kicking bots (coded by alliedfront).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas 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 16:58.


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