byte[] password = null;
int lenU = p.readInt();
username = p.readString(lenU).trim();
int len = p.readInt();
password = new Hash(p.readBytes(len)).value();
if (world.countPlayers() >= Config.MAX_PLAYERS) {
loginCode = 10;
} else if (clientVersion < Config.SERVER_VERSION) {
loginCode = 4;