Максим_Бастваров 0 Опубликовано 25 июля, 2020 Как решить ? [25.07.20 09:35:52:696] ERROR quest.Quest: could not insert char quest: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '268477538-_255_Tutorial-<state>' for key 'PRIMARY' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.Util.getInstance(Util.java:386) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318) at com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:875) at l2.gameserver.model.quest.Quest.updateQuestVarInDb(Quest.java:169) at l2.gameserver.model.quest.Quest.updateQuestInDb(Quest.java:144) at l2.gameserver.model.quest.Quest.newQuestState(Quest.java:606) at l2.gameserver.model.Player.processQuestEvent(Player.java:1276) at l2.gameserver.network.l2.c2s.EnterWorld.loadTutorial(EnterWorld.java:535) at l2.gameserver.network.l2.c2s.EnterWorld.runImpl(EnterWorld.java:292) at l2.gameserver.network.l2.c2s.L2GameClientPacket.run(L2GameClientPacket.java:49) at l2.commons.net.nio.impl.MMOExecutableQueue.run(MMOExecutableQueue.java:38) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) [25.07.20 09:35:57:632] INFO tasks.RestoreOfflineTraders: Restored 0 offline traders [25.07.20 09:36:26:245] ERROR quest.Quest: could not insert char quest: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '268476766-_255_Tutorial-<state>' for key 'PRIMARY' at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.Util.getInstance(Util.java:386) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3597) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318) at com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:875) at l2.gameserver.model.quest.Quest.updateQuestVarInDb(Quest.java:169) at l2.gameserver.model.quest.Quest.updateQuestInDb(Quest.java:144) at l2.gameserver.model.quest.Quest.newQuestState(Quest.java:606) at l2.gameserver.model.Player.processQuestEvent(Player.java:1276) at l2.gameserver.model.Player.levelSet(Player.java:4091) at l2.gameserver.model.Player.addExpAndSp(Player.java:2161) at l2.gameserver.model.Player.addExpAndSp(Player.java:2088) at phantoms.PhantomFactory.create(PhantomFactory.java:66) at phantoms.PhantomLoader.spawnPhantom(PhantomLoader.java:64) at phantoms.PhantomLoader.spawnWave(PhantomLoader.java:85) at phantoms.PhantomLoader.access$200(PhantomLoader.java:33) at phantoms.PhantomLoader$SpawnWaveTask.run(PhantomLoader.java:105) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.runAndReset(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
TOKYO 39 Опубликовано 25 июля, 2020 (изменено) в базе удали дубликат квеста у персонажа , что за сборка? ищи в базе где хранятся квесты персонажей у меня например так примерно characters_quests находишь Duplicate entry '268477538-_255_Tutorial-<state>' с таким ид и удаляешь или если в конфигах менял что то связаное с квестами кроме рейтов откати Изменено 25 июля, 2020 пользователем SUBUTEX Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты