When infecting, the following message is displayed in the server console:
CCSPlayer::SwitchTeam( 0 ) - invalid team index.
See teammanager.zrc.inc:ZRCTM_OnClientInfect (and ZRCTM_OnClientHuman)
It's using TLib_GetGameTeamIndex to get a team index that's never initialized
(0). Probably because the team manager is still a work in progress.
How to fix:
Create cvars for setting teams (zrc_team_humans, zrc_team_zombies). Valid
values are (depending on game): ct, t, red and blue. In the ZRC team manager
parse these and set virtual teams.
Original issue reported on code.google.com by richard.helgeby@gmail.com on 9 Dec 2010 at 10:22
Original issue reported on code.google.com by
richard.helgeby@gmail.com
on 9 Dec 2010 at 10:22