From 2afc23914f5f5266229b9d8bdf6db70ab1be7379 Mon Sep 17 00:00:00 2001 From: He-Man Date: Wed, 20 Sep 2017 19:35:46 +0200 Subject: [PATCH 1/3] fix for addrating --- Sources/epoch_code/init/client_init.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/epoch_code/init/client_init.sqf b/Sources/epoch_code/init/client_init.sqf index f976598e..6ef43f47 100644 --- a/Sources/epoch_code/init/client_init.sqf +++ b/Sources/epoch_code/init/client_init.sqf @@ -86,13 +86,13 @@ addMissionEventHandler ["PlayerViewChanged", {if (cameraView isEqualTo "GROUP") [] execFSM "epoch_code\system\player_login.fsm"; -// testing for civilan males -player addRating -2000; - //Start processing right after Loading screen is done and game has started [] spawn { waitUntil {!isNull (findDisplay 46) && (!isNil "EPOCH_loadingScreenDone")}; 'load' call epoch_favBar_draw; + + // testing for civilan males + player addRating -2000; }; From e756568334054e3aa1e5774019889555135f022d Mon Sep 17 00:00:00 2001 From: He-Man Date: Wed, 20 Sep 2017 19:39:55 +0200 Subject: [PATCH 2/3] fix for addrating --- Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf b/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf index 11232bd3..da7efda9 100644 --- a/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf +++ b/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf @@ -71,6 +71,9 @@ if !(alive player && alive _playerObject && !isPlayer _playerObject) then { // reset blood Pressure to warning level EPOCH_playerBloodP = 120; + + // testing for civilan males + player addRating -2000; }; } else { deleteVehicle _playerObject; From 90efc9258b22f89f3ebc73c266d773f95f3d98b8 Mon Sep 17 00:00:00 2001 From: He-Man Date: Wed, 20 Sep 2017 20:17:41 +0200 Subject: [PATCH 3/3] fix for addrating --- Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf b/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf index da7efda9..cb329add 100644 --- a/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf +++ b/Sources/epoch_code/compile/setup/EPOCH_clientRevive.sqf @@ -73,7 +73,8 @@ if !(alive player && alive _playerObject && !isPlayer _playerObject) then { EPOCH_playerBloodP = 120; // testing for civilan males - player addRating -2000; + waituntil {local _playerObject}; + _playerObject addRating -2000; }; } else { deleteVehicle _playerObject;