Jump to content
  • 0

add dye bar to a new class


tensador27

Question

does not show the dye bar

 

https://prnt.sc/4988fu

 

 

 

Hello, I am adding a new class, everything works fine, but the dye bar is not added where it should be added so that the new class shows the bar.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

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

Link to comment
Share on other sites

  • 0
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

 

Link to comment
Share on other sites

  • 0
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

Link to comment
Share on other sites

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