Local game with no players crash

Bug #349208 reported by dlh on 2009-03-26
Affects Status Importance Assigned to Milestone
Armagetron Advanced

Bug Description

Found by Durka.

If you go to a local game, and there are no players, the client will crash.

We could do the same thing as we do on the server: just sit there and not start the game until a player enters it, outputting $gamestate_wait_players while we wait.

Or we could turn off spectator mode when this occurs in a Local game.

This bug might affect hybrid games. I did not check.

Related branches

dlh (dlh) wrote :
Manuel Moos (z-man) wrote :

Or just throw in an AI player. Actually, that's what is supposed to happen. (SP_)MIN_TEAMS can't be set to anything less than 1 over the menu.

And of course the actual crash needs fixing :) Is it in eCamera.cpp for you, too, right?

Manuel Moos (z-man) wrote :

I mean, eDisplay.cpp.

Manuel Moos (z-man) wrote :

The crash, at least the one I was seeing, should be fixed now. No further action seems required on 0.2.8. The menus fully work and the user can decide for himself whether he wants to enter the game or add AIs.

dlh (dlh) on 2009-03-28
Changed in armagetronad:
importance: Undecided → High
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers