Page MenuHomeFeedback Tracker

BIS_fnc_EGSpectator shows AI units even though allow AI is set to false
Closed, ResolvedPublic

Description

BIS_fnc_EGSpectator shows AI units in player groups even though AI is disabled (_this select 2 is set to false)

Details

Severity
None
Resolution
Fixed
Reproducibility
Always
Operating System
Windows 7
Category
General
Steps To Reproduce

Simply run the the following mission:
https://drive.google.com/file/d/0B9JJUfoq3VfmejBvdkswbEZHVU0/view?usp=sharing

After 5 seconds BIS_fnc_EGSpectator will activate and as you can see in the trigger on act field, AI is disabled but still visible in the unit tree control on the left.

Additional Information

I have also reports that BIS_fnc_EGSpectator does not show all players during an MP mission sometimes. Probably the listplayers BI function. It's using allUnits and allDead instead of allPlayers???

Event Timeline

Xeno created this task.May 28 2016, 7:55 PM
Xeno added a comment.May 28 2016, 8:01 PM

Forgot to mention, it's in 1.60RC but I guess it's the same in the current DEV version.

Xeno added a comment.May 28 2016, 8:09 PM

A screenshot of a MP mission where players can recruit AI, again, AI not allowed

https://dl.dropboxusercontent.com/u/95560311/107410_20160528193141_1.png

Xeno added a comment.EditedMay 28 2016, 8:11 PM

And as you can see, there are players listed even more than once in the unit list on the left!

The mission uses BI dynamic groups and BI spectating is only used for the admin (as admin spectating)

razazel claimed this task.May 30 2016, 1:46 PM
razazel changed the task status from New to Reviewed.
neokika closed this task as Resolved.Jun 9 2016, 11:53 AM
neokika changed Resolution from Open to Fixed.

Fixed and should hit Dev branch soon. Thank you for the report.

neokika added a comment.EditedJun 9 2016, 11:54 AM

And as you can see, there are players listed even more than once in the unit list on the left!

The mission uses BI dynamic groups and BI spectating is only used for the admin (as admin spectating)

Can you pls provide us with full repro steps? I am unable to reproduce this issue.
Feel free to create a new report. Thanks.

Xeno added a comment.Jun 9 2016, 12:46 PM

I'll try to find a way on how to reproduce it.

It's from a server owner who had just BI spectating on for a while, like written, it's beeing used for admin spectate and only a logged on admin has access to it.

The mission has base respawn, maybe that's the problem?

Xeno added a comment.Jun 9 2016, 2:49 PM

That's what the admin of the server says:

"I do play and when problems with players i open spectate to see whats going on. So opening spectate closing again alot during play."