Skip to content

[HELP]FakeNpc

Featured Replies

I have a problem with Fakenpc need to have a place tittle HP (100% HP)

But write me an error.

 

    [javac] .........................\java\com\l2jserver\gameserver\network\serverpackets\AbstractNpcInfo.java:238: cannot find symbol

    [javac] symbol  : class DecimalFormat

    [javac] location: class com.l2jserver.gameserver.network.serverpackets.AbstractNpcInfo.NpcInfo

    [javac] writeS(fpc.title + " - HP " + new DecimalFormat("#.##").format(100.0 * _npc.getCurrentHp() / _npc.getMaxVisibleHp()) + "%"); // visible title

    [javac]                                                     ^

    [javac] 1 error

 

BUILD FAILED

Total time: 3 seconds

Could you please give me more of this code?

ehm importing DecimalFormat?

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.