Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2001:
[Freeciv-Dev] Re: end of the game is rude (disconnection) - wishlist (PR
Home

[Freeciv-Dev] Re: end of the game is rude (disconnection) - wishlist (PR

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: end of the game is rude (disconnection) - wishlist (PR#816)
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Mon, 25 Jun 2001 11:06:35 -0700 (PDT)

On Mon, 25 Jun 2001, Paul Zastoupil wrote:

> On Sun, Jun 24, 2001 at 08:21:00PM -0700, xavier@xxxxxxxxxxxxxxxxxxxxxx wrote:
> > Full_Name: xavier renaut
> > Version: 1.11-5 (cvs)
> > Distribution: Built from source
> > Client: Gtk+
> > OS: debian
> > Submission from: (NULL) (207.253.208.225)
> > 
> > 
> > When you fight against AI's, on your machine localhost,
> > the end of the game is a bit rude.
> > It disconnect, without the possibility to look 
> > at the revealed map. It then prompts for a new connection.

The problem is this: AIs flood the client with packets which the client
takes forever to process. After that the server declares endgame and
floods the client a bit more with the entire map. The client is so bogged
down with the massive amount of packets that need processing that when the
server sends the ping packet the client doesn't reply in time and gets
disconnected. You can set the timeout value (in the tcptimeout variable
IIRC) to a higher level to reduce this problem. I'm thinking of a
different solution but i can't comment on it yet.

> > The messages in the server prompt are : 
> > 2: cut connection xavier from albert (player Liu Bang) due to ping timeout
> > > 
> > 2: Lost connection: xavier from albert (player Liu Bang).
> > 
> > I don't know if it's related.
> > 
> 
> This looks like a problem of sending the whole map flooding the network
> connection and then not getting a ping back.  This should be fixed in CVS,
> which you are clearly using because 1.11.4 didn't ping.  Can you provide
> more information regarding the game you were playing?  (e.g. map size,
> a save game, network information etc.)

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa






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