Jump to content
  • 0

add dye bar to a new class


Question

5 answers to this question

Recommended Posts

  • 0
Posted
3 hours ago, Zake said:

Which pack do you use?

What pack has to do with client modification? Adding an extra window require dll modification not java.

  • 0
Posted
27 minutes ago, Kara said:

What pack has to do with client modification? Adding an extra window require dll modification not java.

I may have misunderstood his problem, but i think he is trying to say that it doesn't display any dye slot.

 

11 hours ago, tensador27 said:

does not show the dye bar

 

https://prnt.sc/4988fu

 

As far as i remember on interlude client dyes were displayed dynamically until you reach 3rd class (limited to 3).

Here is a code fragment from public acis 

https://prnt.sc/Cf40rxRa4ew7

 

  • 0
Posted
1 hour ago, Zake said:

I may have misunderstood his problem, but i think he is trying to say that it doesn't display any dye slot.

 

As far as i remember on interlude client dyes were displayed dynamically until you reach 3rd class (limited to 3).

Here is a code fragment from public acis 

https://prnt.sc/Cf40rxRa4ew7

 

 

hello I was looking for something similar to that code in frozen but the closest thing I found was this 

but I can't find something that says how much slot it shows depending on the class level

 

L2PcInstance

 

	/**
	 * Return the number of Henna empty slot of the L2PcInstance.<BR>
	 * <BR>
	 * @return the henna empty slots
	 */
	public int getHennaEmptySlots()
	{
		int totalSlots = 1 + getClassId().level();
		
		for (int i = 0; i < 3; i++)
		{
			if (_henna[i] != null)
			{
				totalSlots--;
			}
		}
		
		if (totalSlots <= 0)
		{
			return 0;
		}
		
		return totalSlots;
	}

 

 

 

and something that I forgot to say the npc adds them to the dyes but does not show them in the inventory

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