Jump to content
  • 0

[Request] Crest System like


Question

7 answers to this question

Recommended Posts

  • 0
Posted

As I remember L2J pack (latest) already has it, so you can simply check their SVN/Source.

  • 0
Posted

ye but do you know the quest name?

 

Its not quest, its in core.

 

Im not sure but check L2Npc.java

  • 0
Posted

Its not quest, its in core.

 

Im not sure but check L2Npc.java

 

I don't know but i have idea... He can edit teritory war code... because if u win tw all npc ex giran area have crest... If i miss sorry but i try help:)

  • 0
Posted

AbstractNpcInfo.java

 

			// npc crest of owning clan/ally of castle
		if (cha instanceof L2NpcInstance && cha.isInsideZone(L2Character.ZONE_TOWN) && (Config.SHOW_CREST_WITHOUT_QUEST || cha.getCastle().getShowNpcCrest()) && cha.getCastle().getOwnerId() != 0)
		{
			int townId = TownManager.getTown(_x, _y, _z).getTownId();
			if (townId != 33 && townId != 22)
			{
				L2Clan clan = ClanTable.getInstance().getClan(cha.getCastle().getOwnerId());
				_clanCrest = clan.getCrestId();
				_clanId = clan.getClanId();
				_allyCrest = clan.getAllyCrestId();
				_allyId = clan.getAllyId();
			}
		}
	}

 

You can check this class from latest L2J core, and check how does it wok.

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


×
×
  • 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..