Page MenuHomeFeedback Tracker

"agents" array always starts and ends with NULL - team member
Feedback, WishlistPublic

Description

For example:

[<NULL - team member>,Agent 0x389b2080,Agent 0x38940080,Agent 0x27a02080,Agent 0x350f0080,Agent 0x38c96080,Agent 0x38ca0080,Agent 0x38e76080,Agent 0x389e0080,<NULL - team member>]

I'm not sure if this is a bug, but it is pretty odd and doesn't look like it serves any purpouse

Details

Legacy ID
3854591325
Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
Scripting
Steps To Reproduce

run agents command

hint str agents;

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Scripting.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Open.
Killzone_Kid set Legacy ID to 3854591325.May 7 2016, 5:52 PM
Bohemia added a subscriber: AD2001.Feb 2 2014, 5:06 AM
reekoj added a subscriber: reekoj.May 21 2016, 5:12 PM

I have plenty of these team members Null and i don't know from where it comes from :

// result of command : agents
16:52:20 "[<NULL - team member>,Agent 0x8add8100,Agent 0x9219e4c0,<NULL - team member>,<NULL - team member>,Agent 0x91ece740,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,Agent 0x87202940,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>,<NULL - team member>]"

Are these nulls needed, used anywhere? Can just exclude them from return

BIS_fnc_KK updated the task description. (Show Details)
BIS_fnc_KK edited Steps To Reproduce. (Show Details)
BIS_fnc_KK edited Additional Information. (Show Details)
BIS_fnc_KK set Operating System to Windows 7.
BIS_fnc_KK added a subscriber: DarkDruid.

to me the main question is does it still have a perf impact (if you delete an agent - so does this command just list obsolete references or is there more at play) [would be relevant when using and deleleting hundreds of agents)

Well, the nulls are not related to the agents in any way, they are the result of poor condition filtering

from my testing the null can be any element. isnt limited to first and last

fixed in 149567

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Fri, Jun 17, 9:53 AM
BIS_fnc_KK changed the task status from Assigned to Need More Info.
BIS_fnc_KK changed the task status from Need More Info to Feedback.