From 7be75c4674bad691afe836ce2b5f97de7f5d2d30 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Fri, 2 Sep 2016 13:25:41 -0400 Subject: [PATCH] Remove random unused faco code --- SQF/dayz_code/actions/object_upgradebuilding.sqf | 1 - SQF/dayz_code/actions/player_chopWood.sqf | 2 -- SQF/dayz_code/actions/player_goFishing.sqf | 2 -- SQF/dayz_server/compile/server_playerSetup.sqf | 5 ----- 4 files changed, 10 deletions(-) diff --git a/SQF/dayz_code/actions/object_upgradebuilding.sqf b/SQF/dayz_code/actions/object_upgradebuilding.sqf index 40ed44138..b8ee9a990 100644 --- a/SQF/dayz_code/actions/object_upgradebuilding.sqf +++ b/SQF/dayz_code/actions/object_upgradebuilding.sqf @@ -16,7 +16,6 @@ private ["_cursorTarget","_type","_class","_requiredTools","_requiredParts","_up "_ownerArray","_ownerPasscode","_dir","_vector","_object","_puid","_clanArray","_wh","_variables"]; //systemchat str _this; -if (!isnil "faco_object_upgradeBuilding") exitWith { _this call faco_object_upgradeBuilding }; _cursorTarget = _this select 3; // ArmaA2 bug workaround: sometimes the object is null diff --git a/SQF/dayz_code/actions/player_chopWood.sqf b/SQF/dayz_code/actions/player_chopWood.sqf index 25d56415a..dbdce6e2f 100644 --- a/SQF/dayz_code/actions/player_chopWood.sqf +++ b/SQF/dayz_code/actions/player_chopWood.sqf @@ -1,8 +1,6 @@ private ["_item","_result","_dis","_sfx","_num","_breaking","_countOut","_findNearestTree","_objName","_counter","_isOk","_proceed","_animState","_started","_finished","_isMedic","_itemOut","_tree","_distance2d"]; -//if (!isnil "faco_player_chopWood") exitWith { _this call faco_player_chopWood }; - _item = _this; call gear_ui_init; closeDialog 1; diff --git a/SQF/dayz_code/actions/player_goFishing.sqf b/SQF/dayz_code/actions/player_goFishing.sqf index 71448a545..b22ed64d4 100644 --- a/SQF/dayz_code/actions/player_goFishing.sqf +++ b/SQF/dayz_code/actions/player_goFishing.sqf @@ -7,8 +7,6 @@ private ["_linecastmax","_linecastmin","_num","_position","_ispond","_objectsPond","_isPondNearBy","_isOk","_counter","_vehicle","_inVehicle", "_rnd","_itemOut","_text","_item","_itemtodrop","_result","_elevation","_inBoat","_i","_ret","_bb","_w2m","_dir"]; -//if (!isNil "faco_goFishing") exitWith { _this call faco_goFishing }; - _vehicle = _this select 3; _vehicle removeAction (_this select 2); s_player_fishing = -1; diff --git a/SQF/dayz_server/compile/server_playerSetup.sqf b/SQF/dayz_server/compile/server_playerSetup.sqf index f72988e4d..712688098 100644 --- a/SQF/dayz_server/compile/server_playerSetup.sqf +++ b/SQF/dayz_server/compile/server_playerSetup.sqf @@ -223,11 +223,6 @@ _playerObj setVariable ["humanity",_humanity,true]; _playerObj setVariable ["humanity_CHK",_humanity]; _playerObj setVariable ["lastPos",getPosATL _playerObj]; -if (!isNil "faco_hook_playerSetup") then { - [_worldspace,_state,_playerObj,_characterID] call faco_hook_playerSetup; - _playerObj call faco_sendSecret; -}; - PVCDZ_plr_Login2 = [_worldspace,_state]; _clientID = owner _playerObj; _clientID publicVariableClient "PVCDZ_plr_Login2";