Ошибка после обновления

Dimaris

Knight
Customer
После обновления вот такая ошибка
Поставил потом что называется из "коробки" тоже самое
Где эти таблицы брать не понятно
[15.01.25 01:49:07] MonsterRace: Can't load history: Table 'lucera2mp.mr_history' doesn't exist
java.sql.SQLSyntaxErrorException: Table 'lucera2mp.mr_history' doesn't exist
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:112)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:113)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:938)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeQuery(ClientPreparedStatement.java:1004)
at com.mysql.cj.jdbc.PreparedStatementWrapper.executeQuery(PreparedStatementWrapper.java:573)
at l2.gameserver.model.entity.MonsterRace.bv(Unknown Source)
at l2.gameserver.model.entity.MonsterRace.<init>(Unknown Source)
at l2.gameserver.model.entity.MonsterRace.getInstance(Unknown Source)
at l2.gameserver.GameServer.<init>(Unknown Source)
at l2.gameserver.GameServer.main(Unknown Source)
[15.01.25 01:49:07] MonsterRace: loaded 0 records, currently on race #1
[15.01.25 01:49:07] MonsterRace: Can't load bets: Table 'lucera2mp.mr_bets' doesn't exist
java.sql.SQLSyntaxErrorException: Table 'lucera2mp.mr_bets' doesn't exist
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:112)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:113)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:938)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeQuery(ClientPreparedStatement.java:1004)
at com.mysql.cj.jdbc.PreparedStatementWrapper.executeQuery(PreparedStatementWrapper.java:573)
at l2.gameserver.model.entity.MonsterRace.bw(Unknown Source)
at l2.gameserver.model.entity.MonsterRace.<init>(Unknown Source)
at l2.gameserver.model.entity.MonsterRace.getInstance(Unknown Source)
at l2.gameserver.GameServer.<init>(Unknown Source)
at l2.gameserver.GameServer.main(Unknown Source)
 
CREATE TABLE IF NOT EXISTS `mr_bets` (
`lane_id` INT(1) DEFAULT 0,
`bet` INT DEFAULT 0,
PRIMARY KEY (`lane_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

INSERT INTO `mr_bets` VALUES
('1','0'),
('2','0'),
('3','0'),
('4','0'),
('5','0'),
('6','0'),
('7','0'),
('8','0');


CREATE TABLE IF NOT EXISTS `mr_history` (
`race_id` MEDIUMINT DEFAULT 0,
`first` INT(1) DEFAULT 0,
`second` INT(1) DEFAULT 0,
`odd_rate` DOUBLE(10,2) DEFAULT 0,
PRIMARY KEY (`race_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
 
CREATE TABLE IF NOT EXISTS `mr_bets` (
`lane_id` INT(1) DEFAULT 0,
`bet` INT DEFAULT 0,
PRIMARY KEY (`lane_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

INSERT INTO `mr_bets` VALUES
('1','0'),
('2','0'),
('3','0'),
('4','0'),
('5','0'),
('6','0'),
('7','0'),
('8','0');


CREATE TABLE IF NOT EXISTS `mr_history` (
`race_id` MEDIUMINT DEFAULT 0,
`first` INT(1) DEFAULT 0,
`second` INT(1) DEFAULT 0,
`odd_rate` DOUBLE(10,2) DEFAULT 0,
PRIMARY KEY (`race_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Следует вот такая ошибка теперь :)


[11:02:04] ERROR Error in writer of MonRaceInfo$ClassicWriter
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at l2.gameserver.network.l2.s2c.MonRaceInfo$ClassicWriter.writePacketImpl(Unknown Source)
at l2.gameserver.network.l2.s2c.MonRaceInfo$ClassicWriter.writePacketImpl(Unknown Source)
at l2.gameserver.network.l2.WritablePacket.writePacket(Unknown Source)
at l2.gameserver.network.l2.ProtocolDescriptor$1.write(Unknown Source)
at l2.commons.net.nio.impl.SelectorThread.putPacketIntoWriteBuffer(Unknown Source)
at l2.commons.net.nio.impl.SelectorThread.prepareWriteBuffer(Unknown Source)
at l2.commons.net.nio.impl.SelectorThread.writePacket(Unknown Source)
at l2.commons.net.nio.impl.SelectorThread.run(Unknown Source)
 
Следует вот такая ошибка теперь :)


[11:02:04] ERROR Error in writer of MonRaceInfo$ClassicWriter
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
at l2.gameserver.network.l2.s2c.MonRaceInfo$ClassicWriter.writePacketImpl(Unknown Source)
at l2.gameserver.network.l2.s2c.MonRaceInfo$ClassicWriter.writePacketImpl(Unknown Source)
at l2.gameserver.network.l2.WritablePacket.writePacket(Unknown Source)
at l2.gameserver.network.l2.ProtocolDescriptor$1.write(Unknown Source)
at l2.commons.net.nio.impl.SelectorThread.putPacketIntoWriteBuffer(Unknown Source)
at l2.commons.net.nio.impl.SelectorThread.prepareWriteBuffer(Unknown Source)
at l2.commons.net.nio.impl.SelectorThread.writePacket(Unknown Source)
at l2.commons.net.nio.impl.SelectorThread.run(Unknown Source)
Проверю поправлю сегодня. Спасибо за репорт
 
Back
Top