L2JMobius

Public Development => Bug Reports => Topic started by: l2day on October 14, 2024, 12:41:55 PM

Title: Problems running the login server
Post by: l2day on October 14, 2024, 12:41:55 PM
Code: [Select]
[14/10 18:34:34] -------------------------------------------------=[ Scripts ]
[14/10 18:34:34] AirShipManager: Loaded 0 private airships
[14/10 18:34:34] Seed of Destruction Manager: Loaded. Current stage is: 1
[14/10 18:34:34] Seed of Infinity Manager: Loaded. Current stage is: 1
[14/10 18:34:34] Loading server scripts...
[14/10 18:34:36] Loading Handlers...
[14/10 18:34:37] ActionHandler: Loaded 10 handlers.
[14/10 18:34:37] ActionShiftHandler: Loaded 6 handlers.
[14/10 18:34:37] AdminCommandHandler: Loaded 443 handlers.
[14/10 18:34:37] BypassHandler: Loaded 47 handlers.
[14/10 18:34:37] ChatHandler: Loaded 14 handlers.
[14/10 18:34:37] CommunityBoardHandler: Loaded 24 handlers.
[14/10 18:34:37] ItemHandler: Loaded 30 handlers.
[14/10 18:34:37] PunishmentHandler: Loaded 3 handlers.
[14/10 18:34:37] UserCommandHandler: Loaded 17 handlers.
[14/10 18:34:37] VoicedCommandHandler: Loaded 7 handlers.
[14/10 18:34:37] TargetHandler: Loaded 34 handlers.
[14/10 18:34:37] Handlers Loaded...
[14/10 18:34:41] Failed to execute script list!
java.lang.NullPointerException: Cannot invoke "javax.tools.JavaFileObject.getName()" because the return value of "javax.tools.Diagnostic.getSource()" is null
at org.l2jmobius.gameserver.scripting.java.JavaExecutionContext.executeScripts(JavaExecutionContext.java:166)
at org.l2jmobius.gameserver.scripting.ScriptEngineManager.executeScriptList(ScriptEngineManager.java:178)
at org.l2jmobius.gameserver.GameServer.<init>(GameServer.java:352)
at org.l2jmobius.gameserver.GameServer.main(GameServer.java:508)
[14/10 18:34:41] SpawnTable: Initializing spawns...
[14/10 18:34:42] SpawnTable: 41401 spawns have been initialized!
[14/10 18:34:42] DayNightSpawnManager: Removed 0 night creatures
[14/10 18:34:43] DayNightSpawnManager: Spawned 232 day creatures
[14/10 18:34:43] FourSepulchersManager: loaded 20 Mysterious-Box spawns.
[14/10 18:34:43] FourSepulchersManager: loaded 716 Physical type monsters spawns.
[14/10 18:34:43] FourSepulchersManager: loaded 716 Magical type monsters spawns.
[14/10 18:34:43] FourSepulchersManager: loaded 92 Church of duke monsters spawns.
[14/10 18:34:43] FourSepulchersManager: loaded 68 Emperor's grave NPC spawns.
[14/10 18:34:43] FourSepulchersManager: spawned Conquerors' Sepulcher Manager
[14/10 18:34:43] FourSepulchersManager: spawned Emperors' Sepulcher Manager
[14/10 18:34:43] FourSepulchersManager: spawned Great Sages' Sepulcher Manager
[14/10 18:34:43] FourSepulchersManager: spawned Judges' Sepulcher Manager
[14/10 18:34:43] FourSepulchersManager: Beginning in Attack time
[14/10 18:34:43] DimensionalRiftManager: Loaded 7 room types with 56 rooms.
[14/10 18:34:43] DimensionalRiftManager: Loaded 462 dimensional rift spawns, 0 errors.
[14/10 18:34:43] RaidBossSpawnManager: Loaded 176 Instances
[14/10 18:34:43] RaidBossSpawnManager: Scheduled 9 Instances

Unknown script Java error
All NPCs are not working.
Title: Re: Problems running the login server
Post by: shifu on October 14, 2024, 12:54:15 PM
What java version?... Provide at least minimal information.
Title: Re: Problems running the login server
Post by: l2day on October 14, 2024, 01:01:40 PM
What java version?... Provide at least minimal information.

openjdk version "21.0.2" 2024-01-16 LTS
OpenJDK Runtime Environment (build 21.0.2+14-LTS)
OpenJDK 64-Bit Server VM (build 21.0.2+14-LTS, mixed mode, sharing)

The files in scripts don't seem to be working as they are. Some of the features are all used that are not in scripts, and the ones attached to scripts seem to be not working now.
Title: Help me)
Post by: l2day on October 15, 2024, 04:52:20 PM
Does anyone know a solution to the problem?

Title: Re: Problems running the login server
Post by: shifu on October 15, 2024, 05:46:42 PM
Try compiling the new actual build again, on the Eclipse-java-2024-06-R-win32-x86_64
Title: Re: Problems running the login server
Post by: l2day on October 15, 2024, 05:51:00 PM
Try compiling the new actual build again, on the Eclipse-java-2024-06-R-win32-x86_64

How do I run the compiler?

https://ibb.co/ts3HgpB
Title: Re: Problems running the login server
Post by: l2day on October 16, 2024, 01:36:06 AM
How do I run the compiler?

https://ibb.co/ts3HgpB

Code: [Select]
Buildfile: C:\l2server\L2J_HighFive\build.xml
checkRequirements:
init:
   [delete] Deleting directory C:\l2server\build\bin
    [mkdir] Created dir: C:\l2server\build\bin
compile:
    [javac] Compiling 1853 source files to C:\l2server\build\bin
    [javac] C:\l2server\L2J_HighFive\java\org\l2jmobius\gameserver\model\conditions\원본\ConditionPlayerCanSummon.java:31: error: duplicate class: org.l2jmobius.gameserver.model.conditions.ConditionPlayerCanSummon
    [javac] public class ConditionPlayerCanSummon extends Condition
    [javac]        ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 error

BUILD FAILED
C:\l2server\L2J_HighFive\build.xml:65: Compile failed; see the compiler error output for details.
C:\l2server\L2J_HighFive\java\org\l2jmobius\gameserver\model\conditions\원본\ConditionPlayerCanSummon.java:31 :
public class ConditionPlayerCanSummon extends Condition
C:\l2server\L2J_HighFive\build.xml:65:
<javac srcdir="${src}" classpathref="classpath" destdir="${build.bin}" compiler="modern" debug="true" debuglevel="lines,vars,source" includeantruntime="false" source="21" target="21" encoding="UTF-8" />

Post-compiler error
Title: Re: Problems running the login server
Post by: shifu on October 16, 2024, 04:54:34 AM
Try compiling this source L2J_Mobius_CT_2.6_HighFive (https://drive.google.com/file/d/1vLoekK6XS7ScOwrX65BctB0_-TSC51mw/view?usp=sharing)
Title: Re: Problems running the login server
Post by: l2day on October 16, 2024, 04:53:02 PM
Try compiling this source L2J_Mobius_CT_2.6_HighFive (https://drive.google.com/file/d/1vLoekK6XS7ScOwrX65BctB0_-TSC51mw/view?usp=sharing)

Code: [Select]
Buildfile: C:\Users\admin\Desktop\L2J_Mobius_CT_2.6_HighFive\build.xml
checkRequirements:
init:
   [delete] Deleting directory C:\Users\admin\Desktop\build\bin
    [mkdir] Created dir: C:\Users\admin\Desktop\build\bin
compile:
    [javac] Compiling 1911 source files to C:\Users\admin\Desktop\build\bin
jar:
      [jar] Building jar: C:\Users\admin\Desktop\build\dist\libs\LoginServer.jar
      [jar] error while reading original manifest in file: C:\Users\admin\Desktop\build\dist\libs\GameServer.jar due to zip END header not found
      [jar] Building jar: C:\Users\admin\Desktop\build\dist\libs\GameServer.jar
      [jar] Building jar: C:\Users\admin\Desktop\build\dist\db_installer\Database_Installer_GS.jar
      [jar] Building jar: C:\Users\admin\Desktop\build\dist\db_installer\Database_Installer_LS.jar
adding-core:
      [zip] Building zip: C:\Users\admin\Desktop\build\L2J_Mobius_CT_2.6_HighFive.zip
adding-datapack:
      [zip] Updating zip: C:\Users\admin\Desktop\build\L2J_Mobius_CT_2.6_HighFive.zip
adding-readme:
      [zip] Updating zip: C:\Users\admin\Desktop\build\L2J_Mobius_CT_2.6_HighFive.zip
cleanup:
   [delete] Deleting directory C:\Users\admin\Desktop\build\dist
BUILD SUCCESSFUL
Total time: 3 minutes 12 seconds

It was compiled after downloading. Should I overwrite this?

shifu Thanks to you, I was able to solve a difficult problem. thank you.

Title: Re: Problems running the login server
Post by: shifu on October 16, 2024, 05:49:31 PM
Do as you see fit. Glad to help!  ;)
Title: Re: Problems running the login server
Post by: l2day on October 21, 2024, 10:14:16 AM
A new problem has arisen.
https://ibb.co/vQMH66s
While working to change everything compiled, an error appears when running LoginServer.vbs.
Title: Re: Problems running the login server
Post by: shifu on October 21, 2024, 10:57:38 AM
A new problem has arisen.
https://ibb.co/vQMH66s
While working to change everything compiled, an error appears when running LoginServer.vbs.
Need to look at the log file and information from the console