This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
BlackKiss
gia sas paidia exo ena problima me to polymorph system exo fiaksi ta npc na ginonte kanoniki char kai to petixa to thema einai to npc otan to kano spawn kai egw eimai diagonia to npc bgeni efthia dld kitazi pros ta efthia kai mou spai ta nebra den mporo na fiakso me sosti sira ta npc paides ama xerete epi tou thematos rixte kanenan code plz o server einai IT
http://img576.imageshack.us/i/shot00000cd.png/
mou bgazi ena error edo se afton ton code pou mpeni sto L2NpcInstance.java
_currentCollisionHeight = getTemplate().collisionHeight; _currentCollisionRadius = getTemplate().collisionRadius; // Velvet - MxC _mxcModel = MaxCheatersTable.getInstance().getModelForID(template.npcId); if(_mxcModel != null) // Lil Config xD { _currentCollisionHeight = CharTemplateTable.getInstance().getTemplate(_mxcModel.getClassId()).collisionHeight; _currentCollisionRadius = CharTemplateTable.getInstance().getTemplate(_mxcModel.getClassId()).collisionRadius; if(_mxcModel.getWeaponIdRH() <= 0 && _mxcModel.getWeaponIdLH() <= 0) { _mxcModel.setWeaponIdRH(template.rhand); _mxcModel.setWeaponIdLH(template.lhand); } } if (template == null) { _log.severe("No template for Npc. Please check your datapack is setup correctly.");edo mou bgazi oti einai dead code return; }5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now