found something interesting in CBasePlayer::TakeDamage
Code:
if ( !(this->pev->flags & FL_GODMODE) && m_LastHitGroup != HIT_LEFTLEG && m_LastHitGroup != HIT_RIGHTLEG )
{
switch ( thisAttacker->m_pActiveItem->m_iId )
{
case CSW_SCOUT:
case CSW_AUG:
case CSW_SG550:
case CSW_AWP:
case CSW_M3:
case CSW_M4A1:
case CSW_G3SG1:
case CSW_DEAGLE:
case CSW_SG552:
case CSW_AK47:
v88 = v85 + 32;
if ( this->pev->velocity.Length() < 300.0 )
{
v89 = *(_DWORD *)(v65 + 4);
v90 = this->pev->origin.x - thisAttacker->pev->origin.x;
v138 = this->pev->origin.y - thisAttacker->pev->origin.y;
v91 = this->pev->origin.z - thisAttacker->pev->origin.z;
v139 = v91;
v92 = sqrt(v91 * v139 + v138 * v138 + v90 * v90);
if ( v92 == 0.0 )
{
v93 = 0.0;
v94 = 0.0;
v140 = 1.0;
}
else
{
v95 = 1.0 / v92;
v93 = v90 * v95;
v94 = v138 * v95;
v140 = v139 * v95;
}
*(_DWORD *)(this + 432) = 0.65;
v96 = v93 * 170.0;
v97 = v96 + this->pev->velocity.x;
v98 = v94 * 170.0 + this->pev->velocity.y;
v99 = v140 * 170.0 + this->pev->velocity.z;
*(_DWORD *)v88 = LODWORD(v97);
this->pev->velocity.y = LODWORD(v98);
v100 = v99;
this->pev->velocity.z = LODWORD(v100);
}
v130 = 8;
break;
default:
goto LABEL_139;
}
goto LABEL_146;
}
LABEL_139:
*(_DWORD *)(this + 432) = 0.5;
seems this caused the so called bug, to remove this, use orpheu hack the value 300.0 to 0 is the easiest way.
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>