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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • @FixerRay the problem is that my dev will not be available for a while so if you could help that will be great 
    • Hello! I need help with the file lineageeffect.u (Interlude client) I need to remove ForcedLifeTime from the following skills:   Battle Heal Greater Major Heal Hurricane Solar Flare Hydro Blast Aura Bolt Aura Flare Aura Flash   Thank you in advance for your help!
    • Used to have the same issue managing all my masked files from different edits. What really helped me stay organized was this list: https://www.blueberry-ai.com/blog/12-best-digital-asset-management-software-for-photographers. Found a couple of tools there that make sorting, tagging, and finding assets way easier, especially when working on multiple projects or sharing with clients. Took a massive load off my workflow and saved me a lot of time digging through folders.
    • IBServer for L2OFF GF-H5-GD-Classic I’m excited to share IBServer, a fully standalone authentication and billing server designed for Lineage II Official (L2OFF) Generations Supporting Gracia Final (GF), High Five (H5), Glory Days (GD), and Classic Year(2018-2020).   Key features: 🔌 Real IB Communication: Integrates directly with the L2OFF client protocol for in‑band packet handling. ⚙️ Zero Client/Server Modification: No changes required to L2Server.exe, no extenders, no hooks — plug and play. 🛠️ ODBC SQL Server Support: Built‑in DBManager C++ class for handling premium points, purchases, and account data via stored procedures. 📦 Complete Packet API: Full implementation of RequestCheckVersion, GetPremiumItems, GetGamePoint, AddGamePoint, BuyItem, DeleteItem, etc. 🚀 Ready to Deploy: Simple config.txt for port and connection string, runs as a native Windows service or console app.   Price: $150 USD (one‑time payment, no licensing restrictions — use on as many PCs as you want)   How to purchase & support: Please reply here or send me a private message on MaxCheaters. I’ll provide a compiled binary along with installation instructions.
  • Topics

×
×
  • Create New...