Removed some logging.
This commit is contained in:
parent
57cfb05c63
commit
5e00ab2e64
@ -28,7 +28,7 @@ private["_numTransfered","_clientId","_allGroups","_groupsOwned","_idHC","_id","
|
||||
{
|
||||
if !(_x in blck_connectedHCs) then {blck_connectedHCs pushBack _x};
|
||||
}forEach entities "HeadlessClient_F";
|
||||
diag_log format["_fnc_passToHCs:: blck_connectedHCs = %1 with count _HCs = %2",blck_connectedHCs,count blck_connectedHCs];
|
||||
diag_log format["_fnc_passToHCs:: blck_connectedHCs = %1 | count _HCs = %2 | server FPS",blck_connectedHCs,count blck_connectedHCs,diag_fps];
|
||||
if ((count blck_connectedHCs) > 0) then
|
||||
{
|
||||
_idHC = [blck_connectedHCs] call blck_fnc_leastBurdened;
|
||||
@ -92,7 +92,7 @@ if ((count blck_connectedHCs) > 0) then
|
||||
};
|
||||
}forEach blck_monitoredVehicles;
|
||||
*/
|
||||
diag_log format["_passToHCs:: %1 vehicles transferred",_numTransfered];
|
||||
//diag_log format["_passToHCs:: %1 vehicles transferred",_numTransfered];
|
||||
} else {
|
||||
diag_log "_fnc_passToHCs:: No headless clients connected";
|
||||
};
|
||||
|
@ -17,7 +17,7 @@ params["_coords","_missionLootVehicles",["_loadCrateTiming","atMissionSpawn"]];
|
||||
if (count _coords == 2) then {_coords pushBack 0};
|
||||
private _vehs = [];
|
||||
{
|
||||
diag_log format["spawnMissionCVehicles.sqf _x = %1",_x];
|
||||
//diag_log format["spawnMissionCVehicles.sqf _x = %1",_x];
|
||||
_x params["_vehType","_vehOffset","_lootArray","_lootCounts"];
|
||||
diag_log format["spawnMissionCVehicles: _vehType = %1 | _vehOffset = %2 | _lootArray = %3 | _lootCounts = %4",_vehType,_vehOffset,_lootArray,_lootCounts];
|
||||
_pos = _coords vectorAdd _vehOffset;
|
||||
@ -29,7 +29,7 @@ private _vehs = [];
|
||||
}forEach ["getin","getout"];
|
||||
if (_loadCrateTiming isEqualTo "atMissionSpawn") then
|
||||
{
|
||||
diag_log format["blck_fnc_spawnMissionLootVehicles::-> loading loot at mission spawn for veh %1",_x];
|
||||
//diag_log format["blck_fnc_spawnMissionLootVehicles::-> loading loot at mission spawn for veh %1",_x];
|
||||
[_veh,_lootArray,_lootCounts] call blck_fnc_fillBoxes;
|
||||
_veh setVariable["lootLoaded",true];
|
||||
}
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
By Ghostrider [GRG]
|
||||
Copyright 2016
|
||||
Last updated 1-22-17
|
||||
Last updated 12-19-17
|
||||
|
||||
--------------------------
|
||||
License
|
||||
@ -23,7 +23,7 @@
|
||||
*/
|
||||
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
|
||||
|
||||
diag_log format["_fnc_vehicleMonitor: starting function at diag_tickTime = %1",diag_tickTime];
|
||||
//diag_log format["_fnc_vehicleMonitor: starting function at diag_tickTime = %1",diag_tickTime];
|
||||
#ifdef blck_debugMode
|
||||
//diag_log format["_fnc_vehicleMonitor:: blck_debugMode defined"];
|
||||
#endif
|
||||
@ -37,7 +37,7 @@ _fn_releaseVehicle = {
|
||||
{
|
||||
_veh removealleventhandlers _x;
|
||||
} forEach ["GetIn","GetOut","fired","hit","hitpart","reloaded","dammaged","HandleDamage"];
|
||||
diag_log format["_fnc_vehicleMonitor:: case of patrol vehicle released to players where vehicle = %1",_veh];
|
||||
//diag_log format["_fnc_vehicleMonitor:: case of patrol vehicle released to players where vehicle = %1",_veh];
|
||||
#ifdef blck_debugMode
|
||||
if (blck_debugLevel > 3) then
|
||||
{
|
||||
@ -121,7 +121,7 @@ if (blck_debugLevel > 3) then {diag_log format["_fnc_vehicleMonitor:: function c
|
||||
{
|
||||
if (blck_killEmptyStaticWeapons) then
|
||||
{
|
||||
diag_log format["_fnc_vehicleMonitor:: case of destroyed where vehicle = %1",_veh];
|
||||
//diag_log format["_fnc_vehicleMonitor:: case of destroyed where vehicle = %1",_veh];
|
||||
|
||||
#ifdef blck_debugMode
|
||||
if (blck_debugLevel > 3) then {diag_log format["_fnc_vehicleMonitor:: case of destroyed where vehicle = %1",_veh];};
|
||||
@ -146,7 +146,7 @@ if (blck_debugLevel > 3) then {diag_log format["_fnc_vehicleMonitor:: function c
|
||||
_veh setDamage 0.7;
|
||||
_veh setVariable["blck_DeleteAt",diag_tickTime + 60];
|
||||
} else {
|
||||
diag_log format["_fnc_vehicleMonitor:: case of RELEASE where vehicle = %1 and Vehicle is typeOf %2",_veh, typeOf _veh];
|
||||
//diag_log format["_fnc_vehicleMonitor:: case of RELEASE where vehicle = %1 and Vehicle is typeOf %2",_veh, typeOf _veh];
|
||||
[_veh] call _fn_releaseVehicle;
|
||||
};
|
||||
_evaluate = false;
|
||||
@ -158,7 +158,7 @@ if (blck_debugLevel > 3) then {diag_log format["_fnc_vehicleMonitor:: function c
|
||||
{
|
||||
if ( _veh getVariable["missionCompleted",0] > 0 && ({alive _x} count crew _veh > 0)) then
|
||||
{
|
||||
diag_log format["_fnc_vehicleMonitor:: case of mission vehicle with AI alive at mission end: schedule destruction with _veh = %1 and typeOf _veh = %2",_veh, typeOf _veh];
|
||||
//diag_log format["_fnc_vehicleMonitor:: case of mission vehicle with AI alive at mission end: schedule destruction with _veh = %1 and typeOf _veh = %2",_veh, typeOf _veh];
|
||||
private["_cleanupTimer"];
|
||||
_cleanupTimer = _veh getVariable["cleanupTimer",0]; // The time delat to deleting any alive AI units
|
||||
// "missionCompleted" = the time at which the mission was completed or aborted
|
||||
|
Loading…
Reference in New Issue
Block a user