Merge pull request #70 from Ghostrider-DbD-/Version-6.74-Build-100

Add LIcensing Information
This commit is contained in:
Ghostrider [GRG] 2017-12-19 23:28:54 -05:00 committed by GitHub
commit 94e12d18e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 143 additions and 26 deletions

View File

@ -28,7 +28,7 @@ private["_numTransfered","_clientId","_allGroups","_groupsOwned","_idHC","_id","
{ {
if !(_x in blck_connectedHCs) then {blck_connectedHCs pushBack _x}; if !(_x in blck_connectedHCs) then {blck_connectedHCs pushBack _x};
}forEach entities "HeadlessClient_F"; }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 if ((count blck_connectedHCs) > 0) then
{ {
_idHC = [blck_connectedHCs] call blck_fnc_leastBurdened; _idHC = [blck_connectedHCs] call blck_fnc_leastBurdened;
@ -92,7 +92,7 @@ if ((count blck_connectedHCs) > 0) then
}; };
}forEach blck_monitoredVehicles; }forEach blck_monitoredVehicles;
*/ */
diag_log format["_passToHCs:: %1 vehicles transferred",_numTransfered]; //diag_log format["_passToHCs:: %1 vehicles transferred",_numTransfered];
} else { } else {
diag_log "_fnc_passToHCs:: No headless clients connected"; diag_log "_fnc_passToHCs:: No headless clients connected";
}; };

View File

@ -17,7 +17,7 @@ params["_coords","_missionLootVehicles",["_loadCrateTiming","atMissionSpawn"]];
if (count _coords == 2) then {_coords pushBack 0}; if (count _coords == 2) then {_coords pushBack 0};
private _vehs = []; private _vehs = [];
{ {
diag_log format["spawnMissionCVehicles.sqf _x = %1",_x]; //diag_log format["spawnMissionCVehicles.sqf _x = %1",_x];
_x params["_vehType","_vehOffset","_lootArray","_lootCounts"]; _x params["_vehType","_vehOffset","_lootArray","_lootCounts"];
diag_log format["spawnMissionCVehicles: _vehType = %1 | _vehOffset = %2 | _lootArray = %3 | _lootCounts = %4",_vehType,_vehOffset,_lootArray,_lootCounts]; diag_log format["spawnMissionCVehicles: _vehType = %1 | _vehOffset = %2 | _lootArray = %3 | _lootCounts = %4",_vehType,_vehOffset,_lootArray,_lootCounts];
_pos = _coords vectorAdd _vehOffset; _pos = _coords vectorAdd _vehOffset;
@ -29,7 +29,7 @@ private _vehs = [];
}forEach ["getin","getout"]; }forEach ["getin","getout"];
if (_loadCrateTiming isEqualTo "atMissionSpawn") then 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,_lootArray,_lootCounts] call blck_fnc_fillBoxes;
_veh setVariable["lootLoaded",true]; _veh setVariable["lootLoaded",true];
} }

View File

@ -12,7 +12,7 @@
By Ghostrider [GRG] By Ghostrider [GRG]
Copyright 2016 Copyright 2016
Last updated 1-22-17 Last updated 12-19-17
-------------------------- --------------------------
License License
@ -23,7 +23,7 @@
*/ */
#include "\q\addons\custom_server\Configs\blck_defines.hpp"; #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 #ifdef blck_debugMode
//diag_log format["_fnc_vehicleMonitor:: blck_debugMode defined"]; //diag_log format["_fnc_vehicleMonitor:: blck_debugMode defined"];
#endif #endif
@ -37,7 +37,7 @@ _fn_releaseVehicle = {
{ {
_veh removealleventhandlers _x; _veh removealleventhandlers _x;
} forEach ["GetIn","GetOut","fired","hit","hitpart","reloaded","dammaged","HandleDamage"]; } 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 #ifdef blck_debugMode
if (blck_debugLevel > 3) then 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 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 #ifdef blck_debugMode
if (blck_debugLevel > 3) then {diag_log format["_fnc_vehicleMonitor:: case of destroyed where vehicle = %1",_veh];}; 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 setDamage 0.7;
_veh setVariable["blck_DeleteAt",diag_tickTime + 60]; _veh setVariable["blck_DeleteAt",diag_tickTime + 60];
} else { } 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; [_veh] call _fn_releaseVehicle;
}; };
_evaluate = false; _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 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"]; private["_cleanupTimer"];
_cleanupTimer = _veh getVariable["cleanupTimer",0]; // The time delat to deleting any alive AI units _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 // "missionCompleted" = the time at which the mission was completed or aborted

View File

@ -1,5 +1,14 @@
/*
by Ghostrider [GRG]
for ghostridergaming
12/5/17
--------------------------
License
--------------------------
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\q\addons\custom_server\Configs\blck_defines.hpp"; #include "\q\addons\custom_server\Configs\blck_defines.hpp";
if (!isServer) exitWith{}; if (!isServer) exitWith{};

View File

@ -1,10 +1,7 @@
/* /*
Run scripts exported from M3EDEN Editor plug in for Arma 3 or other map addons.
Add addons to the arrays for Epoch or Exile as appropriate.
Arrays should contain ["mapname", "name of folder within mapaddons","name of file to execute"]
by Ghostrider [GRG] by Ghostrider [GRG]
for ghostridergaming for ghostridergaming
11/12/16 12/5/17
-------------------------- --------------------------
License License
-------------------------- --------------------------
@ -12,6 +9,7 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/ http://creativecommons.org/licenses/by-nc-sa/4.0/
*/ */
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
if (!isServer) exitWith{}; if (!isServer) exitWith{};
//diag_log "[blckeagls] GMS__UMS_StaticMissions_init.sqf <Initializing Static Mission System>"; //diag_log "[blckeagls] GMS__UMS_StaticMissions_init.sqf <Initializing Static Mission System>";

View File

@ -1,3 +1,15 @@
/*
by Ghostrider [GRG]
for ghostridergaming
12/5/17
--------------------------
License
--------------------------
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
private _modType = call blck_fnc_getModType; private _modType = call blck_fnc_getModType;
blck_UMS_uniforms = blck_UMS_uniforms =
[ [

View File

@ -1,3 +1,15 @@
/*
by Ghostrider [GRG]
for ghostridergaming
12/5/17
--------------------------
License
--------------------------
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
blck_dynamicUMS_MissionsRuning = 0; blck_dynamicUMS_MissionsRuning = 0;
blck_priorDynamicUMS_Missions = []; blck_priorDynamicUMS_Missions = [];
blck_UMS_ActiveDynamicMissions = []; blck_UMS_ActiveDynamicMissions = [];

View File

@ -1,6 +1,16 @@
//counter = counter + 1; /*
by Ghostrider [GRG]
for ghostridergaming
12/5/17
--------------------------
License
--------------------------
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
private["_mapCenter","_waterPos","_priorUMSpositions"]; private["_mapCenter","_waterPos","_priorUMSpositions"];
//systemChat format["Session Time %1",diag_tickTime];
switch (toLower worldName) do switch (toLower worldName) do
{ {

View File

@ -1,4 +1,15 @@
/*
by Ghostrider [GRG]
for ghostridergaming
12/5/17
--------------------------
License
--------------------------
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
private["_depth"]; private["_depth"];
params["_pos"]; params["_pos"];
_depth = (getTerrainHeightASL _pos); _depth = (getTerrainHeightASL _pos);

View File

@ -1,4 +1,15 @@
/*
by Ghostrider [GRG]
for ghostridergaming
12/5/17
--------------------------
License
--------------------------
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
blck_fnc_spawnScubaGroup = compileFinal preprocessFileLineNumbers "q\addons\custom_server\Missions\UMS\code\GMS_fnc_spawnScubaGroup.sqf"; blck_fnc_spawnScubaGroup = compileFinal preprocessFileLineNumbers "q\addons\custom_server\Missions\UMS\code\GMS_fnc_spawnScubaGroup.sqf";
blck_fnc_spawnSDVPatrol = compileFinal preprocessFileLineNumbers "q\addons\custom_server\Missions\UMS\code\GMS_fnc_spawnSDVPatrol.sqf"; blck_fnc_spawnSDVPatrol = compileFinal preprocessFileLineNumbers "q\addons\custom_server\Missions\UMS\code\GMS_fnc_spawnSDVPatrol.sqf";
blck_fnc_spawnSurfacePatrol = compileFinal preprocessFileLineNumbers "q\addons\custom_server\Missions\UMS\code\GMS_fnc_spawnSurfacePatrol.sqf"; blck_fnc_spawnSurfacePatrol = compileFinal preprocessFileLineNumbers "q\addons\custom_server\Missions\UMS\code\GMS_fnc_spawnSurfacePatrol.sqf";

View File

@ -1,8 +1,17 @@
/*
by Ghostrider [GRG]
for ghostridergaming
12/5/17
--------------------------
License
--------------------------
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
params["_pos"]; http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
if (!isServer) exitWith{};
#include "\q\addons\custom_server\Configs\blck_defines.hpp"; #include "\q\addons\custom_server\Configs\blck_defines.hpp";
params["_pos"];
if (!isServer) exitWith{};
params["_mission"]; params["_mission"];
// Spawn landscape // Spawn landscape
// params["_objects"]; // params["_objects"];

View File

@ -1,4 +1,15 @@
/*
by Ghostrider [GRG]
for ghostridergaming
12/5/17
--------------------------
License
--------------------------
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\q\addons\custom_server\Configs\blck_defines.hpp";
params["_pos"]; params["_pos"];
diag_log format["_fnc_addDynamicUMS_Mission: _pos = %1",_pos]; diag_log format["_fnc_addDynamicUMS_Mission: _pos = %1",_pos];
private["_UMS_mission","_waitTime","_mission"]; private["_UMS_mission","_waitTime","_mission"];

View File

@ -1,5 +1,14 @@
/*
by Ghostrider [GRG]
for ghostridergaming
12/5/17
--------------------------
License
--------------------------
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\q\addons\custom_server\Configs\blck_defines.hpp"; #include "\q\addons\custom_server\Configs\blck_defines.hpp";
// ["B_SDV_01_F",[22584.9,15304.8,-6.14801],"red",4, 75,0], // ["B_SDV_01_F",[22584.9,15304.8,-6.14801],"red",4, 75,0],
params["_SDV","_pos","_difficulty","_numAI","_patrolRadius","_respawnTime"]; params["_SDV","_pos","_difficulty","_numAI","_patrolRadius","_respawnTime"];

View File

@ -1,7 +1,15 @@
/* /*
Code by Ghostrider by Ghostrider [GRG]
for ghostridergaming
12/5/17
--------------------------
License
--------------------------
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/ */
//diag_log format["_fnc_spawnScubaGroup called with _this = %1",_this]; #include "\q\addons\custom_server\Configs\blck_defines.hpp";
#define configureWaypoints true #define configureWaypoints true
#define isScubaGroup true #define isScubaGroup true
// [_pos,_difficulty,_units,_patrolRadius] // [_pos,_difficulty,_units,_patrolRadius]

View File

@ -1,4 +1,15 @@
/*
by Ghostrider [GRG]
for ghostridergaming
12/5/17
--------------------------
License
--------------------------
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
#include "\q\addons\custom_server\Configs\blck_defines.hpp"; #include "\q\addons\custom_server\Configs\blck_defines.hpp";
// ["B_SDV_01_F",[22584.9,15304.8,-6.14801],"red",4, 75,0], // ["B_SDV_01_F",[22584.9,15304.8,-6.14801],"red",4, 75,0],
params["_SDV","_pos","_difficulty","_numAI","_patrolRadius","_respawnTime"]; params["_SDV","_pos","_difficulty","_numAI","_patrolRadius","_respawnTime"];

View File

@ -1,4 +1,7 @@
/* /*
by Ghostrider [GRG]
for ghostridergaming
12/5/17
-------------------------- --------------------------
License License
-------------------------- --------------------------
@ -6,7 +9,6 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/ http://creativecommons.org/licenses/by-nc-sa/4.0/
*/ */
#include "\q\addons\custom_server\Configs\blck_defines.hpp"; #include "\q\addons\custom_server\Configs\blck_defines.hpp";
params["_vehicle"]; params["_vehicle"];

View File

@ -1,4 +1,7 @@
/* /*
by Ghostrider [GRG]
for ghostridergaming
12/5/17
-------------------------- --------------------------
License License
-------------------------- --------------------------
@ -6,7 +9,6 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/ http://creativecommons.org/licenses/by-nc-sa/4.0/
*/ */
#include "\q\addons\custom_server\Configs\blck_defines.hpp"; #include "\q\addons\custom_server\Configs\blck_defines.hpp";
params["_group"]; params["_group"];

View File

@ -1,4 +1,7 @@
/* /*
by Ghostrider [GRG]
for ghostridergaming
12/5/17
-------------------------- --------------------------
License License
-------------------------- --------------------------
@ -6,7 +9,6 @@
http://creativecommons.org/licenses/by-nc-sa/4.0/ http://creativecommons.org/licenses/by-nc-sa/4.0/
*/ */
#include "\q\addons\custom_server\Configs\blck_defines.hpp"; #include "\q\addons\custom_server\Configs\blck_defines.hpp";
params["_vehicle"]; params["_vehicle"];