Resolved CS:GO - TTT - Spec Menu gets stuck on spectators

Status
Not open for further replies.

mom

Famous
=(e)=
Joined
Sep 16, 2018
Messages
470
Bug Reports

What application are you reporting this issue on?

CS:GO

Short description of the problem (255 char limit)

Spec Menu gets stuck on spectators

What server are you reporting this issue on?

TTT

Please describe the issue in as much detail as possible.

When using the spec menu (!spm), it often doesn't cycle through the alive players. I tested it 3 rounds in a row and each time the menu got stuck on a spectator/2 spectators, preventing the menu from working correctly.

What should be happening instead?

The menu shouldn't get stuck on the spectators and you should be able to cycle through every alive player.

Please describe how to replicate the bug in as much detail as possible

After you die, type !spm and start cycling through players. As long as there are spectators on the server, it will get stuck on them.

Any extra info we may need to know

Not sure if preventing spectators from being detected will fix the menu entirely, or if it's even possible. Hopefully it is though!
(This doesn't happen every round btw)
 
Last edited:
Just to add the reason behind this, it currently will get stuck because the specmenu plugin will try to spectate everyone with a role, even if that role is unassigned.
 
I'm investigating a way to filter the "unassigned" people out of the array that stores who can be spectated via the menu, this should fix this bug.
 
I've completely rewritten the code for the client while loop, it's now more readable and should work better now.
 
Status
Not open for further replies.

Latest posts

Back
Top