System.err.println(ex.getMessage());
}
GameServer.getInstance().removeActivePlayer(player.getID());
ResponseChat responseChat = new ResponseChat();
responseChat.setMessage("[" + player.getUsername() + "] has logged off.");
responseChat.setType((short) 1);
GameServer.getInstance().addResponseForAllOnlinePlayers(this.getId(), responseChat);
ResponseSeeOnlinePlayers responsePlayers = new ResponseSeeOnlinePlayers();
responsePlayers.setOnlinePlayers(GameServer.getInstance().getActivePlayers());