Skip to content

[Help] Which class handles???

Featured Replies

Hey mates,

When summoner use skill "summon friend" target player gets this table:

 

27d1364a51ba3aecf25e985fa03ea1ae421.png

 

Can someone remind me when player press "OK" which class handless this answer?

Next time do a search in the project. I searched for the string 'wishes to summon you to' and found:

net.sf.l2j.gameserver.handler.skillhandlers.SummonFriend;

  • Author

Next time do a search in the project. I searched for the string 'wishes to summon you to' and found:
net.sf.l2j.gameserver.handler.skillhandlers.SummonFriend;

This class handless only request sending. I need answer handler.

DlgAnswer clientpacket. More specifically for that code, L2PcInstance handles it on teleportAnswer( method.

 

		else if (_messageId == SystemMessageId.S1_WISHES_TO_SUMMON_YOU_FROM_S2_DO_YOU_ACCEPT.getId())
		activeChar.teleportAnswer(_answer, _requesterId);

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.