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
Lupu1
Posts: 335 Joined: Wed Nov 04, 2009 7:51 am
Post
by Lupu1 » Sun Dec 08, 2013 10:02 am
6309-10068
In l2pctemplate there is no male only female ?
private final double _fCollisionHeightFemale;
private final double _fCollisionRadiusFemale;
I add the fake npc code and it haves
Code: Select all
L2PcTemplate pcTmpl = CharTemplateTable.getInstance().getTemplate(fPc.clazz); if (pcTmpl != null) { writeF(fPc.sex == 0 ? pcTmpl.getFCollisionRadiusMale() : pcTmpl.getFCollisionRadiusFemale()); writeF(fPc.sex == 0 ? pcTmpl.getFCollisionHeightMale() : pcTmpl.getFCollisionHeightFemale());
VlLight
L2j Veteran
Posts: 577 Joined: Fri Dec 14, 2007 11:58 am
Location: Russia
Post
by VlLight » Sun Dec 08, 2013 1:08 pm
"Male" values are defined in parent class
Lupu1
Posts: 335 Joined: Wed Nov 04, 2009 7:51 am
Post
by Lupu1 » Sun Dec 08, 2013 1:48 pm
VlLight wrote: "Male" values are defined in parent class
good like this ?
Code: Select all
writeF(fPc.sex == 0 ? pcTmpl.getfCollisionRadius() : pcTmpl.getFCollisionRadiusFemale()); writeF(fPc.sex == 0 ? pcTmpl.getfCollisionHeight() : pcTmpl.getFCollisionHeightFemale());
VlLight
L2j Veteran
Posts: 577 Joined: Fri Dec 14, 2007 11:58 am
Location: Russia
Post
by VlLight » Sun Dec 08, 2013 2:16 pm
Yes
Lupu1
Posts: 335 Joined: Wed Nov 04, 2009 7:51 am
Post
by Lupu1 » Sun Dec 08, 2013 3:14 pm