quetoo icon indicating copy to clipboard operation
quetoo copied to clipboard

Team arena breaks in warmup

Open kaadmy opened this issue 7 years ago • 2 comments

Basically the title. Every 10 seconds if there are enough players, the game will restart even in warmup and the red team always wins.

kaadmy avatar Jun 04 '17 03:06 kaadmy

CC @jar3817

jdolan avatar Jul 20 '17 18:07 jdolan

Yea, this code is gross. But there's something wrong happening in G_CheckRoundStart. Basically, some clients are being counted as on the red team when they are spectators:

image

You can see this client (it's actually a bot) has a classname of "spectator" yet they are also on team red. Not sure how this is happening, but I think this is the bug. Once both players actually join teams, the rounds work as expected -- altho I will say the user experience is pretty poor. The round ends instantly and unceremoniously when the last player is left standing, and all players are immediately thrown back into warmup. It'd be a lot better if there were an inter-round intermission that didn't disrupt everyone's view. There's no chance to reflect on the winning kill.

jdolan avatar Feb 01 '22 23:02 jdolan