Page 1 of 2

Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Mon Feb 09, 2015 10:32 pm
by l2draco
Hello, I'm here to report a bug that is having duplication of items, I will say it is done more or less, I hope some developer help find the solution, I use the latest revision of freya l2jserver and the bug happens, tested in revisions high five and also this happening ...

Come on, create the account on the website or in self create, depends on the server at the time of log you enter your login eg test and logs to the part start at the other box you log the same login but puts an accent on case would be: tést, so you will stay in this part in the two acc box:


http://i38.servimg.com/u/f38/16/36/44/65/adsa11.jpg


did this come on in one of these accounts I give'll start light and I click on taregas manager to suspend (I use taregas manager system explorer) with this box suspended I click login at the other and deposit the item in the wharehouse, I restart , relogin and then again to the part start and I start and suspend this box, shot the suspension of the first and it will usually already login with the item, deposit in wharehouse and do the same thing and will thus doubling on, appears some errors in gameserver like this:

Please help a developer to find a solution, even if a server does not use a sharp system, players can put a strong system and log ...

Bug tested in L2Ouro, L2Draco, L2Ghoul, L2Ahura, and some others...

2015.02.09 16:15:17,515 WARNING 289 com.l2js.gameserver.model.L2World [L2World] object: Adena(57)[268827753] already exist in OID map!
2015.02.09 16:15:17,515 INFO 289 com.l2js.gameserver.model.L2World java.lang.Thread.getStackTrace(Unknown Source)
com.l2js.gameserver.model.L2World.storeObject(L2World.java:123)
com.l2js.gameserver.model.itemcontainer.Inventory.restore(Inventory.java:1564)
com.l2js.gameserver.model.itemcontainer.PcInventory.restore(PcInventory.java:664)
com.l2js.gameserver.model.actor.instance.L2PcInstance.restore(L2PcInstance.java:7964)
com.l2js.gameserver.model.actor.instance.L2PcInstance.load(L2PcInstance.java:1101)
com.l2js.gameserver.network.L2GameClient.loadCharFromDisk(L2GameClient.java:566)
com.l2js.gameserver.network.clientpackets.CharacterSelect.runImpl(CharacterSelect.java:100)
com.l2js.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:62)
com.l2js.gameserver.network.L2GameClient.run(L2GameClient.java:1004)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

2015.02.09 16:15:17,515 WARNING 289 com.l2js.gameserver.model.L2World [L2World] object: Soulshot: A-grade(1466)[268827813] already exist in OID map!
2015.02.09 16:15:17,515 INFO 289 com.l2js.gameserver.model.L2World java.lang.Thread.getStackTrace(Unknown Source)
com.l2js.gameserver.model.L2World.storeObject(L2World.java:123)
com.l2js.gameserver.model.itemcontainer.Inventory.restore(Inventory.java:1564)
com.l2js.gameserver.model.itemcontainer.PcInventory.restore(PcInventory.java:664)
com.l2js.gameserver.model.actor.instance.L2PcInstance.restore(L2PcInstance.java:7964)
com.l2js.gameserver.model.actor.instance.L2PcInstance.load(L2PcInstance.java:1101)
com.l2js.gameserver.network.L2GameClient.loadCharFromDisk(L2GameClient.java:566)
com.l2js.gameserver.network.clientpackets.CharacterSelect.runImpl(CharacterSelect.java:100)
com.l2js.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:62)
com.l2js.gameserver.network.L2GameClient.run(L2GameClient.java:1004)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

2015.02.09 16:15:17,515 WARNING 289 com.l2js.gameserver.model.L2World [L2World] object: Majestic Circlet(2419)[268827815] already exist in OID map!
2015.02.09 16:15:17,515 INFO 289 com.l2js.gameserver.model.L2World java.lang.Thread.getStackTrace(Unknown Source)
com.l2js.gameserver.model.L2World.storeObject(L2World.java:123)
com.l2js.gameserver.model.itemcontainer.Inventory.restore(Inventory.java:1564)
com.l2js.gameserver.model.itemcontainer.PcInventory.restore(PcInventory.java:664)
com.l2js.gameserver.model.actor.instance.L2PcInstance.restore(L2PcInstance.java:7964)
com.l2js.gameserver.model.actor.instance.L2PcInstance.load(L2PcInstance.java:1101)
com.l2js.gameserver.network.L2GameClient.loadCharFromDisk(L2GameClient.java:566)
com.l2js.gameserver.network.clientpackets.CharacterSelect.runImpl(CharacterSelect.java:100)
com.l2js.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:62)
com.l2js.gameserver.network.L2GameClient.run(L2GameClient.java:1004)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

2015.02.09 16:15:17,515 WARNING 289 com.l2js.gameserver.model.L2World [L2World] object: Kamael Village Teleportation Scroll(12753)[268827790] already exist in OID map!
2015.02.09 16:15:17,515 INFO 289 com.l2js.gameserver.model.L2World java.lang.Thread.getStackTrace(Unknown Source)
com.l2js.gameserver.model.L2World.storeObject(L2World.java:123)
com.l2js.gameserver.model.itemcontainer.Inventory.restore(Inventory.java:1564)
com.l2js.gameserver.model.itemcontainer.PcInventory.restore(PcInventory.java:664)
com.l2js.gameserver.model.actor.instance.L2PcInstance.restore(L2PcInstance.java:7964)
com.l2js.gameserver.model.actor.instance.L2PcInstance.load(L2PcInstance.java:1101)
com.l2js.gameserver.network.L2GameClient.loadCharFromDisk(L2GameClient.java:566)
com.l2js.gameserver.network.clientpackets.CharacterSelect.runImpl(CharacterSelect.java:100)
com.l2js.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:62)
com.l2js.gameserver.network.L2GameClient.run(L2GameClient.java:1004)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Tue Feb 10, 2015 9:27 pm
by Bencratus

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Thu Feb 12, 2015 9:12 am
by rodrigo

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Thu Feb 12, 2015 1:47 pm
by Heaven
It bug works on last build?)

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Thu Feb 12, 2015 6:38 pm
by rodrigo
Heaven wrote:It bug works on last build?)
I don't know, someone could test?

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Fri Feb 13, 2015 12:01 am
by Zoey76
Fixed by HorridoJoho in [commit]40d1b29619f63cf9dba20442918781f0635bc631[/commit], if you are not using High Five you will have to port whole login server changes, I did it for Freya and it was a pain in the neck.

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Fri Feb 13, 2015 12:09 am
by l2draco
this bug is running on any server, just use a manager of advanced tasks that have the option to suspend (as system explorer) and you managed bugar quietly, the l2jserver team can not make a protection?

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Fri Feb 13, 2015 12:11 am
by l2draco
Zoey76 wrote:Fixed by HorridoJoho in [commit]40d1b29619f63cf9dba20442918781f0635bc631[/commit], if you are not using High Five you will have to port whole login server changes, I did it for Freya and it was a pain in the neck.
zoey, works for freya? use one freya review, or I just get a login server updated freya to place?

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Fri Feb 13, 2015 12:16 am
by Zoey76
You have to manually port it to Freya :|

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Fri Feb 13, 2015 12:20 am
by l2draco
Zoey76 wrote:You have to manually port it to Freya :|
Thanks, I'll try, note: still use the project with java 6, there is not any tutorial or diff upgrading to 7?

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Fri Feb 13, 2015 3:42 am
by Heaven
Zoey76 wrote:Fixed by HorridoJoho in [commit]40d1b29619f63cf9dba20442918781f0635bc631[/commit]
Zoey76 wrote:I did it for Freya and it was a pain in the neck.
You did it for stable(master)?

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Fri Feb 13, 2015 4:09 am
by Zoey76
l2draco wrote:
Zoey76 wrote:You have to manually port it to Freya :|
Thanks, I'll try, note: still use the project with java 6, there is not any tutorial or diff upgrading to 7?
I think I updated Freya to Java 7, but I'm not sure.

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Fri Feb 13, 2015 4:09 am
by Zoey76
Heaven wrote:
Zoey76 wrote:Fixed by HorridoJoho in [commit]40d1b29619f63cf9dba20442918781f0635bc631[/commit]
Zoey76 wrote:I did it for Freya and it was a pain in the neck.
You did it for stable(master)?
HorridoJoho did it for master.

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Fri Feb 13, 2015 4:27 am
by l2draco
Zoey76 wrote:
l2draco wrote:
Zoey76 wrote:You have to manually port it to Freya :|
Thanks, I'll try, note: still use the project with java 6, there is not any tutorial or diff upgrading to 7?
I think I updated Freya to Java 7, but I'm not sure.
Freya stopped in java 6, Hi5 started with java 7, at least in the old svn're so ... (note: I downloaded the latest revision freya) ...

I tested here and I could make it work, thank zoey, however as the code goin to java 7 caught a login java 7 and added the code, I think it's okay login with login from another project or has?

Code running smoothly against duplicate, to try to login with accent you not log: D is taking disconect ... only without accents accounts login usually ...

Re: Bug Duplicate Gracia,Freya and High Five... Help Solution

Posted: Fri Feb 13, 2015 4:43 am
by Zoey76
I'm glad to read that you figure it out, I can update Freya to Java 8, but I can do it on GitHub, you will have checkout the source code from there.