courgette/big-brother-bot — Issue #5: implement sync()
Author: courgette
Created: 2011-10-25 22:07:43+00:00
State: open

For all connected players returned by self.getPlayerList(), get the matching Client object from self.clients (with self.clients.getByCID(cid) or similar methods) and look for inconsistencies.

If required call the client.disconnect() method to remove a client from self.clients.

This is mainly useful for games where clients are identified by the slot number they occupy. On map change, a player A on slot 1 can leave making room for player B who connects on slot 1.