Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7230) patrolling tririemes may sink
Home

[Freeciv-Dev] Re: (PR#7230) patrolling tririemes may sink

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jshort@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7230) patrolling tririemes may sink
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxxx>
Date: Wed, 28 Jan 2004 13:01:11 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7230 >

On Wed, 28 Jan 2004, Jason Short wrote:

> > 4. A suggestion for 2 above: instead of ORDER_FINISH_TURN introduce 
> > ORDER_REFILL_MP.  This will be interpreted at the server at the time of 
> > execution.  Them you just put this order in front for dangerous patrols 
> > witout much checking.
> 
> This adds extra conditional logic to the server.  We already have two
> such pieces of logic: cancelling orders for goto and (vigilant) patrol.

This is a new type of order and it should be used instead of FINISH_TURN
in most cases, because it's more robust, especially in the presence of
move randomness.  It also simplifies your client-side code a lot.  I think
it's a realy smart idea, this order.

G.





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