Hey,
I don't like posting plugins where I have to give support.
Here is a snippet which will temporary fix the bug in csgo:
Keep nonstop bhoping with your autobhop plugin of course and spam crouch,
then it would adjust your view camera very weird.
You can see it if you touch the floor and keep bhoping.
Draw a line on the floor and check out yourself.
I'm bad at describing things:
PHP Code:
#pragma semicolon 1
#include <sourcemod>
public Plugin:myinfo =
{
name = "[CS:GO] Temporary bhop view bounce fix",
author = "TheWho",
description = "",
version = "1.0",
url = "http://www.sourcemod.net/"
};
public Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon, &subtype, &cmdnum, &tickcount, &seed, mouse[2])
{
if (IsValidNoFakeClient(client, true))
{
if(!(buttons & IN_DUCK) && !(GetEntityFlags(client) & FL_ONGROUND))
{
new gDucking = GetEntProp(client, Prop_Data, "m_bDucking");
if (gDucking != 0)
{
SetEntProp(client, Prop_Data, "m_bDucking", 0);
}
}
}
}
stock bool:IsValidNoFakeClient(client, bool:isAlive = false){
if(client >= 1 && client <= MaxClients && IsClientConnected(client) && IsClientInGame(client) && !IsFakeClient(client) && (isAlive == false || IsPlayerAlive(client)))
{
return true;
}
return false;
}
nor I like the new syntax
BTW: I noticed the bug has something to do with step size of 18 units. Valve knows it already that they messed up again so I won't put it into the mailing list.