Skip to content

[HELP]npc to polymorph

Featured Replies

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;
       }

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

An kaneis spawn to NPC eutheia sou vgainei diagwnia?

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

 

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

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

  • Author

1 FighterBoss den pezi afto pou les to exo kani spawn 100000 fores kai 2 to error sto edixa

  • 1 month later...
  • Author

re boydes kamia boithia plz se afto to topic

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.