Jump to content
  • 0

Costume Garmet Error only on 4th class


Question

Posted

Hello everyone

can someone help me with this 

all the costume garmets and garmets that have sprites show to me like this 

only on the 4th class sprites 1st second and third class works well

image.png.e92bc0f8248f63e6741f90ebc89e4ed4.png

PD i dont have custom garmets or custom costumes all the files are the originals rathena ones 

image.png.be4d5931b3c7ce339022d1ff9c4ae006.pngimage.png.36e2a0a3e7bd0f974d06e0723596dbd6.pngimage.png.3da6f3870d0eafa9b68b5278c6d73be6.png

 

thx in advance for the help 

2 answers to this question

Recommended Posts

  • 0
Posted (edited)
On 12/24/2023 at 4:09 PM, LadyNanuia said:

This issue has to do with layer priority, you can fix this in the lua files in the client.

Thx You Know where may i find those Lua Files or the names to check them ?

 

Thank you for your help 

 

i search about the priority layer 

but i dont know if is this or i have to search about the layer of the 4th job sprite layer

	},
	IsIgnoredRidingState = function(acc_id)
	local Items_List = TB_Layer_Priority.Items_List
	if nil ~= Items_List then
		local Item_Tb = Items_List[acc_id]
		if nil ~= Item_Tb and nil ~= Item_Tb.isIgnoreRiding then
			return Item_Tb.isIgnoreRiding
		end
	end
	return false
end,
	IsHelmRobe = function(acc_id)
	local Items_List = TB_Layer_Priority.Items_List
	if nil ~= Items_List then
		local Item_Tb = Items_List[acc_id]
		if nil ~= Item_Tb and nil ~= Item_Tb.isHelmRobe then
			return Item_Tb.isHelmRobe
		end
	end
	return false
end
}

-- Function #0
GetLayerPriority = function(direction, layer, acc_id)
	local Items_List = TB_Layer_Priority.Items_List
	if nil ~= Items_List then
		local Item_Tb = Items_List[acc_id]
		if nil ~= Item_Tb then
			if nil ~= Item_Tb.Direction and nil ~= Item_Tb.Direction[direction] then
				return Item_Tb.Direction[direction]
			elseif nil ~= Item_Tb.Default then
				return Item_Tb.Default
			end
		end
	end
	if 2 == layer then
		return TB_Layer_Priority.Default_Bottom
	elseif 3 == layer then
		return TB_Layer_Priority.Default_Top
	elseif 4 == layer then
		return TB_Layer_Priority.Default_Mid
	elseif 8 == layer then
		return TB_Layer_Priority.Default_Robe
	end
	return -1
end

 

Edited by InfectedX

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...