mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
@@ -43,6 +43,7 @@
|
|||||||
[FIXED] Long search delay when filling water bottles, drinking from hands and drinking from empty cans on Chernarus. #1835 @schwanzkopfhegel
|
[FIXED] Long search delay when filling water bottles, drinking from hands and drinking from empty cans on Chernarus. #1835 @schwanzkopfhegel
|
||||||
[FIXED] Players can not purchase a negative number of items anymore.
|
[FIXED] Players can not purchase a negative number of items anymore.
|
||||||
[FIXED] Removed antiwall glitch blocks for vanilla hospitals since Epoch uses DayZero hospitals. @jOoPs
|
[FIXED] Removed antiwall glitch blocks for vanilla hospitals since Epoch uses DayZero hospitals. @jOoPs
|
||||||
|
[FIXED] Switching weapons properly interrupts autorun now. #1850 @DeVloek
|
||||||
|
|
||||||
[NOTE] The fixes below are included in the 1.0.6 Build C server package released December 29th, 2016 (http://dayzepoch.com/a2dayzepoch.php)
|
[NOTE] The fixes below are included in the 1.0.6 Build C server package released December 29th, 2016 (http://dayzepoch.com/a2dayzepoch.php)
|
||||||
[FIXED] Hive child 309 errors that resulted in broken saving of newly built storage object inventory. @icomrade
|
[FIXED] Hive child 309 errors that resulted in broken saving of newly built storage object inventory. @icomrade
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ dz_fn_switchWeapon =
|
|||||||
{
|
{
|
||||||
if (vehicle player != player) exitWith {};
|
if (vehicle player != player) exitWith {};
|
||||||
if Player_IsOnLadder() exitWith {};
|
if Player_IsOnLadder() exitWith {};
|
||||||
|
if (dayz_autoRun) then {call dayz_autoRunOff;};
|
||||||
|
|
||||||
private ["_current","_primary","_secondary","_swapWeapons"];
|
private ["_current","_primary","_secondary","_swapWeapons"];
|
||||||
|
|
||||||
|
|||||||
@@ -32,9 +32,11 @@ if (isNil "keyboard_keys") then {
|
|||||||
if (!dayz_autoRun) then {
|
if (!dayz_autoRun) then {
|
||||||
dayz_autoRun = true;
|
dayz_autoRun = true;
|
||||||
dayz_autoRunThread = [] spawn {
|
dayz_autoRunThread = [] spawn {
|
||||||
|
_weapon = currentWeapon player;
|
||||||
while {dayz_autoRun} do {
|
while {dayz_autoRun} do {
|
||||||
// SurfaceIsWater does not work for ponds
|
// SurfaceIsWater does not work for ponds
|
||||||
if (player != vehicle player or (surfaceIsWater getPosASL player) or ((call fn_nearWaterHole) select 0) or r_fracture_legs) exitWith {
|
// Check weapon to detect Arma action (dayz action is handled in dz_fn_switchWeapon)
|
||||||
|
if (player != vehicle player or (surfaceIsWater getPosASL player) or ((call fn_nearWaterHole) select 0) or (currentWeapon player != _weapon) or r_fracture_legs) exitWith {
|
||||||
call dayz_autoRunOff;
|
call dayz_autoRunOff;
|
||||||
};
|
};
|
||||||
player playAction "FastF";
|
player playAction "FastF";
|
||||||
|
|||||||
Reference in New Issue
Block a user