spam in logs of "Error Undefined variable in expression: _grp" #1

Merged
Fastwind merged 1 commits from fix/patrol-spawn into master 2026-07-02 14:43:26 +00:00
Collaborator

There is a continuous spam of error coming from \scripts\server\patrols\manage_one_patrol.sqf..., line 62.
The variable "_grp", that isn't defined as private, seems to be nil after sleep.

for the moment i chose to add guarding and limiting the scope of the variable, but needs review over the sqf working

There is a continuous spam of error coming from \scripts\server\patrols\manage_one_patrol.sqf..., line 62. The variable "_grp", that isn't defined as private, seems to be nil after sleep. for the moment i chose to add guarding and limiting the scope of the variable, but needs review over the sqf working
Fastwind added 1 commit 2026-07-02 02:22:57 +00:00
expression: _grp" in \scripts\server\patrols\manage_one_patrol.sqf...,
line 62
Fastwind requested review from REDCODE 2026-07-02 02:22:57 +00:00
Owner

So this is going to change the spam of errors of missing variable into a spam of "patrol group doesn't contain soldiers"?

So this is going to change the spam of errors of missing variable into a spam of "patrol group doesn't contain soldiers"?
Author
Collaborator

The log uses the KP logging functionality instead of SQF spam, and assicure that the interruption is handled cleanly; also adding "private" to local variable to protect the scope of the variable and reducing error propagation area of the "new" (arma 3 2024/2025) parallel multi task systems

The log uses the KP logging functionality instead of SQF spam, and assicure that the interruption is handled cleanly; also adding "private" to local variable to protect the scope of the variable and reducing error propagation area of the "new" (arma 3 2024/2025) parallel multi task systems
Fastwind changed title from WIP: spam in logs of "Error Undefined variable in expression: _grp" to spam in logs of "Error Undefined variable in expression: _grp" 2026-07-02 14:41:16 +00:00
Author
Collaborator

As in reference to the private messages, merging for production testing, at worst rolling back

As in reference to the private messages, merging for production testing, at worst rolling back
Fastwind merged commit f12355f581 into master 2026-07-02 14:43:26 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: REDCODE/CTI34-KPLIB-Ruha#1