Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] Re: (PR#6501) tririeme on "auto-attack"?
Home

[Freeciv-Dev] Re: (PR#6501) tririeme on "auto-attack"?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6501) tririeme on "auto-attack"?
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Tue, 21 Oct 2003 23:38:20 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Tue, Oct 14, 2003 at 04:11:27AM -0700, Jason Short wrote:
> >  But I suspect 
> > you sent a packet too late, trireme has moved by the time the packet was 
> > processed and as a result it got misinterpreted.
> 
> Yes.  I sent the packet before the trireme was moved (at least, before 
> the client knew about it), 

> but naturally the server didn't start reading such packets until the
> next turn started.

Correct. There is no way that a client can interject a packet if the
server does end-of-turn.

> I believe this is a bug.  Certainly we should not get such odd behavior 
> in this case.  Probably the erronous packet should be detected and 
> discarded. 

> Most likely we should audit the server to do sanity-checking on all
> received packets.

We already do this in all places and with a lot of detail.

I however have also no idea what caused the error.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "#!/usr/bin/perl -w
  if ( `date +%w` != 1 ) {
    die "This script only works on Mondays." ;
  }"
    -- from chkars.pl by Cornelius Krasel in de.comp.os.linux.misc



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