Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2002:
[Freeciv-Dev] Re: rfc: server restart patch
Home

[Freeciv-Dev] Re: rfc: server restart patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: rfc: server restart patch
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Fri, 9 Aug 2002 14:19:04 +0200

On Thu, Aug 08, 2002 at 02:12:50PM +0000, Per I. Mathisen wrote:
> This is a proof of concept patch that demonstrates server hot restart. You
> no longer need to quit and restart the server program in order to load a
> new savegame, create a new game, etc, all you need to do is end the
> current game.
> 
> The behaviour of /quit has been changed. If you are in pregame state, it
> works as it used to. If you are in a game, it will dump you right back to
> pregame, purge all players, and allow you to launch another game.
> 
> It seems to work fine but it is a quick hack job with little testing done.
> 
> TODO
>  - The client no longers shows you the end of game map.
>  - Combine with Mike's authentication patch; connections should not be
>    dropped, only players.

I tested this in combination with the finale_map_display.patch.

After the game has ended, and server restarted, on client reconnect
I get:

chris@max:~> civclient -t trident -P none
1: Unexpected buffers in try_to_connect()
civclient: clinet.c:315: input_from_server: Zusicherung »fd ==
aconnection.sock« nicht erfüllt.
Abgebrochen (core dumped)

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.


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