/targetnext

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
vampir
Posts: 113
Joined: Sun Mar 28, 2010 6:17 pm

/targetnext

Post by vampir »

Hello

Have you got any info, how is /targetnext handled? I am trying to figure out how it chooses which character might be reached by /targetnext and which char can not. Can you help me with that?
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: /targetnext

Post by Zoey76 »

I think server sends info (list of players and npcs) to the client and client handle next target and send MyTargetSelected packet.

Probably you can't manage it server side.

On the other hand you could create .nexttarget :D
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
lion
L2j Veteran
L2j Veteran
Posts: 967
Joined: Sun Mar 11, 2007 7:49 pm
Location: Ukraine

Re: /targetnext

Post by lion »

if im not wrong client choose target by RelationChanged packet
vampir
Posts: 113
Joined: Sun Mar 28, 2010 6:17 pm

Re: /targetnext

Post by vampir »

lion wrote:if im not wrong client choose target by RelationChanged packet
True, thx for help
Post Reply