Skip to content

Npc Weapon Glow/nick Collor

Featured Replies

Hi,

 

Using interlude l2jfrozen.

mby any1 knows where exactly (inside java) i can find how to turn off npc weapon glow effect and nick color?

 

Few photos how it looks like now...

post-69209-0-46363600-1382886216_thumb.jpg

post-69209-0-49075300-1382886222_thumb.jpg

 

Solved by Tryskell

It must be somewhere inside a .properties file the option to enable/disable npc weapon glow...

  • Author

it isnt... its obvious to look there at the 1st place.

Thats why im asking for java solution. :)

 

btw. if im correct this option is inside l2jserver packs.

Edited by anuck

most of packs are based on l2jserver, and L2jFrozen too.

Take a look insice L2Npc.java... 

Edited by ^Wyatt

  • Author

LoL :))

This one will sound funny but.. there isnt such file like l2npc.java

http://subversion.assembla.com/svn/L2jFrozenInterlude/trunk/gameserver/head-src/com/l2jfrozen/gameserver/model/actor/

Ye well, I guess it's the L2NpcInstance or the L2CustomNpcInstance... 

And about the nick color I guess it's "ColorSystem(activeChar);" inside Enterworld, clientpackets.

About nick color, isn't your character a GM? :D otherwise as Wyatt said, check EnterWorld.java

 

Npc glow.. it may be addon for npcs, or facked up custom code (clan crest on npc in town which castle belongs to you -- in past I messed by this and the result was the same.. :D)

 

Btw, it would be better if you ask directly on frozen forum, they will know better.

Edited by SweeTs

  • Author

No it isnt GM :D

Thx to wyatt, fixed nick color :)

as of npc glow, still working on it ... (clan crest on npc in town which castle belongs to you ) i heard about this one somewhere.. th i think i sow this one(or smth like this) in configs.

Thx alot for the help. It seems i have to dig deep into configs too :)

 

I think u was talking about this one right ?

 

+# Show clan, alliance crests for territory NPC's.
+# Default: False
+ShowNpcCrest = False

Edited by anuck

Yes, if it's False the npc weapons are with red glow.. :D

 

If im not wrong there was something about writeD, like 1 too much or so.. Don't remember :P

Edited by SweeTs

  • Solution

About L2Npc / L2NpcInstance, the IL writing style was L2NpcInstance / L2FolkInstance ( in that order).

 

About glow, it's on NpcInfo or AbstractNpcInfo depending your pack.

writeF(_collisionRadius);
writeF(_collisionHeight);
			
writeD(_enchantEffect);
writeD(_npc.isFlying() ? 1 : 0);

Edit : I managed to see NpcInfo from Frozen

writeC(0x00); // C3  team circle 1-blue, 2-red
writeF(_collisionRadius);
writeF(_collisionHeight);
writeD(0x00); // C4
writeD(0x00); // C6

So bad news for you :

  • first, enchant effect isn't supported by Frozen
  • second, your enchant issue isn't linked to that packet.

 

So until L2JFrozen edited it in another place of the code, it's probably linked to your client. You should ask to L2JFrozen forums if someone knows any config linked to that.

 

Another possibility is that packet isn't currently used. With L2JFrozen, an apple can be a pear, and a pear a cat.

Edited by Tryskell

  • Author

Thx Tryskell !

I rly appreciate, all your help guys.

All problems solved :)

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.