vbawol/DayZ-Epoch — pull request #1461 by Mikeeeyy (2014-07-26 11:33:42+00:00)
Title: Fix for glitching through doors.

There is currently an exploit which allows players to get into bases via locked doors. It works by simply double tapping 'w' to sprint with a weapon then pressing 'z' to go prone. You go straight through the door. This fix simply disables prone if you're within 3m of any locked door.

I simply added this: in dayz_spaceInterrupt
//Prevent exploit of glitching through doors
if (_dikCode in actionKeys "Prone") then {
_doors = nearestObjects [player, DZE_DoorsLocked, 3];
if (count _doors > 0) then {
_handled = true;
};
};

Above this:
//Prevent exploit of drag body
if ((_dikCode in actionKeys "Prone") && r_drag_sqf) exitWith { force_dropBody = true; };
if ((_dikCode in actionKeys "Crouch") && r_drag_sqf) exitWith { force_dropBody = true; };