mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
Add config variable DZE_ServerLogHits
This commit is contained in:
@@ -163,12 +163,10 @@ if (_unit == player) then {
|
||||
};
|
||||
};
|
||||
|
||||
//Overkill logging. PVS network send every two seconds = lag. Not worth it just for extra anticheat logs.
|
||||
//Log to server :-( OverProcessing really not needed.
|
||||
/*if (!local _source && _isMan) then {
|
||||
if (DZE_ServerLogHits && {!local _source} && {_isMan}) then {
|
||||
_wpst = weaponState _source;
|
||||
if (diag_ticktime-(_source getVariable ["lastloghit",0])>2) then {
|
||||
private ["_sourceWeap"];
|
||||
_source setVariable ["lastloghit",diag_ticktime];
|
||||
_sourceDist = round(_unit distance _source);
|
||||
_sourceWeap = switch (true) do {
|
||||
@@ -186,7 +184,7 @@ if (_unit == player) then {
|
||||
publicVariableServer "PVDZ_sec_atp";
|
||||
};
|
||||
};
|
||||
};*/
|
||||
};
|
||||
|
||||
dayz_lastDamageSource = switch (true) do {
|
||||
case (_falling): {"fall"};
|
||||
|
||||
@@ -39,6 +39,7 @@ DZE_DeathMsgChat = "none"; //"none","global","side","system" Display death messa
|
||||
DZE_DeathMsgDynamicText = false; // Display death messages as dynamicText in the top left with weapon icons.
|
||||
DZE_DeathMsgRolling = false; // Display death messages as rolling messages in bottom center of screen.
|
||||
DZE_DeathScreen = true; // True=Use Epoch death screen (Trade city obituaries have been amended) False=Use DayZ death screen (You are dead)
|
||||
DZE_ServerLogHits = false; // Log damage source, weapon, distance and ammo to server RPT for player hits. Useful for detecting damage and ammo cheats.
|
||||
|
||||
// Dynamic Vehicles
|
||||
DynamicVehicleDamageLow = 0; // Min damage random vehicles can spawn with
|
||||
|
||||
Reference in New Issue
Block a user