Чет не компилит помоги разобраться у меня при запуске батника выдает следующее на скрине яву поставил jdk-11.0.16.101Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками Вход или РегистрацияКод:D:\l2j\l2scripts-gve>SET PATH=D:\Program Files\Java\jdk-11.0.16.1\bin D:\l2j\l2scripts-gve>gradlew build Configuration on demand is an incubating feature. > Task :gameserver:compileKotlin w: ATTENTION! This build uses unsafe internal compiler arguments: -XXLanguage:+NewInference -XXLanguage:+SamConversionForKotlinFunctions -XXLanguage:+InlineClasses This mode is not recommended for production use, as no stability/compatibility guarantees are given on compiler or generated code. Use it at your own risk! w: D:\l2j\l2scripts-gve\gameserver\src\main\java\l2s\gameserver\handler\admincommands\impl\AdminScreenString.kt: (20, 34): Unchecked cast: Array<AdminScreenString.Commands> to Array<Enum<*>> w: D:\l2j\l2scripts-gve\gameserver\src\main\java\l2s\gameserver\model\instances\ArtifactInstance.kt: (53, 17): Variable 'delay' is never used w: D:\l2j\l2scripts-gve\gameserver\src\main\java\l2s\gameserver\model\instances\OutpostInstance.kt: (99, 17): Variable 'delay' is never used w: D:\l2j\l2scripts-gve\gameserver\src\main\java\l2s\gameserver\network\authcomm\vertx\AuthServerCommunication.kt: (68, 51): Parameter 'done' is never used, could be renamed to _ w: D:\l2j\l2scripts-gve\gameserver\src\main\java\l2s\gameserver\network\l2\c2s\augmentation\RequestRefine.kt: (82, 21): Name shadowed: augmentationInfo > Task :build Build in build/distributions/server_2023-04-01_22-25-28.zip BUILD SUCCESSFUL in 1m 30s 24 actionable tasks: 12 executed, 12 up-to-date
Второе это надо яву версию подобрать для компила
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
D:\l2j\l2scripts-gve>gradlew clean build --no-build-cache
Configuration on demand is an incubating feature.
> Task :commons:compileKotlin
w: ATTENTION!
This build uses unsafe internal compiler arguments:
-XXLanguage:+NewInference
-XXLanguage:+SamConversionForKotlinFunctions
-XXLanguage:+InlineClasses
This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
> Task :commons:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :authserver:compileKotlin
w: ATTENTION!
This build uses unsafe internal compiler arguments:
-XXLanguage:+NewInference
-XXLanguage:+SamConversionForKotlinFunctions
-XXLanguage:+InlineClasses
This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
w: D:\l2j\l2scripts-gve\authserver\src\main\java\l2s\authserver\network\gamecomm\vertx\GameServerCommunication.kt: (60, 43): Parameter 'done' is never used, could be renamed to _
> Task :gameserver:compileKotlin
w: ATTENTION!
This build uses unsafe internal compiler arguments:
-XXLanguage:+NewInference
-XXLanguage:+SamConversionForKotlinFunctions
-XXLanguage:+InlineClasses
This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
w: Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
C:/Users/123/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.3.50/bf65725d4ae2cf00010d84e945fcbc201f590e11/kotlin-stdlib-jdk8-1.3.50.jar (version 1.3)
C:/Users/123/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.3.50/50ad05ea1c2595fb31b800e76db464d08d599af3/kotlin-stdlib-jdk7-1.3.50.jar (version 1.3)
C:/Users/123/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-reflect/1.4.31/63db9d66c3d20f7b8f66196e7ba86969daae8b8a/kotlin-reflect-1.4.31.jar (version 1.4)
C:/Users/123/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.4.31/a58e0fb9812a6a93ca24b5da75e4b5a0cb89c957/kotlin-stdlib-1.4.31.jar (version 1.4)
C:/Users/123/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.4.31/6dd50665802f54ba9bc3f70ecb20227d1bc81323/kotlin-stdlib-common-1.4.31.jar (version 1.4)
w: Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath
w: D:\l2j\l2scripts-gve\gameserver\src\main\java\l2s\gameserver\handler\admincommands\impl\AdminScreenString.kt: (20, 34): Unchecked cast: Array<AdminScreenString.Commands> to Array<Enum<*>>
w: D:\l2j\l2scripts-gve\gameserver\src\main\java\l2s\gameserver\handler\voicecommands\impl\Costumes.kt: (45, 34): 'toBoolean(): Boolean' is deprecated. Use Kotlin compiler 1.4 to avoid deprecation warning.
w: D:\l2j\l2scripts-gve\gameserver\src\main\java\l2s\gameserver\model\instances\ArtifactInstance.kt: (53, 17): Variable 'delay' is never used
w: D:\l2j\l2scripts-gve\gameserver\src\main\java\l2s\gameserver\model\instances\OutpostInstance.kt: (99, 17): Variable 'delay' is never used
w: D:\l2j\l2scripts-gve\gameserver\src\main\java\l2s\gameserver\network\authcomm\vertx\AuthServerCommunication.kt: (68, 51): Parameter 'done' is never used, could be renamed to _
w: D:\l2j\l2scripts-gve\gameserver\src\main\java\l2s\gameserver\network\l2\c2s\augmentation\RequestRefine.kt: (82, 21): Name shadowed: augmentationInfo
w: D:\l2j\l2scripts-gve\gameserver\src\main\java\l2s\gameserver\punishment\PunishmentService.kt: (191, 39): 'maxBy((T) -> R): T?' is deprecated. Use maxByOrNull instead.
w: D:\l2j\l2scripts-gve\gameserver\src\main\java\l2s\gameserver\time\counter\TimeCounter.kt: (110, 13): Unreachable code
> Task :gameserver:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :scripts:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
> Task :build
Build in build/distributions/server_2025-03-03_13-45-47.zip
BUILD SUCCESSFUL in 1m 28s
30 actionable tasks: 30 executed
Для продолжения нажмите любую клавишу . . .
смотрю чета химичите тут. тоже решил попробовать.Bzda, Win+R -> cmd
Код:cd /d D:\l2j\l2scripts-gve
Код:SET PATH=D:\Soft\Java\11.0.26\bin
Код:gradlew build
Посмотреть вложение 85018
Я в предыдущем сообщении показал лог сборки, не прокатит говорит. Держи в курсетдобавь в переменную яву. не прокатит сет патч
по идеиAge of Splendor клиент надо по идеии., и изменить на 28 протакол по идеии.
64 протокол Helios/Classic 2.0 Saviors, еще в #5 сообщении написанокакой клиент ниД? и де скачать ?
Не как не могу поннять какой нид клиент
gradlew build --stacktraceподскажи в чем проблема?
помогло решение выше )) только через переменную)Я в предыдущем сообщении показал лог сборки, не прокатит говорит. Держи в курсе
по идеи
64 протокол Helios/Classic 2.0 Saviors, еще в #5 сообщении написанокакой клиент ниД? и де скачать ?
Не как не могу поннять какой нид клиент
gradlew --stacktrace
спасибо.добавь в переменную яву. не прокатит сет патч
Посмотреть вложение 85024
w - warning, то есть предупреждениеòbi, Спасибо все заработало! но есть другой вопрос на скрине
где клиент скачал. есть только чистый систем
спс понял64 протакол. не работает кб на серваке а там весь функционал. и нет нпс.
я уже удалил сие поделие с пк, и качать по новой желания не имеюòbi, А не вкурсе по какой причине в игре не работает команда //admin? В GMAccess.xml прописал ID чара.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?