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!
npc_%objectId%_Wear with hair accesories?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 42
- Joined: Mon Aug 10, 2009 9:39 pm
Re: npc_%objectId%_Wear with hair accesories?
Anyone knows? I just test it, but no Graphic change =)


-
- Posts: 42
- Joined: Mon Aug 10, 2009 9:39 pm
Re: npc_%objectId%_Wear with hair accesories?
Im searching for the function at the SVN... anyone knows where it is? =)
Thank you!
Thank you!


- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: npc_%objectId%_Wear with hair accesories?
In datapack: handlers.bypasshandlers.Wear;Belier wrote:Im searching for the function at the SVN... anyone knows where it is? =)
Thank you!
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! 

-
- Posts: 42
- Joined: Mon Aug 10, 2009 9:39 pm
Re: npc_%objectId%_Wear with hair accesories?
Strange indeed. I see the Paperdoll slots added to ShopPreviewInfo in the Core:
and the WriteH just seems fine at ShopPreviewList...
So... dead end for now lol.
If someone have another idea!
Thank you!
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));
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
If someone have another idea!
Thank you!



-
- Posts: 42
- Joined: Mon Aug 10, 2009 9:39 pm
Re: npc_%objectId%_Wear with hair accesories?
any idea then about _Wear for hair accesories? =)
any tip would be wonderfull!
Thanks!
any tip would be wonderfull!
Thanks!


- Inth
- Posts: 10
- Joined: Wed Jul 18, 2012 12:19 pm
Re: npc_%objectId%_Wear with hair accesories?
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
Works with armors and with weapons but doesn't work with Hats
waiting for your reply
Inth