npc_%objectId%_Wear with hair accesories?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Belier
Posts: 42
Joined: Mon Aug 10, 2009 9:39 pm

npc_%objectId%_Wear with hair accesories?

Post 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!
Image
Image
Belier
Posts: 42
Joined: Mon Aug 10, 2009 9:39 pm

Re: npc_%objectId%_Wear with hair accesories?

Post by Belier »

Anyone knows? I just test it, but no Graphic change =)
Image
Image
Belier
Posts: 42
Joined: Mon Aug 10, 2009 9:39 pm

Re: npc_%objectId%_Wear with hair accesories?

Post by Belier »

Im searching for the function at the SVN... anyone knows where it is? =)

Thank you!
Image
Image
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: npc_%objectId%_Wear with hair accesories?

Post 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.
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
Belier
Posts: 42
Joined: Mon Aug 10, 2009 9:39 pm

Re: npc_%objectId%_Wear with hair accesories?

Post 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! :)
Image
Image
Belier
Posts: 42
Joined: Mon Aug 10, 2009 9:39 pm

Re: npc_%objectId%_Wear with hair accesories?

Post by Belier »

any idea then about _Wear for hair accesories? =)

any tip would be wonderfull!

Thanks!
Image
Image
User avatar
Inth
Posts: 10
Joined: Wed Jul 18, 2012 12:19 pm

Re: npc_%objectId%_Wear with hair accesories?

Post 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
Post Reply