Jump to content
  • 0

add dye bar to a new class


Question

5 answers to this question

Recommended Posts

  • 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...