Auto Announce Error

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
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
LaraCroft
Posts: 360
Joined: Sat Aug 08, 2009 1:37 am

Auto Announce Error

Post by LaraCroft »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4361M
L2JDP Revision Number: 7606M

Hi guys...
I get this error when try to add a second auto announce.

Code: Select all

com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '1' 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:409)	at com.mysql.jdbc.Util.getInstance(Util.java:384)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1041)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3562)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3494)	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1960)	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2114)	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2696)	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2105)	at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1367)	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:989)	at com.l2jserver.gameserver.taskmanager.AutoAnnounceTaskManager.addAutoAnnounce(AutoAnnounceTaskManager.java:112)	at handlers.admincommandhandlers.AdminAnnouncements.useAdminCommand(AdminAnnouncements.java:175)	at com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer.runImpl(RequestBypassToServer.java:116)	at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:93)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
Is this limited to 1 auto announce??

Thxxx
:wink:
!!!knowledge and intelligence must be shared!!!
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Auto Announce Error

Post by janiii »

DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Post Reply