Skip to content

add dye bar to a new class

Featured Replies

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.

  • Author
1 hour ago, Zake said:

Which pack do you use?

l2jfrozen

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.

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

 

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.