L2JMobius
Public Development => General Discussion => Topic started by: ClassicPLS on July 26, 2022, 10:03:02 AM
-
Hi,
I followed directions to run the server. Login server seems to work, but when game server is run something goes wrong :) could someone point to right direction please? thanks
[26/07 09:37:12] -----------------------------------------------=[ IdManager ]
[26/07 09:37:12] IdManager: Could not update characters online status: java.sql.SQLSyntaxErrorException: (conn=317) Table 'l2jmobiusclassic.characters' doesn't exist
[26/07 09:37:12] IdManager: Could not clean up database: java.sql.SQLSyntaxErrorException: (conn=317) Table 'l2jmobiusclassic.account_gsdata' doesn't exist
[26/07 09:37:12] IdManager: Could not clean expired timestamps from database. java.sql.SQLSyntaxErrorException: (conn=317) Table 'l2jmobiusclassic.character_instance_time' doesn't exist
[26/07 09:37:12] IdManager: Could not be initialized properly: (conn=317) Table 'l2jmobiusclassic.characters' doesn't exist
[26/07 09:37:12] IdManager: 102912 id's available.
[26/07 09:37:12] GameServer: Could not read object IDs from database. Please check your configuration.
Exception in thread "main" java.lang.Exception: Could not initialize the ID factory!
at org.l2jmobius.gameserver.GameServer.<init>(GameServer.java:221)
at org.l2jmobius.gameserver.GameServer.main(GameServer.java:501)
Exception in thread "pool-4-thread-2" java.lang.NullPointerException: Cannot enter synchronized block because "org.l2jmobius.gameserver.instancemanager.IdManager._nextFreeId" is null
at org.l2jmobius.gameserver.instancemanager.IdManager.lambda$new$0(IdManager.java:240)
at org.l2jmobius.commons.threads.RunnableWrapper.run(RunnableWrapper.java:35)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
-
Server.ini in configs check your db Info and add correct credentials
-
Thanks for the reply.
Server.ini in config in #Database section has default values:
Driver = org.mariadb.jdbc.Driver
URL = jdbc:mariadb://localhost/l2jmobiusclassic?useUnicode=true&characterEncoding=utf-8&useSSL=false
sorry, probably nooob question :) but should they be different ? like maybe where i extracted compiled files? C:\L2J_Mobius ?
-
did you install db? :D
-
It works!!! :)
I installed DB again and it worked!! Thanks!