logger.warn("invalid create character event (client unknown, not logged in or wrong ip-address)");
return;
}
int maxNumberOfCharacters = Configuration.getConfiguration().getInt("limit_characters_per_account", Integer.MAX_VALUE);
if (entry.characterCounter >= maxNumberOfCharacters) {
Result result = Result.FAILED_TOO_MANY;
MessageS2CCreateCharacterNACK msgCreateCharacterNACK = new MessageS2CCreateCharacterNACK(channel, result);
msgCreateCharacterNACK.setClientID(clientid);
msgCreateCharacterNACK.setProtocolVersion(protocolVersion);
netMan.sendMessage(msgCreateCharacterNACK);
return;