I'm facing an issue where the HairID from a custom item skin does not display in-game when applied through the skin system. However, if I retrieve the HairID individually, it works correctly, and I can equip it on the player as a standalone "nonameitem."
The setup seems correct, and the item displays and functions in isolation, so I suspect something may be preventing it from rendering when called via the skin system.
Has anyone encountered a similar problem or have insights on what might be missing in the process? Any guidance would be appreciated!
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.
I do what I like because I don't need to push myself to do things for L2 as a means of income. You, on the other hand, are here trying to scam people for $20k files...
But, since you're so talented and competent, I suppose you must be thriving on the fruits of your talents as an L2Off dev, no?
Oh wait
Guess not
If you have error
[ERR] 1067 - Invalid default value for 'createDate'
`createDate` date DEFAULT NULL '00-00-0000',
need use
`createDate` date DEFAULT NULL,
What game client do you need here?
I can't even log in!
# Auto account creation
# ----------------------------
# Auto account creation
# Default: True
AutoCreateAccounts = True
What did I do wrong?
ServerAddr=127.0.0.1
Question
TexasJunior
Hello,
I am working with l2jacis
I'm facing an issue where the
HairID
from a custom item skin does not display in-game when applied through the skin system. However, if I retrieve theHairID
individually, it works correctly, and I can equip it on the player as a standalone "nonameitem."The setup seems correct, and the item displays and functions in isolation, so I suspect something may be preventing it from rendering when called via the skin system.
Has anyone encountered a similar problem or have insights on what might be missing in the process? Any guidance would be appreciated!
<skin id="15001" hairId="14500" chestId="14501" legsId="0" glovesId="0" feetId="0"/> <!-- Assassin Dark -->
if(player.getVisual() == 0)
player.setVisual(itemId, SkinTable.getInstance().getHair(itemId), SkinTable.getInstance().getChest(itemId), SkinTable.getInstance().getLegs(itemId), SkinTable.getInstance().getGloves(itemId), SkinTable.getInstance().getBoots(itemId));
else //reset on press Item if skin is equipped
player.setVisual(0,0,0,0,0,0);
<item id="14500" type="Armor" name="Dark Helmet">
<set name="default_action" val="equip" />
<set name="bodypart" val="hair" />
<set name="material" val="WOOD" />
<set name="weight" val="10" />
</item>
<item id="14501" type="Armor" name="Dark Suit">
<set name="default_action" val="equip" />
<set name="armor_type" val="NONE" />
<set name="bodypart" val="alldress" />
<set name="material" val="CLOTH" />
<set name="weight" val="1000" />
<set name="price" val="5000000" />
</item>
1 answer to this question
Recommended Posts
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.