Page 1 of 1

npc_%objectId%_Wear with hair accesories?

Posted: Thu May 19, 2011 6:46 am
by Belier
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:4618
L2JDP Revision Number:8010

Im trying to use this function with a buylist with hair accesories, but doesnt works. Anyone knows how i can get this working? =)

Thank you!

Re: npc_%objectId%_Wear with hair accesories?

Posted: Thu May 19, 2011 10:04 pm
by Belier
Anyone knows? I just test it, but no Graphic change =)

Re: npc_%objectId%_Wear with hair accesories?

Posted: Fri May 20, 2011 4:23 pm
by Belier
Im searching for the function at the SVN... anyone knows where it is? =)

Thank you!

Re: npc_%objectId%_Wear with hair accesories?

Posted: Fri May 20, 2011 7:21 pm
by Zoey76
Belier wrote:Im searching for the function at the SVN... anyone knows where it is? =)

Thank you!
In datapack: handlers.bypasshandlers.Wear;

That is a start at least, never tried to add a hat or something like that.

Re: npc_%objectId%_Wear with hair accesories?

Posted: Sun May 22, 2011 3:40 pm
by Belier
Strange indeed. I see the Paperdoll slots added to ShopPreviewInfo in the Core:

Code: Select all

    writeD(getFromList(Inventory.PAPERDOLL_CLOAK));        writeD(getFromList(Inventory.PAPERDOLL_RHAND));        writeD(getFromList(Inventory.PAPERDOLL_HAIR));        writeD(getFromList(Inventory.PAPERDOLL_HAIR2));        writeD(getFromList(Inventory.PAPERDOLL_RBRACELET));        writeD(getFromList(Inventory.PAPERDOLL_LBRACELET));
and the WriteH just seems fine at ShopPreviewList...

Code: Select all

writeH(item.getTemplate().getBodyPart());   // rev 415  slot    0006-lr.ear  0008-neck  0030-lr.finger  0040-head  0080-??  0100-l.hand  0200-gloves  0400-chest  0800-pants  1000-feet  2000-??  4000-r.hand  8000-r.hand
So... dead end for now lol.

If someone have another idea!

Thank you! :)

Re: npc_%objectId%_Wear with hair accesories?

Posted: Mon May 30, 2011 12:16 am
by Belier
any idea then about _Wear for hair accesories? =)

any tip would be wonderfull!

Thanks!

Re: npc_%objectId%_Wear with hair accesories?

Posted: Wed Oct 10, 2012 10:39 pm
by Inth
Same problem here, any hint would be apreciated
Works with armors and with weapons but doesn't work with Hats

waiting for your reply
Inth