Hello, plugin author here. Thanks for all the help! The "all on red" bug seems to be related to strange things happening when adding people's skill scores to the team total, and the value ending up as an invalid number as a result. Since the code that determines which team players join is this...
Code:
if (redSkill > blueSkill) // == is handled above
AssignedIndex = BLU;
else
AssignedIndex = RED;
...once either one of the numbers being compared becomes bad, the "if" statement always evaluates false, and players are thereafter always assigned to red.
The difficulty in fixing this is twofold: a) I don't have direct access to the SpA server, and b) it's running on Linux (where debugging is a nightmare). I ran my own server for a while the other day but couldn't reproduce the bug, though I did catch a scramble teams crash. Seems it's dependent on people with their Steam profile or stats in a certain state joining.
Later on today I'll run a Windows server with debugger and see if we can't get enough people together to trigger the issue.
