Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: (PR#2278) Ping version 13
Home

[Freeciv-Dev] Re: (PR#2278) Ping version 13

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2278) Ping version 13
From: "Thomas Strub via RT" <rt@xxxxxxxxxxxxxx>
Date: Sun, 10 Nov 2002 08:20:45 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Sun, Nov 10, 2002 at 03:05:17AM -0800, Raimar Falke via RT wrote:
> On Sat, Nov 09, 2002 at 01:11:23PM -0800, Thomas Strub via RT wrote:
> > On Sat, Nov 09, 2002 at 04:43:17AM -0800, Raimar Falke via RT wrote:
> > > On Sat, Nov 09, 2002 at 02:44:55AM -0800, Raimar Falke via RT wrote:
> > > > 
> > > > 
> > > > This is an updated version of the ping patch from Thomas. Changes:
> > > >  - cleanup of the packets
> > > >  - remove the timing.[ch] changes
> > > >  - adding the pingtime server option
> > > >  - a lot of other cleanups
> > > 
> > > Version 12:
> > >  - proper initialization of ping_time
> > >  - check for ping_time==-1
> > >  - send the ping_info packet only every game.ping_time seconds
> > >  - move ping_text construction into plrdlg_common
> > 
> > It needs much time until the first ping information is sent to the
> > client.
> 
> The client is pinged after the connection is accepted. But the sending
> of all the ping information may take up to game.pingtime seconds.
> 
> > after a:
> > 1: tried to stop already stopped timer
> > The pings don't update.
> > Happened after playing with 3 connections (+ 27) dropping one player and
> > joining as the AI ...
> > 
> > After changing the pingtime to another value -> -2147483.-64
> 
> It now handles the case correct where multiple pings are outstanding.

Pingtime -2147483.-64 + cutting the player with outstanding ping (1 ping
which wasn't answered was enough to be cut.)

After that the pings aren't updated.

Thomas



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