From c75a54fb46f6980e31b6aef298f96b6d0a421ece Mon Sep 17 00:00:00 2001 From: kuplion Date: Mon, 8 May 2017 01:43:57 +0100 Subject: [PATCH] Fix for Occupy Boats.. --- README.md | 2 +- pre-packaged pbo/a3_exile_occupation.pbo | Bin 226280 -> 226333 bytes source/a3_exile_occupation/README.md | 2 +- source/a3_exile_occupation/config.cpp | 16 ++++++++++------ .../scripts/occupationLog.sqf | 2 +- .../scripts/occupationSea.sqf | 2 ++ 6 files changed, 15 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9c1d094..378f24b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Exile Occupation (a3_exile_occupation) -![v66 New Features](https://img.shields.io/badge/v66-New%20Features-red.svg) ![Arma 1.68](https://img.shields.io/badge/Arma-1.68-blue.svg) ![Exile 1.0.2 Sweet Potato](https://img.shields.io/badge/Exile-1.0.2%20Sweet%20Potato-C72651.svg) +![v67 New Features](https://img.shields.io/badge/v67-New%20Features-red.svg) ![Arma 1.68](https://img.shields.io/badge/Arma-1.68-blue.svg) ![Exile 1.0.2 Sweet Potato](https://img.shields.io/badge/Exile-1.0.2%20Sweet%20Potato-C72651.svg) WTF is Occupation? An AI spawner and monitor to be used in conjunction with DMS and will not work without it: diff --git a/pre-packaged pbo/a3_exile_occupation.pbo b/pre-packaged pbo/a3_exile_occupation.pbo index cb1a062d0819b65a3def9e9507ce7fc8a2c14507..3a3a662c84fade9a29bde2d8ae4c8187cca5273b 100644 GIT binary patch delta 269 zcmaFyoOkXE-U*X<4=^%-!JRYwkq0KuFXer~4iWfvnm_WzWJSikeAQ4TwLm4+jFT0a zL^d(;GV)ogKopt)6+w1BsE2U zvV^sn8do(JXL3$raj`;Weo=ODMrKhe7bj2*Dwvy?nFr)-F0_8RhR^7RJen zOd^|@cp3QwRUit(S$9VWs(^$y>oZ%JGb&8Zv`XMGQ_wIn)-^Dme9_8dvZA$_vO+Z% zXL3$raj`;Weo=ODMrKheNC+yHo0yrWu({UyfF3Qgs ny0U%B4#w?Mb}*Ih7OBpg_)=yj>&9z7dO;j&Z8n!?wWa|81Eo^; diff --git a/source/a3_exile_occupation/README.md b/source/a3_exile_occupation/README.md index 517455c..378f24b 100644 --- a/source/a3_exile_occupation/README.md +++ b/source/a3_exile_occupation/README.md @@ -1,6 +1,6 @@ # Exile Occupation (a3_exile_occupation) -![v65a Bug Fix](https://img.shields.io/badge/v65a-Bug%20Fix-red.svg) ![Arma 1.66](https://img.shields.io/badge/Arma-1.66-blue.svg) ![Exile 1.0.2 Sweet Potato](https://img.shields.io/badge/Exile-1.0.2%20Sweet%20Potato-C72651.svg) +![v67 New Features](https://img.shields.io/badge/v67-New%20Features-red.svg) ![Arma 1.68](https://img.shields.io/badge/Arma-1.68-blue.svg) ![Exile 1.0.2 Sweet Potato](https://img.shields.io/badge/Exile-1.0.2%20Sweet%20Potato-C72651.svg) WTF is Occupation? An AI spawner and monitor to be used in conjunction with DMS and will not work without it: diff --git a/source/a3_exile_occupation/config.cpp b/source/a3_exile_occupation/config.cpp index 65c5cf9..2e873da 100644 --- a/source/a3_exile_occupation/config.cpp +++ b/source/a3_exile_occupation/config.cpp @@ -1,18 +1,22 @@ class CfgPatches { - class a3_exile_occupation { + class a3_exile_occupation + { units[] = {}; weapons[] = {}; requiredVersion = 0.1; - a3_exile_occupation_version = "V66 (23-03-2017)"; + a3_exile_occupation_version = "V67 (08-05-2017)"; requiredAddons[] = {"a3_dms"}; - author[]= {"second_coming - modified by [FPS]kuplion"}; + author[]= {"second_coming - updated/modified by [FPS]kuplion"}; }; }; -class CfgFunctions { - class yorkshire { - class main { +class CfgFunctions +{ + class yorkshire + { + class main + { class YORKS_init { postInit = 1; diff --git a/source/a3_exile_occupation/scripts/occupationLog.sqf b/source/a3_exile_occupation/scripts/occupationLog.sqf index 3d22424..4d245cb 100644 --- a/source/a3_exile_occupation/scripts/occupationLog.sqf +++ b/source/a3_exile_occupation/scripts/occupationLog.sqf @@ -12,4 +12,4 @@ if(SC_infiSTAR_log && !(isNil "INFISTARVERSION")) then else { diag_log _logDetail; -}; +}; \ No newline at end of file diff --git a/source/a3_exile_occupation/scripts/occupationSea.sqf b/source/a3_exile_occupation/scripts/occupationSea.sqf index 46b7ed3..50bfebd 100644 --- a/source/a3_exile_occupation/scripts/occupationSea.sqf +++ b/source/a3_exile_occupation/scripts/occupationSea.sqf @@ -27,6 +27,8 @@ if(_aiActive > _maxAIcount) exitWith [_logDetail] call SC_fnc_log; }; +SC_liveBoats = count(SC_liveBoatsArray); + if(SC_liveBoats >= SC_maxNumberofBoats) exitWith { if(SC_extendedLogging) then