[HL2DM] Severe Revolver Aiming Bug
This bug has existed for a long time in HL2DM, and has always been problematic for those with pings over 50. Basically, what happens, is when you fire the revolver while turning, your view and orientation will snap back to where it was when you fired.
Good way to test this is to somehow force your ping to be over 200, face north, fire your revolver and quickly face south. Once your client catches up with the server, you'll suddenly be facing north again. This makes it very hard, sometimes impossible to aim and move correctly when using this weapon.
+1 a long term problem that needs fixing, this and many other bug fixes for hl2dm have already been fixed in a mod called AG2 (adrenaline gamer 2) sadly no one plays the mod but they do still play hl2dm, maybe a valve employee might want to have a look at their work.
I'd love it if Valve got in contact with the AG2 Creator and asked if they could use some of his code.
Video example of this bug https://www.youtube.com/watch?v=pVt5aUOBckg
This can be fixed by removing the SnapEyeAngles call (Which is serverside and not predicted correctly, such a boneheaded idea to use it in a weapon) and replacing it with the following in weapon_357.cpp:
#ifdef CLIENT_DLL
//Disorient the player
if (prediction->IsFirstTimePredicted()) // [Striker] Got rid of the shitty SnapEyeAngles crap.
{
QAngle angles;
engine->GetViewAngles(angles);
angles.x += random->RandomInt(-1, 1);
angles.y += random->RandomInt(-1, 1);
angles.z = 0;
engine->SetViewAngles(angles);
}
#endif
Including prediction.h is necessary.
This was an easy to find, simple and fully functional fix, and it only took about 30 seconds to write. Something Valve couldn't be assed with. Pathetic. Folks need some initiative.