spam in logs of "Error Undefined variable in expression: _grp" #1
Reference in New Issue
Block a user
Delete Branch "fix/patrol-spawn"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
So this is going to change the spam of errors of missing variable into a spam of "patrol group doesn't contain soldiers"?
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
WIP: spam in logs of "Error Undefined variable in expression: _grp"to spam in logs of "Error Undefined variable in expression: _grp"As in reference to the private messages, merging for production testing, at worst rolling back