- 0
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..
Question
Dreigons
Hello,
I have one question. Is any way to change NPC title color without editing client side (npcname-e.dat)? i mean from server side. (Client Interlude).
Or maybe someone already have edited npcname-e.dat with NPC levels and different colors for aggro monsters?
Here is my NpcInfo packet
protected final void writeImpl() { if (_activeChar == null) { return; } if (_activeChar instanceof L2Summon) { if (((L2Summon) _activeChar).getOwner() != null && ((L2Summon) _activeChar).getOwner().getAppearance().getInvisible()) { return; } } writeC(0x16); writeD(_activeChar.getObjectId()); writeD(_idTemplate + 1000000); writeD(_isAttackable ? 1 : 0); writeD(_x); writeD(_y); writeD(_z); writeD(_heading); writeD(0x00); writeD(_mAtkSpd); writeD(_pAtkSpd); writeD(_runSpd); writeD(_walkSpd); writeD(_swimRunSpd); writeD(_swimWalkSpd); writeD(_flRunSpd); writeD(_flWalkSpd); writeD(_flyRunSpd); writeD(_flyWalkSpd); writeF(1.1); writeF(_pAtkSpd / 277.478340719); writeF(_collisionRadius); writeF(_collisionHeight); writeD(_rhand); writeD(0); writeD(_lhand); writeC(1); writeC(_activeChar.isRunning() ? 1 : 0); writeC(_activeChar.isInCombat() ? 1 : 0); writeC(_activeChar.isAlikeDead() ? 1 : 0); writeC(_isSummoned ? 2 : 0); writeS(_name); writeS(_title); if (_activeChar instanceof L2Summon) { writeD(0x01); writeD(((L2Summon) _activeChar).getPvpFlag()); writeD(((L2Summon) _activeChar).getKarma()); } else { writeD(0); writeD(0); writeD(0); } writeD(_activeChar.getAbnormalEffect()); if (Config.SHOW_NPC_CREST) { writeD(_clanId); writeD(_clanCrest); writeD(_allyId); writeD(_allyCrest); } else { writeD(0); writeD(0); writeD(0); writeD(0); } writeC(0000); // C2 if (Config.L2JMOD_CHAMPION_ENABLE) { writeC(_activeChar.isChampion() ? Config.L2JMOD_CHAMP_AURA : 0); } else { writeC(0); } writeF(_collisionRadius); writeF(_collisionHeight); writeD(0x00); // C4 writeD(0x00); // C6 }2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now