Update scripts.txt exceptions

- Removed some unneeded exceptions
- Moved tree chop PVEH to server compile only so client does not need
setdamage exception
- Replaced "showCommandingMenu" filter with stricter
"menu" filter
- Renamed two files with no changes for easier filtering of
"menu"

Vanilla
commits:
1d639b557b
3a29242537
5cdf249ea9
This commit is contained in:
ebayShopper
2017-02-28 18:26:37 -05:00
parent fa7a98708a
commit 61630e91b3
8 changed files with 39 additions and 41 deletions

View File

@@ -611,9 +611,9 @@ if (!isDedicated) then {
dayz_originalPlayer = player;
// database trader menu
if (!DZE_ConfigTrader) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_traderMenuHive.sqf";};
if (!DZE_ConfigTrader) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_hiveTrading.sqf";};
// recent murders menu
call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_murderMenu.sqf";
call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_murderBoard.sqf";
};
//Both

View File

@@ -158,21 +158,6 @@ if (isServer) then {
};
};
};
"PVDZ_objgather_Knockdown" addPublicVariableEventHandler {
_tree = (_this select 1) select 0;
_player = (_this select 1) select 1;
_dis = _player distance _tree;
_name = if (alive _player) then {name _player} else {"DeadPlayer"};
_uid = getPlayerUID _player;
_treeModel = _tree call fn_getModelName;
if ((_dis < 30) && (_treeModel in dayz_trees) && (_uid != "")) then {
_tree setDamage 1;
dayz_choppedTrees set [count dayz_choppedTrees,_tree];
diag_log format["Server setDamage on tree %1 chopped down by %2(%3)",_treeModel,_name,_uid];
};
};
"PVDZ_serverStoreVar" addPublicVariableEventHandler {
_obj = (_this select 1) select 0;