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
Not available out of the box, but should be pretty simple to add, just add the nameColor/titleColor attributes to NPC XMLs and implement their usage in core. Would be nice if that was committed because it should require VERY little code.
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.
Take a look at the code that parses the NPC XMLs, specifically the usingServerSideName/usingServerSideTitle attributes. Then find the packet(s) that send the npc name/title to the server, specifically the part that sends the color (should be marked at least by a comment).
If you know java well enough, you should be able to add it.
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.
The guides you need are programming tutorials. Go get them.
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.
jurchiks wrote:Not available out of the box, but should be pretty simple to add, just add the nameColor/titleColor attributes to NPC XMLs and implement their usage in core. Would be nice if that was committed because it should require VERY little code.
I have tested this before when you apply a color name/title doesnt show up anymore.
Nos wrote:I have tested this before when you apply a color name/title doesnt show up anymore.
Are you saying it's impossible to change NPC name/title color? Or it isn't visible if the color is different from default?
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.
jurchiks wrote:Not available out of the box, but should be pretty simple to add, just add the nameColor/titleColor attributes to NPC XMLs and implement their usage in core. Would be nice if that was committed because it should require VERY little code.
This would be really cool to have on the server-side
Nos wrote:When you set "color" if its really color as comment says the title or name is just removed no color is set.
Well, that's quite disappointing...
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.
Wait so in the past you could in theory adjust the color (at least I do know you could adjust colors of players - not for monsters?), but now it's impossible? I thought they are expected to adjust their color the same way L2PcInstance-objects adjust their color - no?
If not - it's weird .. I'd even dare to think it's a bug .
I don't mind helping - however: I only do so if I want to. No support for other server packs than L2J.