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

[CSGO] Anti HLDJ


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 02-01-2016 , 12:11   [CSGO] Anti HLDJ
Reply With Quote #1

Looking for mod which mutes/stops people playing songs through HLDJ or whatever thing they use for csgo
Nolongerinthegame is offline
dufflez
Member
Join Date: Aug 2011
Old 02-06-2016 , 23:20   Re: [CSGO] Anti HLDJ
Reply With Quote #2

Or atleast is there a console command to stop hldj like CSS? I've been looking for a week now.
dufflez is offline
Darkness_
Veteran Member
Join Date: Nov 2014
Old 02-06-2016 , 23:33   Re: [CSGO] Anti HLDJ
Reply With Quote #3

https://forums.alliedmods.net/showthread.php?p=980997
Darkness_ is offline
dufflez
Member
Join Date: Aug 2011
Old 02-07-2016 , 01:03   Re: [CSGO] Anti HLDJ
Reply With Quote #4

Quote:
Originally Posted by Darkness_ View Post
That only works when there is an admin in the server, looking for a plugin that auto kicks/mutes when they start playing songs form hldj. I used https://forums.alliedmods.net/showthread.php?p=969323 but it didnt seem to work.
dufflez is offline
lay295
Senior Member
Join Date: Sep 2013
Old 02-07-2016 , 03:38   Re: [CSGO] Anti HLDJ
Reply With Quote #5

You could use VoiceannounceEX to query the client convar "voice_inputfromfile" and put up a vote to mute them, and use the sourcecomm natives, I know this is the plugins request section and not the scripting but ehh.

I'll leave this here, I use it on all my servers and i'd say about half of my mutes come from this plugin, it only mutes them for 30 minutes.

How it works, when a client speaks it checks if voice_inputfromfile is 1, if it is it prints a mesaage to the player warning them, after 10 seconds it checks again and if it's still 1 it puts up a vote to mute them for 30 minutes. If vote passes then it mutes them with the sourcecomms natives, if it fails they are immune to this plugin until map change.

It also randomly checks a talking client if voice_inputfromfile is 1 because they can hold down their mic key, then start playing the music and it would bypass the first check.

Requires VoiceannounceEX and Sourcecomms, if it doesn't work for you sorry but it works for me
Attached Files
File Type: sp Get Plugin or Get Source (HLDJ_Vote.sp - 360 views - 4.0 KB)
File Type: smx HLDJ_Vote.smx (7.3 KB, 345 views)
__________________

lay295 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 02-07-2016 , 05:16   Re: [CSGO] Anti HLDJ
Reply With Quote #6

Just set "sv_allow_voice_from_file" to 0?
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
lay295
Senior Member
Join Date: Sep 2013
Old 02-07-2016 , 05:44   Re: [CSGO] Anti HLDJ
Reply With Quote #7

Quote:
Originally Posted by arne1288 View Post
Just set "sv_allow_voice_from_file" to 0?
That variable doesn't exist in CS:GO sadly
__________________

lay295 is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 02-07-2016 , 09:05   Re: [CSGO] Anti HLDJ
Reply With Quote #8

Quote:
Originally Posted by lay295 View Post
That variable doesn't exist in CS:GO sadly
CS:S masterrace
__________________
retired
shavit is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 02-07-2016 , 09:15   Re: [CSGO] Anti HLDJ
Reply With Quote #9

Quote:
Originally Posted by lay295 View Post
That variable doesn't exist in CS:GO sadly
Hrmf, I was just pretty sure I also saw it in CS:GO sometime.

But yes, it could seem like I have to admit that I might be wrong. :'(
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 02-09-2016 , 13:37   Re: [CSGO] Anti HLDJ
Reply With Quote #10

Quote:
Originally Posted by lay295 View Post
You could use VoiceannounceEX to query the client convar "voice_inputfromfile" and put up a vote to mute them, and use the sourcecomm natives, I know this is the plugins request section and not the scripting but ehh.

I'll leave this here, I use it on all my servers and i'd say about half of my mutes come from this plugin, it only mutes them for 30 minutes.

How it works, when a client speaks it checks if voice_inputfromfile is 1, if it is it prints a mesaage to the player warning them, after 10 seconds it checks again and if it's still 1 it puts up a vote to mute them for 30 minutes. If vote passes then it mutes them with the sourcecomms natives, if it fails they are immune to this plugin until map change.

It also randomly checks a talking client if voice_inputfromfile is 1 because they can hold down their mic key, then start playing the music and it would bypass the first check.

Requires VoiceannounceEX and Sourcecomms, if it doesn't work for you sorry but it works for me
I have voiceannounceex and sourcecomms. Could this be modified so it gives a warning, then another warning and then a mute if they continue?
Nolongerinthegame 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 23:31.


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