Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: [PATCH] Unit movement
Home

[Freeciv-Dev] Re: [PATCH] Unit movement

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Reinier Post <rp@xxxxxxxxxx>
Cc: Freeciv developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [PATCH] Unit movement
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 Jan 2001 19:33:12 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxxxx

On Tue, Jan 16, 2001 at 04:49:32PM +0100, Reinier Post wrote:
> On Tue, Jan 16, 2001 at 02:59:54PM +0100, Raimar Falke wrote:
> 
> >    sort_units(); /* to let explorer move before other units */
> >    for_each_unit
> >    {
> >       while(current_unit_can_move())
> >       {
> >          think_about_best_direction(); /* could use dry_run */
> >          result=move();
> >          /* if dry_run was used before if should succeed */
> 
> This is *false*.  There is no way to make dry_run reliable,
> unless it blocks all activity on the server that could possibly
> affect this situation.
> 
> Same remark: you have no way of knowing.  On a fast network the best you
> can have is a high probablility.

Agreed.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Life is too short for reboots."



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