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

[REQ CSGO] Remove anti-crouch spam


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SyntaxBG
Junior Member
Join Date: Aug 2013
Old 10-22-2016 , 08:05   [REQ CSGO] Remove anti-crouch spam
Reply With Quote #1

I'm looking for a way to remove the anti-crouch spam system in csgo.
I've tried messing around with m_bDucking and m_bDucked but it doesn't seem to work.

Any help would be appreciated!
SyntaxBG is offline
Kurtan
AlliedModders Donor
Join Date: Feb 2016
Location: Sweden
Old 10-22-2016 , 14:04   Re: [REQ CSGO] Remove anti-crouch spam
Reply With Quote #2

I read on the update notes about this cvar: sv_timebetweenducks

The default value of it is 0.4 Seconds. I have not tested it if that is what you are looking for.

Update notes: here
__________________

Last edited by Kurtan; 10-22-2016 at 14:05. Reason: Adding update note link
Kurtan is offline
SyntaxBG
Junior Member
Join Date: Aug 2013
Old 10-22-2016 , 15:54   Re: [REQ CSGO] Remove anti-crouch spam
Reply With Quote #3

sv_timebetweenducks actually doesnt change a thing. I was wondering if messing with the game data can disable the function, or maybe a function wrapper in metamod? Since i have no idea how the anti crouch spam system is implemented i have no idea how to counteract it.
SyntaxBG is offline
SyntaxBG
Junior Member
Join Date: Aug 2013
Old 10-23-2016 , 08:10   Re: [REQ CSGO] Remove anti-crouch spam
Reply With Quote #4

Nevermind, found the perfect solution!

req del
SyntaxBG is offline
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Old 10-23-2016 , 08:49   Re: [REQ CSGO] Remove anti-crouch spam
Reply With Quote #5

Quote:
Originally Posted by SyntaxBG View Post
Nevermind, found the perfect solution!

req del
Let me quote myself, hope you get the message

Quote:
You are better of supporting this forum with the answer that solved your problem, else this topic is a complete waste and just selfish.

If you want to get help from this forum, then start by contributing to the forum with the answer for other users that might need this specific answer someday.

Peace!
__________________
xines is offline
SyntaxBG
Junior Member
Join Date: Aug 2013
Old 10-23-2016 , 09:51   Re: [REQ CSGO] Remove anti-crouch spam
Reply With Quote #6

Quote:
Originally Posted by xines View Post
Let me quote myself, hope you get the message

Pretty familiar with how forums work and contribution. But I'm stuffed with work and I can't always be writing poems on forums. Also maybe you haven't considered that I might want to keep all of my work private. Anyways, here is the deal:

Code:
new Float:m_bData = GetEntPropFloat(i, Prop_Data, "m_flDuckSpeed");
			
if (m_bData < 7.0)
{
	SetEntPropFloat(i, Prop_Send, "m_flDuckSpeed", 7.0, 0);
}

Last edited by SyntaxBG; 10-23-2016 at 09:52. Reason: Indentation
SyntaxBG is offline
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Old 10-23-2016 , 12:11   Re: [REQ CSGO] Remove anti-crouch spam
Reply With Quote #7

Quote:
Originally Posted by SyntaxBG View Post
Pretty familiar with how forums work and contribution.
Then you should know we aren't here to serve you, but to serve the community itself by making more information available.

Quote:
Originally Posted by SyntaxBG View Post
But I'm stuffed with work and I can't always be writing poems on forums.
Leaving your answer here wouldn't make you write poems.

Quote:
Originally Posted by SyntaxBG View Post
Also maybe you haven't considered that I might want to keep all of my work private.
I never told you to post your whole script, but just the answer to the current problem you had for others in the future.


Quote:
Originally Posted by SyntaxBG View Post
Anyways, here is the deal:
Peace
__________________
xines is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 10-23-2016 , 12:52   Re: [REQ CSGO] Remove anti-crouch spam
Reply With Quote #8

There was already a thread for this, and the default duck speed is 8.

https://forums.alliedmods.net/showpo...46&postcount=5

Last edited by headline; 10-23-2016 at 12:54.
headline is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 10-23-2016 , 16:26   Re: [REQ CSGO] Remove anti-crouch spam
Reply With Quote #9

Quote:
Originally Posted by SyntaxBG View Post
Also maybe you haven't considered that I might want to keep all of my work private.
If everyone else would have kept their work private as well, you wouldn't have succeeded solving this issue ever.

Well, that's another thing that you could consider. :p
__________________
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
Addicted.
AlliedModders Donor
Join Date: Dec 2013
Location: 0xA9D0DC
Old 10-23-2016 , 20:12   Re: [REQ CSGO] Remove anti-crouch spam
Reply With Quote #10

Quote:
Originally Posted by Headline View Post
There was already a thread for this, and the default duck speed is 8.

https://forums.alliedmods.net/showpo...46&postcount=5
That's in the donor section
Addicted. 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 14:19.


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