Skip to content

[Share]Morph NPCs to PCs(Players)

Featured Replies

in function onRandomAnimation() add this (coz PCs have more animations than regular npcs):

Code:

-        // Send a packet SocialAction to all L2PcInstance in the _KnownPlayers of the L2NpcInstance

-        SocialAction sa = new SocialAction(getObjectId(), Rnd.get(2, 3));

+        int min = (_customNpcInstance != null) ? 1  : 2;

+        int max = (_customNpcInstance != null) ? 13 : 3;

+    // Send a packet SocialAction to all L2PcInstance in the _KnownPlayers of the L2NpcInstance

+        SocialAction sa = new SocialAction(getObjectId(), Rnd.get(min, max));

i can't find these lines on L2jfree and l2jopen packs! this is in L2NPCinstance.java?

wow. im gonna test it dude and tell you the results . thnx again!

fdLP. your post its really good !!!i try it.. no my test server tomorrow!

USE YOUR FUKIN BRAINS PPL!

This works only from kamael up to Gracia! Not more then that! There are other working shares like this.. use the search button!

Locked.. god damn

Guest
This topic is now closed to further replies.

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.