Reduce client RPT spam

As per subject
This commit is contained in:
oiad
2016-10-29 12:59:21 +13:00
parent 1c7e96a0ff
commit cf8e06bc8b
2 changed files with 4 additions and 6 deletions

View File

@@ -25,10 +25,8 @@ if (_unit == player) then {
publicVariableServer "PVDZ_Server_LogIt";
localize "str_actions_exitBlocked" call dayz_rollingMessages;
};
//Lets make sure we can process some dmg from ejecting from the vehicle even traveling at lower speeds.
if (((speed _vehicle) > 15) or ((speed _vehicle) < -10)) then {
dayz_getout = _vehicle;
@@ -36,4 +34,4 @@ if (_unit == player) then {
};
};
diag_log format["%1(%4) - %2 - %3",_vehicle,_position,_unit,(speed _vehicle)];
//diag_log format["%1(%4) - %2 - %3",_vehicle,_position,_unit,(speed _vehicle)];

View File

@@ -10,7 +10,7 @@ sched_gravity = {
if ((!(_this select 5) and !isNil 'Dayz_loginCompleted') and {(Dayz_loginCompleted)}) then {
_this = [ time, VisiblePositionASL player, time, VisiblePositionASL player, false, true];
diag_log [ diag_tickTime, __FILE__, "freefall inited" ];
//diag_log [ diag_tickTime, __FILE__, "freefall inited" ];
};
_otime = _this select 0;
@@ -35,7 +35,7 @@ sched_gravity = {
}
else {
if (_inprogress) then {
diag_log [ diag_tickTime, __FILE__, "freefall reset, final freefall height is dh:", (_offpos select 2) - (_ppos select 2), "dt:", _time - _offtime, "gravity:",2*((_offpos select 2) - (_ppos select 2))/((_time - _offtime)^2) ,"m.s^-2" ];
//diag_log [ diag_tickTime, __FILE__, "freefall reset, final freefall height is dh:", (_offpos select 2) - (_ppos select 2), "dt:", _time - _offtime, "gravity:",2*((_offpos select 2) - (_ppos select 2))/((_time - _offtime)^2) ,"m.s^-2" ];
Dayz_freefall = [ _fftime, 0 max ((_offpos select 2) - (_ppos select 2)), _time - _offtime ];
}
else {