diff --git a/CHANGE LOG 1.0.6.1.txt b/CHANGE LOG 1.0.6.1.txt index 8b816ade2..cd5c4c5ec 100644 --- a/CHANGE LOG 1.0.6.1.txt +++ b/CHANGE LOG 1.0.6.1.txt @@ -24,6 +24,7 @@ [FIXED] Self actions sometimes duplicating when changing clothes and looking at a safe. @jOoPs @ebayShopper [FIXED] Wrong bleeding icon on vanilla status UI. @jOoPs @ebayShopper [FIXED] It is no longer possible to autoRun under ponds on Chernarus. #1827 @schwanzkopfhegel +[FIXED] Hive connection error after the first and only online player disconnects during the object stream at server start up. #1822 @AirwavesMan @ebayShopper [NOTE] Updated server files were released with the four hotfixes below on December 11th, 2016 (http://dayzepoch.com/a2dayzepoch.php) [FIXED] Hive child 309 errors that resulted in broken saving of newly built storage object inventory. @icomrade diff --git a/SQF/dayz_server/init/server_functions.sqf b/SQF/dayz_server/init/server_functions.sqf index 0c48ed44a..422023cca 100644 --- a/SQF/dayz_server/init/server_functions.sqf +++ b/SQF/dayz_server/init/server_functions.sqf @@ -149,6 +149,7 @@ server_hiveReadWrite = { _data = "HiveExt" callExtension _key; //diag_log ("READ/WRITE: " +str(_data)); _resultArray = call compile str formatText["%1", _data]; + if (isNil "_resultArray") then {_resultArray = "HIVE CONNECTION ERROR";}; _resultArray }; diff --git a/SQF/dayz_server/system/server_monitor.sqf b/SQF/dayz_server/system/server_monitor.sqf index bc819c39d..30350c33b 100644 --- a/SQF/dayz_server/system/server_monitor.sqf +++ b/SQF/dayz_server/system/server_monitor.sqf @@ -1,4 +1,4 @@ -private ["_date","_year","_month","_day","_hour","_minute","_date1","_hiveResponse","_key","_objectCount","_dir","_point","_i","_action","_dam","_selection","_wantExplosiveParts","_entity","_worldspace","_damage","_booleans","_rawData","_ObjectID","_class","_CharacterID","_inventory","_hitpoints","_fuel","_id","_objectArray","_script","_result","_outcome"]; +private ["_date","_year","_month","_day","_hour","_minute","_date1","_key","_objectCount","_dir","_point","_i","_action","_dam","_selection","_wantExplosiveParts","_entity","_worldspace","_damage","_booleans","_rawData","_ObjectID","_class","_CharacterID","_inventory","_hitpoints","_fuel","_id","_objectArray","_script","_result","_outcome","_shutdown","_res"]; [] execVM "\z\addons\dayz_server\system\s_fps.sqf"; //server monitor FPS (writes each ~181s diag_fps+181s diag_fpsmin*) #include "\z\addons\dayz_server\compile\server_toggle_debug.hpp" @@ -40,8 +40,24 @@ if (_outcome == "PASS") then { /* STREAM OBJECTS */ //Send the key _timeStart = diag_tickTime; -_key = format["CHILD:302:%1:%2:",dayZ_instance, _legacyStreamingMethod]; -_result = _key call server_hiveReadWrite; + +for "_i" from 1 to 5 do { + diag_log "HIVE: trying to get objects"; + _key = format["CHILD:302:%1:%2:",dayZ_instance, _legacyStreamingMethod]; + _result = _key call server_hiveReadWrite; + if (typeName _result == "STRING") then { + _shutdown = format["CHILD:400:%1:",(profileNamespace getVariable "SUPERKEY")]; + _res = _shutdown call server_hiveReadWrite; + diag_log ("HIVE: attempt to kill.. HiveExt response:"+str(_res)); + } else { + diag_log ("HIVE: found "+str(_result select 1)+" objects" ); + _i = 99; // break + }; +}; + +if (typeName _result == "STRING") exitWith { + diag_log "HIVE: Connection error. Server_monitor.sqf is exiting."; +}; diag_log "HIVE: Request sent"; _myArray = []; @@ -50,6 +66,7 @@ _status = _result select 0; //Process result _val = _result select 1; if (_legacyStreamingMethod) then { if (_status == "ObjectStreamStart") then { + profileNamespace setVariable ["SUPERKEY",(_result select 2)]; _hiveLoaded = true; //Stream Objects diag_log ("HIVE: Commence Object Streaming..."); @@ -66,6 +83,7 @@ if (_legacyStreamingMethod) then { profileNamespace setVariable["lastFN",_fileName]; saveProfileNamespace; if (_status == "ObjectStreamStart") then { + profileNamespace setVariable ["SUPERKEY",(_result select 2)]; _hiveLoaded = true; _myArray = Call Compile PreProcessFile _fileName; _key = format["CHILD:302:%1:%2:",_lastFN, _legacyStreamingMethod]; @@ -73,6 +91,7 @@ if (_legacyStreamingMethod) then { }; } else { if (_status == "ObjectStreamStart") then { + profileNamespace setVariable ["SUPERKEY",(_result select 2)]; _hiveLoaded = true; }; }; @@ -80,6 +99,11 @@ if (_legacyStreamingMethod) then { diag_log ("HIVE: Streamed " + str(_val) + " objects"); +// Don't spawn objects if no clients are online (createVehicle fails with Ref to nonnetwork object) +if ((playersNumber west + playersNumber civilian) == 0) exitWith { + diag_log "All clients disconnected. Server_monitor.sqf is exiting."; +}; + { private ["_object","_posATL"]; //Parse Array diff --git a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf index cbb0143f5..e436eb962 100644 --- a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\takistan.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\takistan.sqf"; //Add trader agents //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"; }; 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 43ae2b2d2..73ed6cd54 100644 --- a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\mountains_acr.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\mountains_acr.sqf"; //Add trader agents //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"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf index acaa41fa8..64a01e1f0 100644 --- a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\chernarus11.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\chernarus11.sqf"; //Add trader agents //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"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf index 6a433fdff..765477bd8 100644 --- a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\isladuala.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\isladuala.sqf"; //Add trader agents //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"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf index 53fa40478..714f87639 100644 --- a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\tavi.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\tavi.sqf"; //Add trader agents //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"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf index 16e5a1cfb..98051758d 100644 --- a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\namalsk.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\namalsk.sqf"; //Add trader agents //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"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf index 5efa5daa8..32e0ec180 100644 --- a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\panthera2.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\panthera2.sqf"; //Add trader agents //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"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf index cdd58cdb8..5b4e60086 100644 --- a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\chernarus17.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\chernarus17.sqf"; //Add trader agents //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"; }; 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 4b4845d91..278ce1219 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 @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\fdf_isle1_a.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\fdf_isle1_a.sqf"; //Add trader agents //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"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf index 526ad15d0..1415ffc1a 100644 --- a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\utes.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\utes.sqf"; //Add trader agents //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"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf index 0ac47357f..a621bd265 100644 --- a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\fapovo.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\fapovo.sqf"; //Add trader agents //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"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf index 378bab00e..91279bc8a 100644 --- a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\caribou.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\caribou.sqf"; //Add trader agents //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"; }; 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 508855c44..e78cd8216 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 @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\smd_sahrani_a2.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\smd_sahrani_a2.sqf"; //Add trader agents //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"; }; 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 546e8392d..8f994cb33 100644 --- a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\cmr_ovaron.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\cmr_ovaron.sqf"; //Add trader agents //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"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf index 9edded9fd..aa676159a 100644 --- a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\napf.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\napf.sqf"; //Add trader agents //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"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf index 9e4dd17e9..794f9a756 100644 --- a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\sauerland.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\sauerland.sqf"; //Add trader agents //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"; }; 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 065201776..5e18f852c 100644 --- a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf @@ -112,8 +112,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\sauerland.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\sauerland.sqf"; //Add trader agents //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"; }; 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 cc2151414..765125fe6 100644 --- a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\shapur_baf.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\shapur_baf.sqf"; //Add trader agents //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"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf index 7002d7cad..9b8a95a21 100644 --- a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\zargabad.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\zargabad.sqf"; //Add trader agents //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"; }; 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 551cbc630..9b606486a 100644 --- a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\bootcamp_acr.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\bootcamp_acr.sqf"; //Add trader agents //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"; }; diff --git a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf index 98cb631c8..6002ada35 100644 --- a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\lingor.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\lingor.sqf"; //Add trader agents //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"; }; 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 2e48d2ee8..136ae508c 100644 --- a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\provinggrounds_pmc.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\provinggrounds_pmc.sqf"; //Add trader agents //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"; }; 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 bedc363cd..ba047534b 100644 --- a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf @@ -111,8 +111,8 @@ execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf"; if (isServer) then { call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf"; - call compile preprocessFileLineNumbers "\z\addons\dayz_server\traders\woodland_acr.sqf"; //Add trader agents call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf"; + execVM "\z\addons\dayz_server\traders\woodland_acr.sqf"; //Add trader agents //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"; };