A Little Something For Server Owners #2 [1.7.4.4 Only]

Stapo

Modding Veteran
Hey fellow server owners, im going to show you add a line in your dayz_server.pbo that will tell you WHAT your helicrashsite's are spawning.

Step 1.
Unpack your dayz_server.pbo (@Server/addons) with any pbo unpacker (i recommend CPBO).

Step 2.
go to dayz_server/init/server_functions.sqf (open with Notepad ++) and go to around line 125 and you will see something like this:

Code:
if (count _itemType > _index) then {
_iArray = _itemType select _index;
_iArray set [2,_position];
_iArray set [3,5];
_iArray call spawn_loot;
_nearby = _position nearObjects ["WeaponHolder",20];

Step 3.
add this under _iArray call spawn_loot;

Code:
if (_iArray select 0 == "") then {
diag_log format ["CRASHSPAWN: LOOT PILE: %1", _iArray select 1];
} else {
diag_log format ["CRASHSPAWN: ITEM: %1", _iArray select 0];
};

so it looks like this:

Code:
if (count _itemType > _index) then {
_iArray = _itemType select _index;
_iArray set [2,_position];
_iArray set [3,5];
_iArray call spawn_loot;
if (_iArray select 0 == "") then {
diag_log format ["CRASHSPAWN: LOOT PILE: %1", _iArray select 1];
} else {
diag_log format ["CRASHSPAWN: ITEM: %1", _iArray select 0];
};
_nearby = _position nearObjects ["WeaponHolder",20];

Step4.
save it and repack dayz_server and next time you look at your RPT you should see something like this:

Code:
18:33:33 "CRASHSPAWN: LOOT PILE: military"
18:33:33 "CRASHSPAWN: ITEM: M16A2"
18:33:33 "CRASHSPAWN: ITEM: M249_DZ"
18:33:33 "CRASHSPAWN: ITEM: M4A3_CCO_EP1"
18:33:33 "CRASHSPAWN: ITEM: M16A2"
18:33:33 "CRASHSPAWN: ITEM: M4A1_HWS_GL_camo"

Enjoy! ;)
 
is there a problem with signatures during repack? This is what i have heard and just wondered before i tackled this.
 
Back
Top