From cfd0f748706357962ec894c2e6a8423c3ee022c5 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sun, 29 Jan 2017 12:02:27 -0500 Subject: [PATCH] Send damage selection normally for RPT log c10a7c3 --- SQF/dayz_code/compile/fn_damageHandler.sqf | 2 +- SQF/dayz_server/system/server_monitor.sqf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/fn_damageHandler.sqf b/SQF/dayz_code/compile/fn_damageHandler.sqf index f9dda53d1..59c052905 100644 --- a/SQF/dayz_code/compile/fn_damageHandler.sqf +++ b/SQF/dayz_code/compile/fn_damageHandler.sqf @@ -184,7 +184,7 @@ if (_unit == player) then { }; //Damage values over 999,999 will kick for PV value restriction (e+). These should not be possible for legitimate players. - PVDZ_sec_atp = [_unit, _source, toArray _sourceWeap, _sourceDist, toArray _hit, str _damage]; //Send arbitrary string as array to allow stricter publicVariableVal.txt filter + PVDZ_sec_atp = [_unit, _source, toArray _sourceWeap, _sourceDist, _hit, str _damage]; //Send arbitrary string as array to allow stricter publicVariableVal.txt filter publicVariableServer "PVDZ_sec_atp"; }; diff --git a/SQF/dayz_server/system/server_monitor.sqf b/SQF/dayz_server/system/server_monitor.sqf index ea29f6baf..d5287a1d9 100644 --- a/SQF/dayz_server/system/server_monitor.sqf +++ b/SQF/dayz_server/system/server_monitor.sqf @@ -439,7 +439,7 @@ if (dayz_townGenerator) then {execVM "\z\addons\dayz_server\system\lit_fireplace _source = _x select 1; if (!isNull _source) then { diag_log format ["P1ayer %1 hit by %2 %3 from %4 meters in %5 for %6 damage", - _unit call fa_plr2Str, _source call fa_plr2Str, toString (_x select 2), _x select 3, toString (_x select 4), _x select 5]; + _unit call fa_plr2Str, _source call fa_plr2Str, toString (_x select 2), _x select 3, _x select 4, _x select 5]; if (_unit getVariable ["processedDeath",0] == 0) then { if (alive _source) then {_unit setVariable ["attacker", name _source];}; _unit setVariable ["noatlf4", diag_ticktime]; // server-side "not in combat" test, if player is not already dead