URL:
<http://gna.org/bugs/?21105>
Summary: Action enablers: Client may not be aware that an
action is allowed
Project: Freeciv
Submitted by: sveinung
Submitted on: Thu 05 Sep 2013 12:08:04 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: Any
Planned Release: 2.6.0
_______________________________________________________
Details:
The client know what the player know. The server knows everything. When an
action enabler is evaluated at the client it uses the players knowledge. This
may give a different result than at the server.
This can happen if the actor's owner don't have an embassy at the target and a
requirement about what tech the target has is there.
In patch #4140 the case were the client ask for an illegal action was handled
by sending it a message in stead of silently failing.
There are three possible situations. In the first the client is certain that
an action is legal. In the second it knows that it don't know. In the third it
is certain that an action is illegal.
In the first situation the action should always be shown. In the second
situation the options are to hide the actions to avoid confusing people, show
them but indicate that they may not work or show them as usual. Some players
(that don't trust us) may insist actions should be shown in the third
situation as well.
Ideally there would be a client setting that let the user choose how to handle
it. What the default should be, or even if all clients should have the same
default, is something I'm not sure of.
Work around for rule set authors: Require that the actor has an embassy at the
target if you wish to add (non negated) tech requirements at the target.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21105>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev