mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Update change log
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
[NEW] Added secondary iron sight to CZ550 and bolt animations to CZ550 and LeeEnfield by @Streatman
|
[NEW] Added secondary iron sight to CZ550 and bolt animations to CZ550 and LeeEnfield by @Streatman
|
||||||
[NEW] Added some basic compatibility for falconsan's Ruegen map (beta version released February 2016)
|
[NEW] Added some basic compatibility for falconsan's Ruegen map (beta version released February 2016)
|
||||||
[NEW] Admins can now define what parts are returned from modular building parts, see configVariables.sqf/DZE_modularConfig @oiad @BigEgg17
|
[NEW] Admins can now define what parts are returned from modular building parts, see configVariables.sqf/DZE_modularConfig @oiad @BigEgg17
|
||||||
[NEW] Basic server-side authentication for DeleteObj, PublishObj, PublishVeh and SwapObj, admins and script makers should review the changes if using PVDZ_obj_Destroy/Publish, PVDZE_obj_Swap, PVDZE_veh_Publish/Upgrade or server_deleteObj and verify custom code is compliant with these changes.
|
[NEW] Basic server-side authentication for DeleteObj, PublishObj, PublishVeh and SwapObj, admins and script makers should review the changes if using PVDZ_obj_Destroy/Publish, PVDZE_obj_Swap, PVDZE_veh_Publish/Upgrade or server_deleteObj and verify custom code is compliant with these changes (github.com/EpochModTeam/DayZ-Epoch/commit/42e0047)
|
||||||
[NEW] BAF_L85A2_RIS_TWS_DZ to emulate the old behavior of the now NV only BAF_L85A2_RIS_CWS. Server owners must add the weapon on their own #1983
|
[NEW] BAF_L85A2_RIS_TWS_DZ to emulate the old behavior of the now NV only BAF_L85A2_RIS_CWS. Server owners must add the weapon on their own #1983
|
||||||
[NEW] Admins can now define a maximum build height, see configVariables.sqf/DZE_BuildHeightLimit. @BigEgg17
|
[NEW] Admins can now define a maximum build height, see configVariables.sqf/DZE_BuildHeightLimit. @BigEgg17
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
private ["_activatingPlayer","_object","_worldspace","_location","_dir","_class","_uid","_key","_keySelected","_characterID","_donotusekey","_result","_outcome","_oid","_countr","_objectID","_objectUID","_newobject","_weapons","_magazines","_backpacks","_objWpnTypes","_objWpnQty","_clientKey","_playerUID"];
|
private ["_activatingPlayer","_object","_worldspace","_location","_dir","_class","_uid","_key","_keySelected","_characterID","_donotusekey","_result","_outcome","_oid","_countr","_objectID","_objectUID","_newobject","_weapons","_magazines","_backpacks","_objWpnTypes","_objWpnQty","_clientKey","_exitReason","_playerUID"];
|
||||||
#include "\z\addons\dayz_server\compile\server_toggle_debug.hpp"
|
#include "\z\addons\dayz_server\compile\server_toggle_debug.hpp"
|
||||||
|
|
||||||
if (count _this < 7) exitWith {diag_log "Server_PublishVehicle3 error: Wrong parameter format";};
|
if (count _this < 7) exitWith {
|
||||||
|
diag_log "Server_PublishVehicle3 error: Wrong parameter format";
|
||||||
|
dze_waiting = "fail";
|
||||||
|
(owner (_this select 5)) publicVariableClient "dze_waiting";
|
||||||
|
};
|
||||||
|
|
||||||
_object = _this select 0;
|
_object = _this select 0;
|
||||||
_worldspace = _this select 1;
|
_worldspace = _this select 1;
|
||||||
@@ -14,7 +18,11 @@ _playerUID = getPlayerUID _activatingPlayer;
|
|||||||
_characterID = _keySelected;
|
_characterID = _keySelected;
|
||||||
|
|
||||||
_exitReason = [_this,"PublishVehicle3",(_worldspace select 1),_clientKey,_playerUID,_activatingPlayer] call server_verifySender;
|
_exitReason = [_this,"PublishVehicle3",(_worldspace select 1),_clientKey,_playerUID,_activatingPlayer] call server_verifySender;
|
||||||
if (_exitReason != "") exitWith {diag_log _exitReason};
|
if (_exitReason != "") exitWith {
|
||||||
|
diag_log _exitReason;
|
||||||
|
dze_waiting = "fail";
|
||||||
|
(owner _activatingPlayer) publicVariableClient "dze_waiting";
|
||||||
|
};
|
||||||
|
|
||||||
if (!(isClass(configFile >> "CfgVehicles" >> _class)) || isNull _object) exitWith {
|
if (!(isClass(configFile >> "CfgVehicles" >> _class)) || isNull _object) exitWith {
|
||||||
diag_log ("HIVE-PublishVehicle3 Error: Vehicle does not exist: "+ str(_class));
|
diag_log ("HIVE-PublishVehicle3 Error: Vehicle does not exist: "+ str(_class));
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ if (!_allowed || !_proceed) exitWith {
|
|||||||
if(!isNull(_object)) then {
|
if(!isNull(_object)) then {
|
||||||
deleteVehicle _object;
|
deleteVehicle _object;
|
||||||
};
|
};
|
||||||
diag_log ("Invalid object swap by playerUID:" + (getPlayerUID _activatingplayer));
|
diag_log ("Invalid object swap by playerUID:" + _playerUID);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Publish variables
|
// Publish variables
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
PVEH does not provide any information about the sender in A2, so
|
PVEH does not provide any information about the sender in A2, so
|
||||||
this is necessary to verify the sender was not spoofed.
|
this is necessary to verify the sender was not spoofed.
|
||||||
|
|
||||||
|
This is useful to hinder and identify cheaters who attempt mass deletion or creation of hive objects via PVS.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
private ["_clientKey","_exitReason","_function","_index","_object","_params","_player","_playerUID"];
|
private ["_clientKey","_exitReason","_function","_index","_object","_params","_player","_playerUID"];
|
||||||
|
|||||||
Reference in New Issue
Block a user