Page MenuHomeFeedback Tracker

Script errors related to format command optimizations
Feedback, NormalPublic

Description

This is a collection of errors appearing since the format related changes

18:03:22 "BIS_fnc_log: [BIS_fnc_codePerformance] ----------------------------------"
18:03:22 "BIS_fnc_log: [BIS_fnc_codePerformance] Test Start. Code: systemChat ""test"""
18:03:22 "BIS_fnc_log: [BIS_fnc_codePerformance] Test Cycles: 10000 / 10000"
18:03:22 "BIS_fnc_log: [BIS_fnc_codePerformance] Test End. Result: 0.00025296 ms"
18:03:22 "BIS_fnc_log: [BIS_fnc_codePerformance] ----------------------------------"
18:03:22 Error in expression <        format ["<t color='#99ffffff'>%1</t>",format [localize "str_a3_cfgnotification>
18:03:22   Error position: <format [localize "str_a3_cfgnotification>
18:03:22   Error 0 elements provided, 1 expected
18:03:22 File /temp/bin/A3/Functions_F/Debug/fn_codePerformance.sqf..., line 56
18:43:31 Error in expression <escriptionParams];};
_descriptionText = format ([_descriptionText] + _descriptio>
18:43:31   Error position: <format ([_descriptionText] + _descriptio>
18:43:31   Error 0 elements provided, 1 expected
18:43:31 File a3\ui_f\scripts\gui\rscdisplaydebriefing.sqf..., line 45
1 call BIS_fnc_error


18:48:23 File /temp/bin/A3/Functions_F/Debug/fn_error.sqf..., line 39
18:48:23 "log: ERROR: [BIS_fnc_debugConsoleExec] 1         "
18:48:23 Error in expression < > 0 || cheatsEnabled) then {
	diag_log format _msg
};

_this>
18:48:23   Error position: <format _msg
};

_this>
18:48:23   Error 1 elements provided, 2 expected
18:48:23 File /temp/bin/A3/Functions_F/Debug/fn_error.sqf..., line 56
1 call BIS_fnc_error

18:49:26 "log: ERROR: [BIS_fnc_debugConsoleExec] 1         "
18:49:26 Error in expression < > 0 || cheatsEnabled) then {
	diag_log format _msg
};

_this>
18:49:26   Error position: <format _msg
};

_this>
18:49:26   Error 1 elements provided, 2 expected
18:49:26 File /temp/bin/A3/Functions_F/Debug/fn_error.sqf..., line 56

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

R3vo created this task.Jul 12 2024, 6:49 PM
R3vo updated the task description. (Show Details)Jul 13 2024, 10:36 PM
Asmo added a subscriber: Asmo.Jul 14 2024, 10:15 AM

Also when opening a GUI editor

XX:45:04 Error in expression <,"e","i","o","u","y"];
GUI_exportHash = format ["%1%2%3%4%5%6%7%8",
toupper (_al>
XX:45:04   Error position: <format ["%1%2%3%4%5%6%7%8",
toupper (_al>
XX:45:04   Error 6 elements provided, 7 expected
XX:45:04 File A3\functions_f\gui\editor\GUI_fnc_export.sqf..., line 462
dedmen added a subscriber: dedmen.Jul 15 2024, 12:21 PM

18:43:31 Error 0 elements provided, 1 expected
18:43:31 File a3\ui_f\scripts\gui\rscdisplaydebriefing.sqf..., line 45

if (_descriptionText == "") then {_descriptionText = "%1";};
_descriptionParams = missionnamespace getvariable ["RscDisplayDebriefing_params",[]];
if (typename _descriptionParams != typename []) then {_descriptionParams = [_descriptionParams];};
_descriptionText = format ([_descriptionText] + _descriptionParams);

description text will be empty, and the params probably too. Params might need [""] as default.

The errors listed should be fixed in next data update, any more?

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Jul 17 2024, 8:17 AM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK set Ref Ticket to AIII-56489.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.

T182974: "Copy" button in Debug Console's benchmark is partially broken in the dev build.

Result:
%2 ms

Cycles:
10000/10000

Code:
getText ((configOf backpackContainer player) >> "assembleInfo" >> "assembleTo") isNotEqualTo ""

Thanks, should be fixed with next data update

This comment was removed by dedmen.

https://feedback.bistudio.com/T183242

13:45:51 Error in expression <riptPath + "%1.sqf",_class];
_fncFile = format ["scriptname '%1_%2'; _fnc_script>
13:45:51 Error position: <format ["scriptname '%1_%2'; _fnc_script>
13:45:51 Error 1 elements provided, 2 expected
13:45:51 File A3\functions_f_curator\Curator\fn_initCuratorAttribute.sqf..., line 37

Error when placing modules in Zeus that open second window, such as audio modules and End Scenario module.

this has been fixed already, please double check before making new tickets

dedmen merged a task: Restricted Maniphest Task.Thu, Aug 1, 11:38 AM
dedmen added a subscriber: AryxRayx.
This comment was removed by LouMontana.