Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead. There is no support for other server builds than the official provided by l2jserver.com
Could not insert item 268531593 into DB: Reason: Data truncation: Out of range value adjusted for column 'time' at row 1com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value adjusted for column 'time' at row 1 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3513) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3447) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2554) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1761) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2046) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1964) at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1949) at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105) at net.sf.l2j.gameserver.model.L2ItemInstance.insertIntoDb(L2ItemInstance.java:1501) at net.sf.l2j.gameserver.model.L2ItemInstance.updateDatabase(L2ItemInstance.java:1287) at net.sf.l2j.gameserver.model.itemcontainer.ItemContainer.updateDatabase(ItemContainer.java:585) at net.sf.l2j.gameserver.network.clientpackets.Logout.runImpl(Logout.java:64) at net.sf.l2j.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:76) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
and your error means, that in db the column time can not hold the value you inserted. like if you would like to insert an elephant into a shoe carton ^^
the problem is, that the decimal was created using default values:
M is the total number of digits (the precision) and D is the number of digits after the decimal point (the scale). ... If D is omitted, the default is 0. If M is omitted, the default is 10.
and then in your code, it probably wanted to insert a number with more than 10 digits (the default value of decimal)..
but our time property is in milliseconds, so it has 13 digits! so it cannot be inserted, and is truncated to 10 digits precision. baaaaad..
i have the last rev...and when i log out i lose all the items...any idea on whats going on?
Could not insert item 268504459 into DB: Reason: Unknown column 'time' in 'field
list'
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'time'
in 'field list'
Could not restore inventory : com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorE
ception: Unknown column 'time' in 'field list'
would that be the time_of_use column ??
if so should i delete that...im pretty confused as u can see...