diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java index 722fb3b8..5a0f00b2 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java @@ -709,6 +709,9 @@ private void generateConfigIfNotExists(boolean testEnv) throws IOException { newConfig.netty.performance.bossThread = 2; newConfig.netty.performance.workerThread = 8; + newConfig.launcher = new LauncherConf(); + newConfig.launcher.guardType = "no"; + newConfig.threadCoreCount = 0; // on your own newConfig.threadCount = JVMHelper.OPERATING_SYSTEM_MXBEAN.getAvailableProcessors() >= 4 ? JVMHelper.OPERATING_SYSTEM_MXBEAN.getAvailableProcessors() / 2 : JVMHelper.OPERATING_SYSTEM_MXBEAN.getAvailableProcessors(); diff --git a/Launcher/build.gradle b/Launcher/build.gradle index 11fa5a06..12715480 100644 --- a/Launcher/build.gradle +++ b/Launcher/build.gradle @@ -38,6 +38,7 @@ pack project(':LauncherAPI') // Not error on obf. bundle 'com.github.oshi:oshi-core:3.13.0' bundle 'com.jfoenix:jfoenix:8.0.8' + bundle 'de.jensd:fontawesomefx:8.9' pack 'org.ow2.asm:asm-tree:7.1' } diff --git a/Launcher/runtime/engine/api.js b/Launcher/runtime/engine/api.js index b29fc735..603fd8b4 100644 --- a/Launcher/runtime/engine/api.js +++ b/Launcher/runtime/engine/api.js @@ -17,7 +17,7 @@ var ServerPinger = ServerPingerClass.static; var Request = RequestClass.static; var RequestType = RequestTypeClass.static; var RequestException = RequestExceptionClass.static; -var PingRequest = PingRequestClass.static; +//var PingRequest = PingRequestClass.static; var AuthRequest = AuthRequestClass.static; var JoinServerRequest = JoinServerRequestClass.static; var CheckServerRequest = CheckServerRequestClass.static;