Re: how to start a new game without killing the server?

Jason Short <[email protected]>
Newsgroups gmane.games.freeciv.general
Message-ID <[email protected]>
Sam Steingold wrote:
>>* Jason Short <wfubeg=BZ76o2Vi3lYDwHFykFRCTj-Sn5dYDs+udD6nGSXaiLjeg@public.gmane.org> [2003-10-20 10:48:31 -0400]:
>>
>>--On Monday, October 20, 2003 11:45 AM +0200 Christian Knoke 
>><[email protected]> wrote:
>>
>>
>>>On Sun, Oct 19, 2003 at 07:40:11PM -0400, Sam Steingold wrote:
>>>
>>>>After I `end' a game, I cannot start a new new game:
>>>>
>>>>
>>>>>start
>>>>
>>>>Cannot start the game: it is already running.
>>>>
>>>>>end
>>>>
>>>>Cannot end the game: no game running.
>>>>
>>>>do I really need to kill the server?
>>>
>>>Yes, you have to /quit and start again.
>>>
>>>The end command doesn't work correctly ATM.
>>
>>Really?  What is wrong with it?
> 
> come on:

You don't have to /quit and start again.  The /end command works just fine.

>>>>>start
>>>>
>>>>Cannot start the game: it is already running.
>>>>
>>>>>end
>>>>
>>>>Cannot end the game: no game running.
> 
> so, is the game running or not?!

Hmm, this is a bug in the error messages.  There are three states: 
pregame, running, and endgame.

/start moves you from pregame to running.

/end moves you from running to endgame.

You move from endgame to pregame when everyone disconnects.  It was 
suggested that there should be a server command for this as well.

In the meantime I'd suggest that the error message for 'start' be 
changed based on the server state.

jason
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.