[Freeciv-Dev] Re: Potential Diplomacy Cheating (was: Freeciv Networking/
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
--On Sunday, 20 August 2000 2:57 PM -0600 Andy Black
<ablack@xxxxxxxxxxxxxx> wrote:
At 2:24 PM +1000 8/12/2000, David Pfitzner wrote:
Incidently I would have thought a two-stage acceptance would be
safer: what if someone adds a clause just _before_ the server
receives your 'accept' packet (and then they quickly accept
themselves).
What about spliting the accept packet into an accept (set accept flag)
packet and a decline (clear accept flag) packet? The client should always
send a decline packet after recieving new clauses.
Or, the server could clear its acceptance flag for all (both?) players
whenever a change is made, then notify the clients of the change. If the
client has to receive the new clause and then send a decline, it seems to
me that there'd be a race condition for the other player to "accept" the
modified treaty without the new clause's being approved by the other player.
--Jed
[Freeciv-Dev] Re: Freeciv Networking/Mac Server patches, David Pfitzner, 2000/08/11
|
|