diff --git a/@ExileServer/addons/a3_dms/config.cpp b/@ExileServer/addons/a3_dms/config.cpp index c1909dd..097bc9e 100644 --- a/@ExileServer/addons/a3_dms/config.cpp +++ b/@ExileServer/addons/a3_dms/config.cpp @@ -4,7 +4,7 @@ class CfgPatches { units[] = {}; weapons[] = {}; - a3_DMS_version = "July 16, 2016"; + a3_DMS_version = "July 18, 2016"; requiredVersion = 1.36; requiredAddons[] = {"exile_client","exile_server_config"}; }; diff --git a/@ExileServer/addons/a3_dms/fn_DMS_postInit.sqf b/@ExileServer/addons/a3_dms/fn_DMS_postInit.sqf index 2bb5be3..1bee03d 100644 --- a/@ExileServer/addons/a3_dms/fn_DMS_postInit.sqf +++ b/@ExileServer/addons/a3_dms/fn_DMS_postInit.sqf @@ -34,7 +34,7 @@ if !("isKnownAccount:DMS_PersistentVehicle" call ExileServer_system_database_que // Some custom maps don't have the proper safePos config entries. -// If you are using one and you have an issue with mission spawns, please create an issue on GitHub or post a comment in the DMS thread. +// DMS no longer uses these values as of October 30, 2015. switch (toLower worldName) do { case "altis": // [16000,16000] w/ radius of 16000 works well for Altis @@ -72,12 +72,12 @@ DMS_MapCenterPos set [2,0]; -RESISTANCE setFriend[WEST,0]; -WEST setFriend[RESISTANCE,0]; -RESISTANCE setFriend[EAST,0]; -EAST setFriend[RESISTANCE,0]; EAST setFriend[WEST,0]; +EAST setFriend[RESISTANCE,0]; +RESISTANCE setFriend[WEST,0]; +RESISTANCE setFriend[EAST,0]; WEST setFriend[EAST,0]; +WEST setFriend[RESISTANCE,0]; diff --git a/@ExileServer/addons/a3_dms/map_configs/tanoa_config.sqf b/@ExileServer/addons/a3_dms/map_configs/tanoa_config.sqf index c94231c..20871e1 100644 --- a/@ExileServer/addons/a3_dms/map_configs/tanoa_config.sqf +++ b/@ExileServer/addons/a3_dms/map_configs/tanoa_config.sqf @@ -12,6 +12,9 @@ DMS_MinDistFromEastBorder = 800; DMS_MinDistFromSouthBorder = 1500; DMS_MinDistFromNorthBorder = 1900; +// Plenty of slopes +DMS_MinSurfaceNormal = 0.8; + DMS_StaticMissionsOnServerStart append [ diff --git a/@ExileServer/addons/a3_dms/missions/bandit/construction.sqf b/@ExileServer/addons/a3_dms/missions/bandit/construction.sqf index 05ffdf3..df7baba 100644 --- a/@ExileServer/addons/a3_dms/missions/bandit/construction.sqf +++ b/@ExileServer/addons/a3_dms/missions/bandit/construction.sqf @@ -18,7 +18,7 @@ if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then { _this = [ - [25,DMS_WaterNearBlacklist,DMS_MinSurfaceNormal,DMS_SpawnZoneNearBlacklist,DMS_TraderZoneNearBlacklist,DMS_MissionNearBlacklist,DMS_PlayerNearBlacklist,DMS_TerritoryNearBlacklist,DMS_ThrottleBlacklists], + [15,DMS_WaterNearBlacklist,DMS_MinSurfaceNormal,DMS_SpawnZoneNearBlacklist,DMS_TraderZoneNearBlacklist,DMS_MissionNearBlacklist,DMS_PlayerNearBlacklist,DMS_TerritoryNearBlacklist,DMS_ThrottleBlacklists], [ [] ], diff --git a/@ExileServer/addons/a3_dms/missions/bandit/mercbase.sqf b/@ExileServer/addons/a3_dms/missions/bandit/mercbase.sqf index 2cd6422..fafc496 100644 --- a/@ExileServer/addons/a3_dms/missions/bandit/mercbase.sqf +++ b/@ExileServer/addons/a3_dms/missions/bandit/mercbase.sqf @@ -18,7 +18,7 @@ if ((isNil "_this") || {_this isEqualTo [] || {!(_this isEqualType [])}}) then { _this = [ - [50,DMS_WaterNearBlacklist,DMS_MinSurfaceNormal,DMS_SpawnZoneNearBlacklist,DMS_TraderZoneNearBlacklist,DMS_MissionNearBlacklist,DMS_PlayerNearBlacklist,DMS_TerritoryNearBlacklist,DMS_ThrottleBlacklists], + [25,DMS_WaterNearBlacklist,DMS_MinSurfaceNormal,DMS_SpawnZoneNearBlacklist,DMS_TraderZoneNearBlacklist,DMS_MissionNearBlacklist,DMS_PlayerNearBlacklist,DMS_TerritoryNearBlacklist,DMS_ThrottleBlacklists], [ [] ], diff --git a/@ExileServer/addons/a3_dms/scripts/fn_FindSafePos.sqf b/@ExileServer/addons/a3_dms/scripts/fn_FindSafePos.sqf index 4970329..b4e7874 100644 --- a/@ExileServer/addons/a3_dms/scripts/fn_FindSafePos.sqf +++ b/@ExileServer/addons/a3_dms/scripts/fn_FindSafePos.sqf @@ -22,7 +22,7 @@ params [ - ["_nearestObjectMinDistance", 25, [0] ], + ["_nearestObjectMinDistance", 5, [0] ], ["_waterNearLimit", DMS_WaterNearBlacklist, [0] ], ["_minSurfaceNormal", DMS_MinSurfaceNormal, [0] ], ["_spawnZoneNearLimit", DMS_SpawnZoneNearBlacklist, [0] ], diff --git a/@ExileServer/addons/a3_dms/scripts/fn_FreezeManager.sqf b/@ExileServer/addons/a3_dms/scripts/fn_FreezeManager.sqf index 8786573..69a5191 100644 --- a/@ExileServer/addons/a3_dms/scripts/fn_FreezeManager.sqf +++ b/@ExileServer/addons/a3_dms/scripts/fn_FreezeManager.sqf @@ -14,7 +14,7 @@ private _recentlyUnfrozen = []; { if (isNull _x) then { - diag_log format["DMS SORT OF AN ERROR :: Null Group found in DMS_FrozenAIGroups! Index: %1",_forEachIndex]; + diag_log format["DMS ERROR :: Null Group found in DMS_FrozenAIGroups! Index: %1 | You might want to consider reducing the value of 'DMS_ai_freezeCheckingDelay'! Current value: %2",_forEachIndex,DMS_ai_freezeCheckingDelay]; DMS_FrozenAIGroups deleteAt _forEachIndex; } else diff --git a/Changelog.md b/Changelog.md index ca16bf7..1a63bb2 100644 --- a/Changelog.md +++ b/Changelog.md @@ -4,6 +4,12 @@ ### Main Branch +### July 18, 2016 (10:00 AM CST-America): +* Reduce minimum surface normal on Tanoa +* Reduce minimum distance to nearest object requirement for "construction" and "mercbase" missions. +* Reduced default value for ```_nearestObjectMinDistance``` parameter in the "DMS_fnc_findSafePos" function. +* Improved "error" log for the freeze manager when a null group was found. + ### July 16, 2016 (12:15 AM CST-America): * Fixed a typo in the post-init when using "DMS_BanditMissionsOnServerStart" (thanks to [jmayr2000 on the forums](http://www.exilemod.com/profile/76602-jmayr2000/) for reporting the issue) * The "underwater_stash" mission will now actually spawn ammo for the SDARs in the crate on land (thanks to "Valthos" for pointing that out). diff --git a/README.md b/README.md index 485e185..2c09e51 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +![Arma 1.62](https://img.shields.io/badge/Arma-1.62-blue.svg) ![Exile 1.0.0 Potato](https://img.shields.io/badge/Exile-1.0.0%20Potato-C72651.svg) ![DMS Version](https://img.shields.io/badge/DMS%20Version-2016--07--18-blue.svg) ![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg) + + # To the User: ####Read the instructions carefully. Before leaving any questions regarding DMS, please read through the [DMS "config.sqf"](https://github.com/Defent/DMS_Exile/blob/master/%40ExileServer/addons/a3_dms/config.sqf?ts=4); the majority of the questions we receive are answered (directly or indirectly) by the config.