Editing "Next Target"

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
User avatar
r0x
Posts: 168
Joined: Sun Jul 26, 2009 10:13 pm
Location: Brazil

Editing "Next Target"

Post by r0x »

To prevent some macros. I wonder where I can edit the button "next target"?

Thanks
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: Editing "Next Target"

Post by Zoey76 »

r0x wrote:To prevent some macros. I wonder where I can edit the button "next target"?

Thanks
I think server sends known list to client and client does the "next target" change and inform server sending a client packet to the server.

Short answer: no.
Powered by Eclipse 4.34 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
r0x
Posts: 168
Joined: Sun Jul 26, 2009 10:13 pm
Location: Brazil

Re: Editing "Next Target"

Post by r0x »

Zoey76 wrote: I think server sends known list to client and client does the "next target" change and inform server sending a client packet to the server.

Short answer: no.
This is good! :D
I want to edit the "next target" to only work for players.

Then I could change the list that the server sends and send only the players, ignoring the npcs.

I just haven't found where to modify it.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Editing "Next Target"

Post by jurchiks »

What? You want to hide all monsters from the player? Knownlist tells the client which objects to display if they are within certain range; if you remove the NPCs from that list, they'll never be shown, while they will still be able to attack the players (correct me if I'm wrong somewhere).
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: Editing "Next Target"

Post by MELERIX »

I guess you can't modify "Next Target" feature, because is handled by client.
User avatar
r0x
Posts: 168
Joined: Sun Jul 26, 2009 10:13 pm
Location: Brazil

Re: Editing "Next Target"

Post by r0x »

I want to hide the monsters just for the button "Next Target".

Just wonder if it is possible and where I can change that.

The reason is because of bots, I use a protection REMOVED and many players use macros, next target and cpreload to create bots.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Editing "Next Target"

Post by UnAfraid »

It must be possible i remember in L2OFF vs L2J we had differences with Next Target i'll check later which packet handles it..
Image
User avatar
r0x
Posts: 168
Joined: Sun Jul 26, 2009 10:13 pm
Location: Brazil

Re: Editing "Next Target"

Post by r0x »

UnAfraid wrote:It must be possible i remember in L2OFF vs L2J we had differences with Next Target i'll check later which packet handles it..
Thank you very much!
Post Reply