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:
ebaydayz
2016-04-02 15:24:20 -04:00
parent 22d7e23d3f
commit 4ce54fbb62
47 changed files with 114 additions and 351 deletions

View File

@@ -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;};