Jump to content
  • 0

Symbol Maker


Question

Posted (edited)

Hey guys, i was trying to make symbol maker show all available symbols even if you dont have the dye item in inventory, but somehow it doesnt work like I wanted, could you help me with that please?

		for (L2Henna temp : _hennaEquipList)
		{
			// Player must have at least one dye in inventory to be able to see the henna that can be applied with it.
			if ((_player.getInventory().getItemByItemId(temp.getDyeId())) != null)
			{
				writeD(temp.getSymbolId()); // symbolid
				writeD(temp.getDyeId()); // itemid of dye
				writeD(L2Henna.getAmountDyeRequire()); // amount of dyes required
				writeD(temp.getPrice()); // amount of adenas required
				writeD(1); // meet the requirement or not
			}
		}

Tryed removing that IF, but somehow shows only few symbols (the first ones from henna.xml)

Edited by lsj14

3 answers to this question

Recommended Posts

  • 0
Posted

L2Henna is kinda old, it has been renamed since months Henna.

 

Regarding the list, if I ask that there as a reason :

player.sendPacket(new HennaEquipList(player, HennaTable.getInstance().getAvailableHenna(player.getClassId().getId())));

As you can see it send only availably hennas for the class. No matter what you try to do in serverpacket, the list is already built and filtered.

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

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock