Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] (PR#2223) cma: server knowledge of island != client knowle
Home

[Freeciv-Dev] (PR#2223) cma: server knowledge of island != client knowle

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: nightmare@xxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#2223) cma: server knowledge of island != client knowledge
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Wed, 8 Jan 2003 10:44:47 -0800
Reply-to: rt@xxxxxxxxxxxxxx

[rfalke - Wed Oct 23 07:43:28 2002]:

The recently committed solution doesn't fix this issue. The reason
is that trade_between_cities uses the map knowledge of two players.
This is bad since the client only has this knowledge for itself.
The attached patch fixes this and also adds a comment.
With the patch this issue is resolved and you get an output of:
  2: Harstad (19) and Tromsø (9) -> 8
  2: Tromsø (9) and Harstad (19) -> 4
indicating that Harstad gets 8 trade from this route and Tromsø 
only 4.

       Raimar

Attachment: final_island_fix1.diff
Description: final_island_fix1.diff


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