Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] Re: Why can I not "take" another playerwithout reconnectin
Home

[Freeciv-Dev] Re: Why can I not "take" another playerwithout reconnectin

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Cc: Freeciv Development List <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Why can I not "take" another playerwithout reconnecting?
From: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 13 Jul 2003 22:55:15 -0500

On Sun, Jul 13, 2003 at 09:33:42PM +0100, Gregory Berkolaiko wrote:
> The new pre-auth code has made switching between AI players unnecessarily 
> complicated.  Now I've got to:
> 1. Disconnect.
> 2. Reconnect.
> 3. Take the player.
> 4. toggle the player back to AI
> 
> This sucks.  Maybe there is a better way of doing it?  If there isn't, 
> there should be.  Suggestions:
> either have /observe command 
> or have /takeai command which doesn't toggle ai.

here's a patch which allows a player to take another player during a
running game without disconnecting first. The latter player cannot have any
previous connections (this will change later, but will do for now).

Note: attempting this with an old client on a new server will crash it,
hence the capability.

-mike

Attachment: retake_during_game.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]