Modify ↓
Ticket #5986 (new defect)
Opened 3 months ago
Last modified 3 months ago
Subclass Skills stacking
| Reported by: | Mradvanced | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | T2.6 Gracia High_Five |
| Keywords: | Cc: | ||
| DP Revision: | 8662 | L2J Revision: | 5165 |
| Geodata: | 0 |
Description
Subclass Skills are Stacking When Changing Subclass at the Priest.
ive Tried Changing some code in l2pcinstance.java file. but nothing seems to be working.
im getting many errors in console:
Error could not store char skills: Duplicate entry '269044525-842-0' for key 'PR
IMARY'
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Dupl
icate entry '269044525-842-0' for key 'PRIMARY'
at sun.reflect.GeneratedConstructorAccessor102.newInstance(Unknown Sourc
e)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
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:3609)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2002)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2163)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2624)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.ja
va:2127)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1362)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPr
eparedStatement.java:989)
at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.storeSkill
(L2PcInstance.java:8345)
at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.addSkill(L
2PcInstance.java:8230)
at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.giveAvaila
bleSkills(L2PcInstance.java:2937)
at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.rewardSkil
ls(L2PcInstance.java:2849)
at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.setClassId
(L2PcInstance.java:2663)
at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.restore(L2
PcInstance.java:7518)
at com.l2jserver.gameserver.model.actor.instance.L2PcInstance.load(L2PcI
nstance.java:1249)
at com.l2jserver.gameserver.network.L2GameClient.loadCharFromDisk(L2Game
Client.java:587)
at com.l2jserver.gameserver.network.clientpackets.CharacterSelect.runImp
l(CharacterSelect.java:115)
at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run
(L2GameClientPacket.java:62)
at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1
095)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Its Really Bugging me and it Needs to be fixed. Any Solution?
Attachments
Change History
comment:1 Changed 3 months ago by anonymous
Note: See
TracTickets for help on using
tickets.

Would anyone be able to help please?