From 03a3fcc2fa833e201807b2aacbe7ecb5183fd5ad Mon Sep 17 00:00:00 2001 From: second_coming Date: Wed, 10 Aug 2016 23:45:10 +0100 Subject: [PATCH] V58 Fixes --- pre-packaged pbo/a3_exile_occupation.pbo | Bin 214594 -> 214246 bytes .../scripts/occupationPlaces.sqf | 4 ---- .../scripts/occupationRandomSpawn.sqf | 1 + .../scripts/startOccupation.sqf | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pre-packaged pbo/a3_exile_occupation.pbo b/pre-packaged pbo/a3_exile_occupation.pbo index ec94fb41197603e64cdc0a39a644b33c98f909a2..5eaf9fa32ad8a8ba7b913be8ac2caf88e746c360 100644 GIT binary patch delta 161 zcmX@q!~3k0cf(31zSlYoV8GG4I{dZHWJM;C$)}k__%d}N!Vh<^4$ssD32$a(HfH3l z6M=|p0F~D@JF;wdWMSks+y2^`@vsqlX0cypj)Kzkb$N_pTuPb>B^jxC3e^fAzBrey zLRw-@ajLaK?e^t)j7vT;nHg-4OkleDROG|wO=tE9YaK9d2;Am$>UEiA#{>E6QNQj3L2`W zno2tHKsg;u%{nlBI`I`cK${`@{1S6hW37=K#Ej%3CME0b-d2o9jJC(+GS2-teN_sR i-FL!?`#9Je#;iBLe``-C~~r diff --git a/source/a3_exile_occupation/scripts/occupationPlaces.sqf b/source/a3_exile_occupation/scripts/occupationPlaces.sqf index c5d54b5..0ba7c3b 100644 --- a/source/a3_exile_occupation/scripts/occupationPlaces.sqf +++ b/source/a3_exile_occupation/scripts/occupationPlaces.sqf @@ -138,10 +138,6 @@ _locations = (nearestLocations [_spawnCenter, ["NameVillage","NameCity", "NameCi //_safeSpawnPosition = [_pos,10,100,5,0,20,0] call BIS_fnc_findSafePos; _safeSpawnPosition = _pos findEmptyPosition [0,50,"B_T_MRAP_01_F"]; - - diag_log "=========================================================================================================================="; - diag_log format["_pos: %1 _safeSpawnPosition: %2 _temppos: %3 location: %4 (%5)",_pos,_safeSpawnPosition,_temppos,_x,_locationName]; - diag_log "=========================================================================================================================="; if(count _safeSpawnPosition == 0) exitWith { diff --git a/source/a3_exile_occupation/scripts/occupationRandomSpawn.sqf b/source/a3_exile_occupation/scripts/occupationRandomSpawn.sqf index 00dfc99..71ca1d9 100644 --- a/source/a3_exile_occupation/scripts/occupationRandomSpawn.sqf +++ b/source/a3_exile_occupation/scripts/occupationRandomSpawn.sqf @@ -192,6 +192,7 @@ SC_suitablePlayers = []; _selectedPlayer = _x; _suitablePlayer = true; _suitablePlayerisBambi = _selectedPlayer getVariable "ExileIsBambi"; + if(isNil "_suitablePlayerisBambi") then { _suitablePlayerisBambi = false; }; if(_suitablePlayerisBambi && !SC_randomSpawnTargetBambis) exitWith { _suitablePlayer = false; diff --git a/source/a3_exile_occupation/scripts/startOccupation.sqf b/source/a3_exile_occupation/scripts/startOccupation.sqf index 97e16ad..4db5f4c 100644 --- a/source/a3_exile_occupation/scripts/startOccupation.sqf +++ b/source/a3_exile_occupation/scripts/startOccupation.sqf @@ -71,7 +71,7 @@ if(SC_occupyRandomSpawn) then { uiSleep 15; // delay the start fnc_occupyRandomSpawn = compile preprocessFileLineNumbers "\x\addons\a3_exile_occupation\scripts\occupationRandomSpawn.sqf"; - [SC_refreshTime, fnc_occupyRandomSpawn, [], true] call ExileServer_system_thread_addTask; + [60, fnc_occupyRandomSpawn, [], true] call ExileServer_system_thread_addTask; }; if(SC_occupyLootCrates) then