Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2000:
[Freeciv-Dev] Re: Diplomacy
Home

[Freeciv-Dev] Re: Diplomacy

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx (Freeciv developers)
Subject: [Freeciv-Dev] Re: Diplomacy
From: Reinier Post <rp@xxxxxxxxxx>
Date: Mon, 27 Nov 2000 17:08:15 +0100

On Mon, Nov 27, 2000 at 02:26:25PM +0100, Michal Przybylski wrote:
> My name is Michal. I decided to contribute freeciv because it is my
> favourite game. I want to start with diplomacy.

Very good news!

> How to distinguish between an ai player and a human who has disconnected?

A player can have 0 or more connections (just 1 in 1.11.4, more in CVS).
A player an be 'human' or 'AI'.  This is an independent setting; AI players
can be observed.

> Let's imagine such a sytuation:
> - client has disconnected
> - I send him a message using function send_* or notify_*
> would anythig wrong happen?
> Should I prevent sytuations like that?

I don't think you need to do anything special.

>               Michal
 
-- 
Reinier Post



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