mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add sender verification to publish and swap object
Continuation of 8035df0
This is important to have on publish to identify cheaters who spam
create objects in the database or create objects with bad inventory.
- Renamed variables to backport to vanilla
- Removed % and & due to code filtering in publicvariableval.txt
Changes in modular_build.sqf were the same as player_build.sqf.
Tested with building, upgrading buildable/vehicle/tent, downgrading,
buying a vehicle, destroying tent and removing an object.
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
/*
|
||||
[_objectID,_objectUID,_activatingPlayer] call server_deleteObjDirect;
|
||||
[_objectID,_objectUID] call server_deleteObjDirect;
|
||||
*/
|
||||
private["_id","_uid","_key","_activatingPlayer"];
|
||||
private["_id","_uid","_key"];
|
||||
|
||||
_id = _this select 0;
|
||||
_uid = _this select 1;
|
||||
_activatingPlayer = _this select 2;
|
||||
|
||||
if (isServer) then {
|
||||
//remove from database
|
||||
|
||||
Reference in New Issue
Block a user