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

[L4D1 & L4D2] Votemute (no black screen)


Post New Thread Reply   
 
Thread Tools Display Modes
Krufftys Killers
Senior Member
Join Date: Jan 2014
Old 04-29-2021 , 13:40   Re: [L4D1 & L4D2] Votemute (no black screen)
Reply With Quote #21

Am using Metamod 1.11.0 and SourceMod 1.10.6502
Krufftys Killers is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-29-2021 , 13:59   Re: [L4D1 & L4D2] Votemute (no black screen)
Reply With Quote #22

I forgot to say, this feature cannot work with SM < lower 1.11.

Log missing required info.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Krufftys Killers
Senior Member
Join Date: Jan 2014
Old 04-29-2021 , 14:23   Re: [L4D1 & L4D2] Votemute (no black screen)
Reply With Quote #23

Quote:
Originally Posted by Dragokas View Post
I forgot to say, this feature cannot work with SM < lower 1.11.

Log missing required info.
Installed sourcemod-1.11.0-git6675-windows and new log file
Attached Files
File Type: log say_event.log (270.1 KB, 45 views)
Krufftys Killers is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-29-2021 , 14:51   Re: [L4D1 & L4D2] Votemute (no black screen)
Reply With Quote #24

Are you sure you joined with mic on?

According to your logs there are 15 seconds elapsed since client 1 joined the team until start to speak.

Quote:
L 04/29/2021 - 13:169: 200122.25 : {Forward} OnConfigsExecuted
L 04/29/2021 - 13:169: 200122.25 : {Forward} OnClientConnect. Client: 1
L 04/29/2021 - 13:169: 200122.25 : {Forward} OnClientConnected. Client: 1
L 04/29/2021 - 13:169: 200122.25 : {Forward} OnClientSettingsChanged. Client: 1
L 04/29/2021 - 13:169: 200122.90 : {Forward} OnClientAuthorized. Client: 1, STEAM_1:0:XXX
L 04/29/2021 - 13:169: 200122.93 : {Forward} OnClientCookiesCached. Client: 1
L 04/29/2021 - 13:16:54: 200137.92 : {Forward} OnClientPutInServer. Client: 1 (♛Kruffty♛), team: 0
L 04/29/2021 - 13:16:54: 200137.92 : {Forward} OnClientPreAdminCheck. Client: 1
L 04/29/2021 - 13:16:54: 200137.92 : {Forward} OnClientPostAdminFilter. Client: 1
L 04/29/2021 - 13:16:54: 200137.92 : EVENT_HAPPENED :: (Pre ) :: "hostname_changed"
L 04/29/2021 - 13:16:54: 200137.92 : EVENT_HAPPENED :: (POST) :: "hostname_changed"
L 04/29/2021 - 13:16:54: 200137.92 : {Forward} OnClientPostAdminCheck. Client: 1
L 04/29/2021 - 13:16:54: 200137.92 : EVENT_HAPPENED :: (Pre ) :: "player_changename"
L 04/29/2021 - 13:16:54: 200137.92 : EVENT_HAPPENED :: (POST) :: "player_changename"
L 04/29/2021 - 13:16:54: 200137.92 : {Forward} OnClientSettingsChanged. Client: 1
L 04/29/2021 - 13:16:54: 200137.92 : EVENT_HAPPENED :: (Pre ) :: "player_activate"
L 04/29/2021 - 13:16:54: 200137.92 : EVENT_HAPPENED :: (POST) :: "player_activate"
L 04/29/2021 - 13:16:54: 200137.92 : {Forward} OnClientCommand. Client: 1. Args: 1
L 04/29/2021 - 13:16:54: 200137.92 : {Forward} OnClientSettingsChanged. Client: 1
L 04/29/2021 - 13:16:59: 200142.18 : EVENT_HAPPENED :: (Pre ) :: "player_team"
...
L 04/29/2021 - 13:17:15: 200158.48 : {Forward} OnClientSpeaking. Client: 1
If this is the case, I dunno how to construct the condition to detect is mic on when player joined.

I hope to use "player_activate" or "player_team" event to start checking for micro on.
And after that several more checks (like 5) for each second if player are still using the micro.
If yes, mute him.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 04-29-2021 at 14:55.
Dragokas is offline
Krufftys Killers
Senior Member
Join Date: Jan 2014
Old 04-29-2021 , 15:30   Re: [L4D1 & L4D2] Votemute (no black screen)
Reply With Quote #25

Quote:
Originally Posted by Dragokas View Post
Are you sure you joined with mic on?

According to your logs there are 15 seconds elapsed since client 1 joined the team until start to speak.



If this is the case, I dunno how to construct the condition to detect is mic on when player joined.

I hope to use "player_activate" or "player_team" event to start checking for micro on.
And after that several more checks (like 5) for each second if player are still using the micro.
If yes, mute him.
Yes I am sure I joined with the mic on even tried to speak
Krufftys Killers is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 07-01-2022 , 11:04   Re: [L4D1 & L4D2] Votemute (no black screen)
Reply With Quote #26

Updated.

Quote:
2.4 (01-Jul-2022)
- Respect immunity level.
- 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.
- Improved performance on map start.
- Fixed compilation warnings on SM 1.11.

2.3 (22-Nov-2021)
- Added repeatable mute-delay check in OnClientAuthorized() since the player could have "not in game" status at the moment yet.
__________________
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:21   Re: [L4D1 & L4D2] Votemute (no black screen)
Reply With Quote #27

Updated again.

Quote:
2.5 (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
apples1949
Junior Member
Join Date: Apr 2021
Old 03-03-2023 , 09:51   Re: [L4D1 & L4D2] Votemute (no black screen)
Reply With Quote #28

Add simplified Chinese translated text
Attached Files
File Type: txt l4d_votemute.phrases.txt (7.2 KB, 22 views)

Last edited by apples1949; 04-01-2023 at 05:20.
apples1949 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 03-05-2023 , 10:34   Re: [L4D1 & L4D2] Votemute (no black screen)
Reply With Quote #29

apples1949, please, fix translation and add {1} specifier for the following phrases:

Quote:
"vote_success_mute"
"vote_success_unmute"
"vote_success_gag"
"vote_success_ungag"
{1} is player's nickname.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
apples1949
Junior Member
Join Date: Apr 2021
Old 04-01-2023 , 05:23   Re: [L4D1 & L4D2] Votemute (no black screen)
Reply With Quote #30

Quote:
Originally Posted by Dragokas View Post
apples1949, please, fix translation and add {1} specifier for the following phrases:



{1} is player's nickname.
The translation has been fixed. I apologize for noticing the problem so late.
Attached Files
File Type: txt l4d_votemute.phrases.txt (7.2 KB, 24 views)
apples1949 is offline
Reply



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:12.


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