Sveiki taigi meta duomenu bases error su "vote_end_buff", as irasiau blogai nes turetu kaskaip kitaip buti, pagal errora sprendziu.
sitaip irases i sql "characters".
`vote_end_buff` int(1) DEFAULT '0',
zinau kad netaip reike, bet kaip tai nzn, galit pasakyti prasau jusu. :)
Pats erroras:
com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value for column 'vote_end_buff' at row 1
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4188)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4122)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2818)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2157)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1379)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:378)
at com.l2jfresh.gameserver.model.actor.instance.L2VoteManagerInstance.setBuff(L2VoteManagerInstance.java:175)
at com.l2jfresh.gameserver.model.actor.instance.L2VoteManagerInstance.onBypassFeedback(L2VoteManagerInstance.java:55)
at com.l2jfresh.gameserver.network.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:937)
at com.l2jfresh.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:65)
at com.l2jfresh.gameserver.network.L2GameClient.run(L2GameClient.java:806)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
could not set buff on char:
Data truncation: Out of range value for column 'vote_end_buff' at row
o sitaip source yrasytas:
player.setVoteBuff(rset.getInt("votebuff") == 1 ? true : false);
player.setVoteBuffEndTime(rset.getLong("vote_end_buff"));