• Новые темы в этом разделе публикуются автоматически при добавлении файла в менеджер ресурсов.
    Ручное создание новых тем невозможно.
Иконка ресурса

L2Scripts — GVE 2023-04-01

Нет прав для скачивания
Код:
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
Чет не компилит помоги разобраться у меня при запуске батника выдает следующее на скрине яву поставил jdk-11.0.16.101
 

Вложения

  • Untitled.webp
    Untitled.webp
    23,7 КБ · Просмотры: 55

Оверпостинг
public static final String PROJECT_REVISION = "L2s [21963]";
public static final String UPDATE_NAME = "Classic 1.5";

Age of Splendor клиент надо по идеии., и изменить на 28 протакол по идеии.

Второе это надо яву версию подобрать для компила
 
Последнее редактирование:
Второе это надо яву версию подобрать для компила
Код:
    configure<JavaPluginConvention> {
        sourceCompatibility = JavaVersion.VERSION_11
        targetCompatibility = JavaVersion.VERSION_11
    }

По поводу ошибки "Could not find":
ищем /l2scripts-gve/gameserver/build.gradle.kts и в нем 0.14.1 меняем на 0.17.10
ищем /l2scripts-gve/build.gradle.kts и в нем 1.3.40 меняем на 1.3.50

Код:
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
добавь в переменную яву. не прокатит сет патч
1741000068918.webp
 
тдобавь в переменную яву. не прокатит сет патч
Я в предыдущем сообщении показал лог сборки, не прокатит говорит. Держи в курсе :Wahaha:
Age of Splendor клиент надо по идеии., и изменить на 28 протакол по идеии.
по идеи

подскажи в чем проблема?
gradlew build --stacktrace
 
Последнее редактирование:
Я в предыдущем сообщении показал лог сборки, не прокатит говорит. Держи в курсе :Wahaha:

по идеи


gradlew --stacktrace
помогло решение выше )) только через переменную)

добавь в переменную яву. не прокатит сет патч
Посмотреть вложение 85024
спасибо.
 
1741000687665.webp
спасибо за подсказки. а то давно хотел посмотреть но не мог найти решение!
 
òbiòbi верифицированный пользователь., Спасибо все заработало! но есть другой вопрос на скрине
w - warning, то есть предупреждение
is never used - переменная была объявлена, но не используется
deprecated - метод помечен как устаревший, и будет удален в одной из следующих версиях
 
  • Мне нравится
Реакции: Bzda
64 протакол. не работает кб на серваке а там весь функционал. и нет нпс.
 
потому что тут клиент свой кастомизированный. не пашет многое в серваке еще. это мусор один слово.
 
Назад
Сверху