Jump to content
  • 0

Duplicate bug


Question

Posted

Maybe someone have some protection code to fix duplicate bug? because now ppl are using some programs to make fake log in and dup item true warehouse or any npc.

this is code which i get in console when it happen. pls help to fix it interlude client.

[L2World] object: Adena (57) already exists in OID map!
[L2World] object: Book of Rebirth (2822) already exists in OID map!
[L2World] object: Adena (57) already exists in OID map!
[L2World] object: Book of Rebirth (2822) already exists in OID map!
[L2World] object: Adena (57) already exists in OID map!
[L2World] object: Book of Rebirth (2822) already exists in OID map!
[L2World] object: Adena (57) already exists in OID map!
[L2World] object: Book of Rebirth (2822) already exists in OID map!

1 answer to this question

Recommended Posts

  • 0
Posted

Its dual session bug.

And i think u using acis "L2 Gold trance files".

to fix this bug open this file "net\sf\l2j\gameserver\LoginServerThread.java"

find this function "public void addGameServerLogin(String account, L2GameClient client)"

and change with this:

	public void addGameServerLogin(String account, L2GameClient client)
	{
		     L2GameClient savedClient = _accountsInGameServer.get(account);
        if (savedClient != null) {
           if (savedClient.isDetached()) {
               _log.info("Old Client was disconnected: Offline or OfflineMode --> Login Again [Account: " + account + "]");
                _accountsInGameServer.put(account, client);
            } else {
				_log.info("Old Client was online --> Close Old Client Connection [Account: " + account + "]");
                savedClient.closeNow();
               _accountsInGameServer.remove(account);
            }
        } else {
            _log.info("Client was not online --> New Client Connection [Account: " + account + "]");
_accountsInGameServer.put(account, client);
       }
	}

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • whats password from the archivie ?
    • All that shit are false positives of the vanganth cliext, sources are well and who sell it is a big scammer
    • Information Selling a premium Lineage 2 High Five (L2J) project with active development, available by subscription. Includes Git support and access to compiled or full source code. Ideal for serious server owners seeking stability and performance, uniqueness and well-done features.   General Project Specifications: JDK Version: 23 -> 24 Chronicle: HighFive Structure: Core & Datapack merged into a single project Database: MariaDB Database Driver: HicariCP GIT Website: gitlab.com   Features include (but are not limited to):   1. Tournament Single & Party (Check Youtube Video) 2. Faction (Check Youtube Video) 3. Event Engine (Check Youtube Video) 4. Sell Buff System (Check Youtube Video) 5. Start UP System (Check Youtube Video) 6. User Panel 7. Visual - Dress me System 8. Donate Store 9. Automatic Farm System (Check Youtube Video) 10. Captcha (Anti-BOT) (Check Youtube Video) 11. Auction (Check Youtube Video) 12. Vote (API) 13. Admin Real Time Balance (Check Youtube Video) 14. Achievements (Check Youtube Video) 15. Daily Mission (Check Youtube Video) 16. A.I. Bot (Check Youtube Video) 17. Rebirth 18. Daily Reward  19. Skill Tree - Ability System 20. Craft System 21. Twitch Automatic Reward (Check Youtube Video) 22. Quiz Game (Check Youtube Video) 23. Automatic Item Enchant (Check Youtube Video) 24. Secondary Auth Using Google Authenticator (Check Youtube Video) 25. Gm Shop - Gatekeeper - Scheme Buffer   How to get Access (Payment Subscription): To get Access you either pay monthly subscription to GIT for source or Compiled. Project is currently active and has at least 1-2 commit / day.  Clients in both Compiled & Source subscription can request features or any addon in already existing mods inside discord.   Price per Month (Source) in GIT: 250 Eur Price per Month (Compiled) in GIT: 100 Eur   Contact: To get Access or ask further information join discord  https://discord.gg/gKAsAhJNuq      
    • We're officially closing the current season today. While we focus on refining the Essence project, our resources will temporarily shift toward supporting the Classic server.
  • Topics

×
×
  • Create New...