Jump to content
  • 0

How to change title color of NPC's ?


Question

9 answers to this question

Recommended Posts

  • 0
Posted

AbstractNpcInfo.java -> \l2jserver\gameserver\network

 

test this lines

 

writeD(0x00); // Title color 0=client default

writeD(0x00); //pvp flag

writeD(0x00); // karma

 

writeD(_npc.getAbnormalEffect()); // C2

writeD(_clanId); //clan id

writeD(_clanCrest); //crest id

writeD(_allyId); // ally id

writeD(_allyCrest); // all crest

writeC(_npc.isFlying() ? 2 : 0); // C2

writeC(0x00); // title color 0=client

  • 0
Posted

AbstractNpcInfo.java -> \l2jserver\gameserver\network

 

test this lines

 

writeD(0x00); // Title color 0=client default

writeD(0x00); //pvp flag

writeD(0x00); // karma

 

writeD(_npc.getAbnormalEffect()); // C2

writeD(_clanId); //clan id

writeD(_clanCrest); //crest id

writeD(_allyId); // ally id

writeD(_allyCrest); // all crest

writeC(_npc.isFlying() ? 2 : 0); // C2

writeC(0x00); // title color 0=client

I want do change title color only for specific npcs... it's client side or server side ?

  • 0
Posted

I want do change title color only for specific npcs... it's client side or server side ?

Then you must create a config where you will place the npc's id and their new color.

Or check the NpcName-e.dat and play with the RGB configs there are 3 colors for each npc try to change them and see what happens.

 

If you dont want to mess with ur system then u will have to do it from core.

  • 0
Posted

npcname-e.dat thing doesn't work.

What exactly did u changed on what?

Did u spawn the right npc?

 

I just want to know that u did it right to be sure about it.

  • 0
Posted

Yes I done it correctly, even tried setting serverside title to 0 on all npcs.

 

9C E8 A9 is the most common value. 9CE8A9 is the green colour. so find+replacing those with other values does not work. Even tried changing reserved from -1 to 0 to 1. still nothing.

  • 0
Posted

Then maybe u should try the core side, although i still have some doubts if its not possible through client modding, ill test it tomorrow too from client side and if it wont work ill try to make a code for custom npc color title with config and share it .. probly :D

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • You can add my discord: splicho
    • I'm looking for a good website developer, etc. I need to create a website from scratch for the Lineage 2 project. send your work and prices
    • OFFICIAL ANNOUNCEMENT – L2 NOOBWARS x BATTLENET  We are proud to officially announce a new chapter for Lineage2 Noobwars. From today, our server is officially powered by BattleNet Gaming Station. This partnership marks an important milestone for our community and represents a major step forward in the evolution of the server. Through this collaboration, we aim to deliver an even more stable, secure, and competitive environment for all players. • Improved infrastructure and server stability • Enhanced protection and security systems • New tools and features for better gameplay • Future events and exciting collaborations Our mission remains the same: to provide the best possible Lineage II experience while continuing to grow and improve the world of L2 Noobwars together with our community. We would like to thank every player who has supported the server since day one. Your trust and dedication are what drive us forward. • This is only the beginning. • The war continues. • The server evolves. • The best is yet to come. • Join our Discord: [ https://discord.gg/l2noobwars ] • Check our Website: [ https://l2noobwars.org/ ] • Check Bnet : [ https://battlenet.gr/ ]  Grand Opening Server: [03/04/2026 20:00 GMT+3] **Welcome to the next era of L2 Noobwars.
    • I need a high-quality interlude build! And good geodata. Guys, whoever offers their options, write the price right away! Otherwise, you offer something and don’t respond!
    • Reason: Drawer window offsets are preventing the window from opening properly. Solution:   Open XDAT editor. (for info, I'am using v1.3.8 ) Select your Interface.dat Program Tabs > windows > Search >  "QuestTreeDrawerWnd" Select in right panel From DefaultProperty > Change value of  "size_absolute_height" to "447" (original value "421") From Window Property  > Find "drawerDirection" (dont change) Change value of offsetX to 0 (original value "-2") Change value of offsetY to 0 (original value "26") File > Save.   Detail Info Window will now work properly. 🎉   For Skill Enchant Window Program Tabs > windows > Search >  "MagicSkillDrawerWnd" From Window Property  > Find "drawerDirection" (dont change) Change value of offsetX to 0 (original value "-1)   Tested on clear H5 System.
  • 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..