mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Update server_publishObject
The hive call in server_publishObject is the same between vanilla and Epoch. The only difference is vanilla uses the _inventory area for owner, lock code, etc. variables where as modular Epoch items just store an empty array there. The object classname does not need to be sent in the PV because it can be obtained on the server. PVDZE_veh_Publish was not used.
This commit is contained in:
@@ -508,7 +508,6 @@ PlayerDeaths = [];
|
||||
PVDZE_obj_Trade = []; // For all traders increment qty
|
||||
PVDZE_plr_DeathB = [];
|
||||
PVDZE_plr_TradeMenu = []; // For all traders
|
||||
PVDZE_veh_Publish = []; // For vehicle traders
|
||||
snapGizmos = [];
|
||||
snapGizmosNearby = [];
|
||||
s_player_combi = [];
|
||||
@@ -567,7 +566,7 @@ if (isServer) then {
|
||||
currentObjectUIDs = [];
|
||||
keyStartNumber = 100000000000;
|
||||
DZE_safeVehicle = ["ParachuteWest","ParachuteC"];
|
||||
serverVehicleCounter = [];
|
||||
if(isNil "EpochUseEvents") then {EpochUseEvents = false;};
|
||||
if(isNil "EpochEvents") then {EpochEvents = [];};
|
||||
if(isNil "DZE_vehicleAmmo") then {DZE_vehicleAmmo = 0;};
|
||||
if(isNil "dayz_MapArea") then {dayz_MapArea = 10000;};
|
||||
|
||||
Reference in New Issue
Block a user