On Wed, 2010-03-10 at 21:41 +0100, Per Inge Mathisen wrote: > On Wed, Mar 10, 2010 at 9:32 PM, <[email protected]> wrote: > > Only let host set player position/colour > > While I see the technical issue behind this, the solution is not > really satisfactory. Players cannot ask the host to set their colour.
host should acknowledge everything. - client ask for available flags - host give available free flags - client ask host to validate choice. the only difficult one is swap of flags. position of units are ACK for preventing cheat. structure are ACK for % completeness to check cheat. destruction of units are ACK for validation. > (Unsure about position. Might be ok that host does this.) So perhaps > the colour request should be based on player name, which only owner > can change, and remove the host's ability to change the player colour > - to avoid that race condition. two clients should not be able to have ACK on the same resource. _______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
