new player gets assigned to team red when switching from SP to multiplayer mode

Bug #261469 reported by Yann Kaiser
2
Affects Status Importance Assigned to Milestone
Armagetron Advanced
Fix Committed
Low
Manuel Moos

Bug Description

Steps to reproduce:
1/ Start a dedicated server
2/ Enter it
3/ Wait a round or so
4/ Enter with a new client

Workarounds:
* SP_TEAMS_MAX 2
* Use the default fortress map (same as the previous w/a, technically)

Related branches

Revision history for this message
Yann Kaiser (epsy) wrote :

Marking this as incomplete, i want to see it with my own eyes

Changed in armagetronad:
importance: Undecided → Low
milestone: none → 0.2.8.3
status: New → Incomplete
Revision history for this message
Manuel Moos (z-man) wrote :

Yeah, definitely, more info to reproduce it would be required. Who reported it initially?

Changed in armagetronad:
assignee: nobody → z-man
Revision history for this message
Yann Kaiser (epsy) wrote : Re: [Bug 261469] Re: team red pops up when switching out from SP mode

I think it was either kyle or eddie

Manuel Moos wrote:
> Yeah, definitely, more info to reproduce it would be required. Who
> reported it initially?
>
> ** Changed in: armagetronad
> Assignee: (unassigned) => Manuel Moos (z-man)
>
>

Revision history for this message
Yann Kaiser (epsy) wrote : Re: team red pops up when switching out from SP mode

ah, whoops, it seems it was eddie actually, as confirmed here <https://bugs.launchpad.net/armagetronad/+bug/261469> at 15:01

Revision history for this message
Yann Kaiser (epsy) wrote :

errr, stupid me, that's the wrong paste

http://wrtlprnft.ath.cx/armalogs/log-2008-08-26.txt

Revision history for this message
Manuel Moos (z-man) wrote :

Ah. The bug description was misleading, then. The problem is this:
- Player 1 enters, gets team blue
- AI enters, gets team gold
- time passes
- Player 2 enters, all teams are used, he gets team red if he configured his client to prefer to create new teams
- Arma switches to multiplayer mode
- AI gets removed
- Team blue and red are kept

TEAM_ELIMINATION_MODE 1 also solves the issue, according to the chat, and that makes sense.

It's not really a bug, probably (will think about it for a bit). It may be undesired behavior, but since config items exist to make it go away, and all individual systems behave like they should; it's just the combination that turns out to be not what the admin wants.

A possible solution may be to reset team names on sp/mp transitions, then do team eliminations, then give the teams new names. But then, the teams may shuffle around on the transition (specifically, no matter where you were, you'll be playing for team blue after a mp->sp transition).

Revision history for this message
Manuel Moos (z-man) wrote :

Easiest solution not breaking anything else: the team color selection code now assigns new colors if the color index is bigger than the maximal number of teams.

Manuel Moos (z-man)
Changed in armagetronad:
status: Incomplete → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.