Jump to content
  • 0

Requestextrytoputenchanttargetitem On Interlude


Question

Posted

what is the packet of RequestExTryToPutEnchantTargetItem on interlude? You know the box that appears when you right click on enchant scroll?

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

Set debug config to true and right click the scroll and check console, you will know the packet.

 

RequestEnchantItem sounds obvious.

Edited by SweeTs
  • 0
Posted (edited)

It's not obviouce cause:

 

http://pastebin.com/H1GmJdBy

 

Where should 

 

activeChar.setActiveEnchantTimestamp(System.currentTimeMillis());

 

go?

 

 

According to H5 it goes on a missing packege named RequestExTryToPutEnchantTargetItem

The client packet on H5 is :


			case 0x4c:
				msg = new RequestExTryToPutEnchantTargetItem();
				break;

also missing from interlude.

 

 

 

Related to enchant protection I did the following 

        //fast auto-enchant cheat check
        if ((activeChar.getActiveEnchantTimestamp() > 0) && (System.currentTimeMillis() - activeChar.getActiveEnchantTimestamp()) < 20000)
        {
            activeChar.setPunishLevel(L2PcInstance.PunishLevel.JAIL, 5);//5 minutes jail
            activeChar.setActiveEnchantItem(null);
            activeChar.sendPacket(EnchantResult.CANCELLED);
            _log.log(Level.WARNING ,"Player: "+activeChar+" used phx for auto enchant.");
            return;
        }
        if ((activeChar.getActiveEnchantTimestamp() > 0))
            activeChar.sendMessage("getActiveEnchantTimestamp() > 0");
        if ((activeChar.getActiveEnchantTimestamp() == 0))
            activeChar.sendMessage("getActiveEnchantTimestamp() = 0");
        if ((activeChar.getActiveEnchantTimestamp() < 0))
            activeChar.sendMessage("getActiveEnchantTimestamp() < 0");

        activeChar.setActiveEnchantTimestamp(System.currentTimeMillis());
        

but each time I enchant one item I get the message getActiveEnchantTimestamp() = 0, why it doesn't keep currentTimeMillis ? What I should do?

Edited by ErHarD
Guest
This topic is now closed to further replies.


  • Posts

    • QR code recognition has been added when logging into Google services that include this request. Instructions have been added to product descriptions; this only works for items that include this information.
    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here  https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here  https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here  https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here  https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..