Summary: Knowledge the player may not now is used to find out
if a move triggers an action
                 Project: Freeciv
            Submitted by: sveinung
            Submitted on: Tue 02 Sep 2014 07:44:40 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: sveinung
        Originator Email: 
             Open/Closed: Open
                 Release: TRUNK
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.6.0



The server side function unit_move_handling() figures out if a move triggers a
spy action. If it triggers a spy action the client is notified. This is done
using full server side knowledge. A spy action may be enabled by a rule that
depends on knowledge the player don't have. If all actions are illegal based
on knowledge the player don't have no offer to select an action will be given
even if the player don't know that no action is possible.

Attached patch starts using local knowledge in stead.


File Attachments:

Date: Tue 02 Sep 2014 07:44:41 PM UTC  Name:
Stop-using-data-the-player-may-not-have-to-see-if-a-.patch  Size: 3kB   By:



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to