diff --git a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/init.sqf b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/init.sqf index 16d5520c2..8c392d513 100644 --- a/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/init.sqf +++ b/SQF/dayz_code/system/mission/chernarus/infectiousWaterholes/init.sqf @@ -1,57 +1,56 @@ //Start server selection for infectedWaterHoles. -if (isServer) then { - private ["_WaterHoleArray","_ShuffleArray"]; +private ["_WaterHoleArray","_ShuffleArray"]; - _WaterHoleArray = [ - "BlackLake", - "Gvozdno", - "Gvozdno", - "Kabanino", - "Kopyto", - "Mogilevka", - "Nadezdinho", - "NorthNadezdinho", - "NorthPusta", - "NorthTopolka", - "Novy", - "PobedaDam", - "Pogorevka", - "Polana", - "Prud", - "Sosnovy", - "Stary", - "Topolka", - "Vysota", - "WillowLake" - ]; +_WaterHoleArray = [ + "BlackLake", + "Gvozdno", + "Gvozdno", + "Kabanino", + "Kopyto", + "Mogilevka", + "Nadezdinho", + "NorthNadezdinho", + "NorthPusta", + "NorthTopolka", + "Novy", + "PobedaDam", + "Pogorevka", + "Polana", + "Prud", + "Sosnovy", + "Stary", + "Topolka", + "Vysota", + "WillowLake" +]; - _infectedWaterHoles = _WaterHoleArray call fn_shuffleArray; +_infectedWaterHoles = _WaterHoleArray call fn_shuffleArray; - infectedWaterHoles = []; +infectedWaterHoles = []; - diag_log format["INFO: Choosing waterholes to be infectious",true]; +{ + if ((random 1) < 0.5) then { + infectedWaterHoles set [count infectedWaterHoles, _x]; // set + }; +} count _infectedWaterHoles; - { - if ((random 1) < 0.5) then { - infectedWaterHoles set [count infectedWaterHoles, _x]; // set - }; - uiSleep 0.01; - } count _infectedWaterHoles; +//Send the random array to everyone. +publicVariable "infectedWaterHoles"; - //Send the random array to everyone. - publicVariable "infectedWaterHoles"; - - diag_log format["INFO: Chosen waterholes to be infectious - %1",infectedWaterHoles]; -}; +diag_log format["INFO: Chosen waterholes to be infectious - %1",infectedWaterHoles]; +/* //Setup on each client witch water holes have been chosen by the server to be infected -if (!isDedicated) then { +if (!isServer) then { - waitUntil { uiSleep 0.1; !isNil "infectedWaterHoles" }; + waitUntil { sleep 0.1; !isNil "infectedWaterHoles" }; { call compile preprocessFileLineNumbers ("\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\"+_x+".sqf"); } count infectedWaterHoles; + + diag_log (infectedWaterHoles); }; +*/ diff --git a/SQF/dayz_code/system/player_monitor.fsm b/SQF/dayz_code/system/player_monitor.fsm index 18a96d898..1d8f4d1c7 100644 --- a/SQF/dayz_code/system/player_monitor.fsm +++ b/SQF/dayz_code/system/player_monitor.fsm @@ -1963,7 +1963,13 @@ class FSM "" \n "//Other Counters" \n " dayz_currentGlobalAnimals = count entities ""CAAnimalBase"";" \n - " dayz_currentGlobalZombies = count entities ""zZombie_Base"";"/*%FSM*/; + " dayz_currentGlobalZombies = count entities ""zZombie_Base"";" \n + "" \n + "{" \n + " call compile preprocessFileLineNumbers (""\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\""+_x+"".sqf""); " \n + "} count infectedWaterHoles;" \n + " " \n + "diag_log (infectedWaterHoles);"/*%FSM*/; precondition = /*%FSM*/""/*%FSM*/; class Links { diff --git a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf index 42fc0de12..5db48c1b1 100644 --- a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf index 422dd44e8..21b4b4a10 100644 --- a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf index 2b433d627..398d36dd5 100644 --- a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf index c44c6eabd..356571c75 100644 --- a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf index e4ffaadba..a1ec93fa6 100644 --- a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf index f20d939ff..3b95f44b2 100644 --- a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf index c0aa65dab..c202e827d 100644 --- a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf index 660ec7b06..65719e0e2 100644 --- a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf index 1c848b77e..269ba50ef 100644 --- a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf index 19d955063..f1b069e78 100644 --- a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf index 627b86e36..385e428f6 100644 --- a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf index 87f9c5932..a22c3fa0b 100644 --- a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf index 7af8d1b2e..5e566a8f1 100644 --- a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf index 388506f83..9af9158fa 100644 --- a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf index 42d9a3692..b3fdabf50 100644 --- a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf index d94d86b7c..167a85fa5 100644 --- a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf index a4f6948f5..49bd7546e 100644 --- a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf @@ -116,11 +116,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf index 710697de9..b32daa3bb 100644 --- a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf index 4ae4725e2..fffe76426 100644 --- a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf index 3e7e147ad..6be2eb7a7 100644 --- a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf index e8fe40373..f208f45c2 100644 --- a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf index 70dd7705e..747acd545 100644 --- a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf index 87b8b7105..f0cc07e1b 100644 --- a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf @@ -115,11 +115,10 @@ if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; //Must be global spawned, so players don't fall through buildings (might be best to spilt these to important, not important) if (dayz_POIs && (toLower worldName == "chernarus")) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; }; + //Get the server to setup what waterholes are going to be infected and then broadcast to everyone. + if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; }; -//Get the server to setup what waterholes are going to be infected and then broadcast to everyone. -if (dayz_infectiousWaterholes && (toLower worldName == "chernarus")) then {execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf";}; - // Lootable objects from CfgTownGeneratorDefault.hpp if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\system\mission\chernarus\LegacyTownGenerator\MainLootableObjects.sqf"; };