Two-player swaps don't work with full teams in warmup mode

Bug #1040383 reported by Yann Kaiser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Armagetron Advanced
Incomplete
High
Yann Kaiser

Bug Description

To reproduce:

1. Fill two teams with players
2. While in warmup mode, have a player from each team try to swap
3. The second player to set their teamwish will be moved to the other team, then back. This repeats until the player changes their team wish.

Revision history for this message
Matias Pino (pnoexz) wrote :

I couldnt figure this one out by myself, but i found code for swapping in eTeam.cpp:1328.

Revision history for this message
Matias Pino (pnoexz) wrote :

I tried duplicating this using a dedicated server and 3 (lets call them alpha, beta, gamma, respectively) clients but wasnt able to. Using ladle settings, changed max players per team to 1, changed teams from alpha, but when i tried to do it from beta, it automatically switched teams mid round, finishing it. At this time, alpha switches the team, thus finishing the swap correctly. By the time i managed to stop beta from auto joining the team mid round and get both clients to watch to switch, beta's next team was reset to the current team (team red ;)), no messages about switching twice, though it does look like that happens.

Gamma was only used to see if teams were really full, and they were. Nothing relevant on STDOUT, no STDERR.

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

Couldn't reproduce :-( Could use speeding up swapping by doing it midround though.

Changed in armagetronad:
status: New → Incomplete
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.