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: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] Unit movement
From: iquin@xxxxxxxxxxxxxxxx
Date: Fri, 19 Jan 2001 00:59:38 -0500 (EST)

Ideally, the client should check the validity of a goto
request before sending it to server. Any error message
to the user should be produced by the client.
Of course, a server should double check again upon receive.
If a goto request targets some tile unknown/fogged/ZOCed
to the player, the server should move the unit to the
"closest" tile reachable by the requested unit and
return the unit to ACTIVITY_IDLE. If the unit is making
illegal move, the server should just silently ignore it.
(Not failing assertion as what it does now when a nasty
client try to switch to an invalid government!!!!!).


---------------------------------------------------------
Get free personalized email at http://geocities.iname.com



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