[Freeciv-Dev] [bug #15487] Can't make player teamless

2010-02-26 Thread pepeto

Follow-up Comment #1, bug #15487 (project freeciv):

The help text is out-of-date. Since versions 2.1.x, all players must have a
team, even if there are alone in them. So the /team command cannot make a
player teamless.

As for check_for_game_over(), I think the "Game ended in victory for Abraham
Lincoln" message should be displayed when the team contains only one player.

Also, is missing an allied victory, as suggested in bug #14278, but it needs
some investigation about why it has been removed.


___

Reply to this item at:

  

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #15487] Can't make player teamless

2010-02-25 Thread Jacob Nevins

URL:
  

 Summary: Can't make player teamless
 Project: Freeciv
Submitted by: jtn
Submitted on: Friday 02/26/10 at 01:57
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 2.2.0
 Discussion Lock: Any
Operating System: None
 Planned Release: 

___

Details:

The server help for the "team" command claims:


Synopsis: team  [team]
[...]
If no team specified, the player is set teamless.


However, it doesn't seem to accept the syntax "team Abraham". Looking at
server/stdinhand.c:team_command() I see no attempt at provision for removing
players from teams.

Given that players are created in single-player teams by default, I think
this means that the "Game ended in victory for Abraham Lincoln" message in
check_for_game_over() can never trigger; it's always "Team victory to Team 0"
even if Team 0 has only one player. (Unless it can be done via scenarios, I
haven't checked.)




___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev