From 40dbc6ed5d6425e76c6c26f5d1a8c10523e489a9 Mon Sep 17 00:00:00 2001 From: Ghostrider-DbD- Date: Mon, 23 Jan 2017 07:45:41 -0500 Subject: [PATCH] Fixed typos in GMS_fnc_vehicleMonitor.sqf Also deleted a few unecessary files --- .../Vehicles/GMS_fnc_protectVehicle.sqf.bak | 17 ------------- .../Vehicles/GMS_fnc_spawnVehicle.sqf.bak | 24 ------------------- .../Vehicles/GMS_fnc_vehicleMonitor.sqf | 4 ++-- .../addons/custom_server/init/build.sqf | 4 ++-- 4 files changed, 4 insertions(+), 45 deletions(-) delete mode 100644 @epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_protectVehicle.sqf.bak delete mode 100644 @epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_spawnVehicle.sqf.bak diff --git a/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_protectVehicle.sqf.bak b/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_protectVehicle.sqf.bak deleted file mode 100644 index 8aaa75a..0000000 --- a/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_protectVehicle.sqf.bak +++ /dev/null @@ -1,17 +0,0 @@ -// Protect Vehicles from being cleaned up by the server -// Last modified 2/26/16 by Ghostrider-DBD- - -params["_Vehicle"]; - -private["_modType"]; -_modType = call blck_getModType; -switch (_ModType) do { - case "_modType": - { - diag_log format["GMS_fnc_protectVehicle:: Tokens set for vehicle %1",_Vehicle]; - //_Vehicle call EPOCH_server_vehicleInit; - _Vehicle call EPOCH_server_setVToken; - }; -}; - - diff --git a/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_spawnVehicle.sqf.bak b/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_spawnVehicle.sqf.bak deleted file mode 100644 index 41624e5..0000000 --- a/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_spawnVehicle.sqf.bak +++ /dev/null @@ -1,24 +0,0 @@ -/* - Spawn a vehicle and protect it against cleanup by Epoch - Returns the object (vehicle) created. - By Ghostrider-DBD- - Last modified 10-24-16 -*/ - -private["_veh","_modType"]; -params["_vehType","_pos"]; -//_vehType = _this select 0; // type of vehicle to be spawned -//_pos = _this select 1; // position at which vehicle is to be spawned - -//diag_log format["spawnVehicle.sqf: _this = %1",_this]; -_veh = createVehicle[_vehType, _pos, [], 0, "NONE"]; -_modType = call blck_getModType; -if (_modType isEqualTo "Epoch") then -{ - //_veh call EPOCH_server_vehicleInit; - _veh call EPOCH_server_setVToken; -}; -[_veh] call blck_fnc_configureMissionVehicle; - -_veh - diff --git a/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_vehicleMonitor.sqf b/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_vehicleMonitor.sqf index 943a54f..824cadc 100644 --- a/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_vehicleMonitor.sqf +++ b/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_vehicleMonitor.sqf @@ -34,7 +34,7 @@ if (blck_debugLevel > 1) then {diag_log format["_fnc_vehicleMonitor:: function c }else { if (blck_killEmptyAIVehicles) then { - if (blck_debugLevel > ) then + if (blck_debugLevel > 2) then { diag_log format["_fnc_vehicleMonitor:: case of patrol vehicle destroyed where vehicle = %1",_veh]; }; @@ -51,7 +51,7 @@ if (blck_debugLevel > 1) then {diag_log format["_fnc_vehicleMonitor:: function c _veh setVehicleLock "UNLOCKED" ; _veh setVariable["releasedToPlayers",true]; [_veh] call blck_fnc_emptyObject; - if (blck_debugLevel > ) then + if (blck_debugLevel > 2) then { diag_log format["_fnc_vehicleMonitor:: case of patrol vehicle released to players where vehicle = %1",_veh]; }; diff --git a/@epochhive/addons/custom_server/init/build.sqf b/@epochhive/addons/custom_server/init/build.sqf index dc6958b..4a751fc 100644 --- a/@epochhive/addons/custom_server/init/build.sqf +++ b/@epochhive/addons/custom_server/init/build.sqf @@ -1,3 +1,3 @@ private ["_version","_versionDate"]; -_blck_version = "6.54 Build 32"; -_blck_versionDate = "1-22-17 8:00 PM"; +_blck_version = "6.54 Build 33"; +_blck_versionDate = "1-23-17 8:00 AM";