Jump to content
  • 0

[HELP]npc to polymorph



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




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)

       if (template == null)
           _log.severe("No template for Npc. Please check your datapack is setup correctly.");edo mou bgazi oti einai dead code

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

όταν εσύ είσαι διαγώνια και το npc βγαίνει ευθεία ή όταν εσύ είσαι σε ευθεία και το npc βγαίνει διαγώνια ; :S

Link to comment
Share on other sites

  • 0

Δείξε μας το έρρορ που σου βγάζει.


Επίσης ,απλά αν γυρίσεις προς τον τοίχο το npc θα βγει όπως το θες.

Απλά θα κοιτάς προς την αντίθετη πλευρά κάθε φορά που θες να κάνεις spawn τέτοιο npc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Posts

    • Hello, if you order, always order with refill so you are 100% sure, the followers,likes stay.   We now accept PayPal sometimes, open ticket and ask, our support team will tell you if we accept it or not.
    • AM Acumen +3 DB Clean Drac Armor set  DC robe set AS Clean TT SET +3 1.5B Adena in stock  discord : AliTarash#5255 or dm here 
    • private int _ispro; private long _isproTime; public void increasePvpKills(L2Character target) {     if (target instanceof L2PcInstance && AntiFeedManager.getInstance().check(this, target))     {         if (_isproTime < System.currentTimeMillis())             _ispro = 0;           _ispro++;         _isproTime = System.currentTimeMillis() + 60000L;   There is no need for any task or anything..
    • Hi, i make 4 new custom zone where can set zonename, but have problem bcs  still working only last zonename for all new zones...   373    0    26    16    30000.00000000    -30000.00000000    a,TvT Event\0    -1    -1    -1    -1    -1    -1    0.00000000    a, 374    0    16    16    30000.00000000    -30000.00000000    a,TvT Event\0    -1    -1    -1    -1    -1    -1    0.00000000    a, 375    0    21    11    30000.00000000    -30000.00000000    a,TvT Event\0    -1    -1    -1    -1    -1    -1    0.00000000    a, 376    0    17    16    30000.00000000    -30000.00000000    a,PvP Zone\0    -1    -1    -1    -1    -1    -1    0.00000000    a,   Some1 understand it how its working ? i need set new nbr, zone_color_id and other geodata coords + 1 map for zone... If all working good ofc i pay for it 😉 pm on discord: ! KejbL#0290 thx.
  • Topics

  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock