{
Config.initCrypt();
GameServerManager.getInstance();
L2LoginPacketHandler loginPacketHandler = new L2LoginPacketHandler();
SelectorHelper sh = new SelectorHelper();
SelectorConfig sc = new SelectorConfig();
SelectorThread<L2LoginClient> _selectorThread = new SelectorThread<>(sc, loginPacketHandler, sh, sh, sh);
_gameServerListener = GameServerCommunication.getInstance();
_gameServerListener.openServerSocket(Config.GAME_SERVER_LOGIN_HOST.equals("*") ? null : InetAddress.getByName(Config.GAME_SERVER_LOGIN_HOST), Config.GAME_SERVER_LOGIN_PORT);
_gameServerListener.start();
_log.info("Listening for gameservers on " + Config.GAME_SERVER_LOGIN_HOST + ":" + Config.GAME_SERVER_LOGIN_PORT);