From a211f705ec2f0477d736e7dbd3903fadf9d0650e Mon Sep 17 00:00:00 2001 From: "Mr. Zorn" <56258612+PulsarNeutronStar@users.noreply.github.com> Date: Mon, 8 May 2023 17:06:19 +0200 Subject: [PATCH 1/4] a -> an --- docs/wiki/development/arma-3-scheduler-and-our-practices.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wiki/development/arma-3-scheduler-and-our-practices.md b/docs/wiki/development/arma-3-scheduler-and-our-practices.md index 440f0f95572..d2ffda2a07f 100644 --- a/docs/wiki/development/arma-3-scheduler-and-our-practices.md +++ b/docs/wiki/development/arma-3-scheduler-and-our-practices.md @@ -36,7 +36,7 @@ Code running in the unscheduled environment uses linear execution, that means it ## 2. What is the scheduler and why do I care? -The Arma 3 script scheduler basically gives a fair-share execution to all running scripts, FSMs, and SQS files running on any given client or server at any given time. See the [Biki article](https://community.bistudio.com/wiki/Biki2.0:Performance_Considerations){:target="_blank"} for a in-depth explanation of this. What this basically means though, is that all scripts get a fair share; this also means scheduled execution is drastically affected by other mods that use scheduled execution. For example, if 2 different spawn's are running in a tight loop of `while {true} do {...};`, they will both get exactly 50% of the scheduling time. +The Arma 3 script scheduler basically gives a fair-share execution to all running scripts, FSMs, and SQS files running on any given client or server at any given time. See the [Biki article](https://community.bistudio.com/wiki/Biki2.0:Performance_Considerations){:target="_blank"} for an in-depth explanation of this. What this basically means though, is that all scripts get a fair share; this also means scheduled execution is drastically affected by other mods that use scheduled execution. For example, if 2 different spawn's are running in a tight loop of `while {true} do {...};`, they will both get exactly 50% of the scheduling time. With the way mission makers and mod makers generally use `spawn`/`execVM`, this means you're actually getting drastically less execution time in the scheduled environment than you might think. This leads to visible delay issues all the way up to massive delay on execution. You can easily test and prove this by looping spawns and watching the execution times extend. From ed96e360d0324f13d6ef4627e1115037afa365cf Mon Sep 17 00:00:00 2001 From: OverlordZorn <56258612+OverlordZorn@users.noreply.github.com> Date: Tue, 5 Nov 2024 01:14:07 +0100 Subject: [PATCH 2/4] Docs - Fixed Typo https://github.com/acemod/ACE3/blob/1e404cf85b2af8ad575c5f053fe0205e9ffa2470/addons/repair/functions/fnc_isEngineer.sqf This function is public api, this here should be too --- addons/medical_treatment/functions/fnc_isMedic.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical_treatment/functions/fnc_isMedic.sqf b/addons/medical_treatment/functions/fnc_isMedic.sqf index 7e1360e5ede..3b2a0cb59e6 100644 --- a/addons/medical_treatment/functions/fnc_isMedic.sqf +++ b/addons/medical_treatment/functions/fnc_isMedic.sqf @@ -14,7 +14,7 @@ * Example: * [player] call ace_medical_treatment_fnc_isMedic * - * Public: No + * Public: Yes */ params ["_unit", ["_medicN", 1]]; From 2fda72b1ed32c4bd29e2098e125c7c1d000aa5c5 Mon Sep 17 00:00:00 2001 From: OverlordZorn <56258612+OverlordZorn@users.noreply.github.com> Date: Fri, 8 Nov 2024 00:05:32 +0100 Subject: [PATCH 3/4] Revert "Docs - Fixed Typo" This reverts commit ed96e360d0324f13d6ef4627e1115037afa365cf. --- addons/medical_treatment/functions/fnc_isMedic.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical_treatment/functions/fnc_isMedic.sqf b/addons/medical_treatment/functions/fnc_isMedic.sqf index 3b2a0cb59e6..7e1360e5ede 100644 --- a/addons/medical_treatment/functions/fnc_isMedic.sqf +++ b/addons/medical_treatment/functions/fnc_isMedic.sqf @@ -14,7 +14,7 @@ * Example: * [player] call ace_medical_treatment_fnc_isMedic * - * Public: Yes + * Public: No */ params ["_unit", ["_medicN", 1]]; From b29b5e4b63bbb92b311aa585ee67ae84be8ab1cd Mon Sep 17 00:00:00 2001 From: OverlordZorn Date: Sun, 15 Dec 2024 22:43:54 +0100 Subject: [PATCH 4/4] QGVAR(advancedDiagnose) default -> 2 --- addons/medical_treatment/initSettings.inc.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/medical_treatment/initSettings.inc.sqf b/addons/medical_treatment/initSettings.inc.sqf index 3f30f514faa..7553089518a 100644 --- a/addons/medical_treatment/initSettings.inc.sqf +++ b/addons/medical_treatment/initSettings.inc.sqf @@ -3,7 +3,7 @@ "LIST", [LSTRING(AdvancedDiagnose_DisplayName), LSTRING(AdvancedDiagnose_Description)], LSTRING(Category), - [[0, 1, 2, 3], [ELSTRING(common,Disabled), ELSTRING(common,Enabled), LSTRING(AdvancedDiagnose_DiagnoseCardiacArrest), LSTRING(AdvancedDiagnose_DiagnoseCardiacArrestDirect)], 1], + [[0, 1, 2, 3], [ELSTRING(common,Disabled), ELSTRING(common,Enabled), LSTRING(AdvancedDiagnose_DiagnoseCardiacArrest), LSTRING(AdvancedDiagnose_DiagnoseCardiacArrestDirect)], 2], true ] call CBA_fnc_addSetting;