URL:
  <http://gna.org/bugs/?22561>

                 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

    _______________________________________________________

Details:

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:
sveinung

<http://gna.org/bugs/download.php?file_id=22003>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?22561>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to