mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Rudimentary auth for DeleteObj
limits distance to object, as well as validating random auth key. added server_deleteObjDirect which is only for direct execution on the server, whereas server_deleteObj should be used for PVEH execution only
This commit is contained in:
@@ -538,6 +538,8 @@ DZE_maintainRange = ((DZE_PlotPole select 0)+20);
|
||||
if (isNil "DZE_slowZombies") then {DZE_slowZombies = false;};
|
||||
|
||||
if (isServer) then {
|
||||
DZE_ServerPUIDArray = [];
|
||||
DZE_ServerClientKeys = [];
|
||||
dayz_traps = [];
|
||||
dead_bodyCleanup = [];
|
||||
needUpdate_objects = [];
|
||||
@@ -567,6 +569,7 @@ if (isServer) then {
|
||||
};
|
||||
|
||||
if (!isDedicated) then {
|
||||
DZE_AuthKey = "";
|
||||
DZE_LastPingResp = diag_tickTime;
|
||||
dayz_buildingBubbleMonitor = [];
|
||||
DayZ_fuelCans = ["ItemJerrycan","ItemFuelcan","ItemFuelBarrel"];
|
||||
|
||||
Reference in New Issue
Block a user