Jump to content

Recommended Posts

Posted

Hey guys, i'm going to share Grand Boss Info Manager... for aCis. Tested and works on rev. 290.

The link:
http://www68.zippyshare.com/v/97642276/file.html

Install:

1. put BossRespawn folder into scripts/custom/
2. add into scripts.cfg file

custom/BossRespawn/BossRespawn.java

3. Change NPC_ID=30951; in BossRespawn.java into any npc id you want, just keep in mind that npc's type must be L2NpcInstance.

4. Credits to BigBoss and Dleogr.

nl4xaw.jpg

Remade to work by povis111.
 

Posted

It's the same crap, you didn't change anything.

What do you mean by 'anything', yes, i only changed imports and textbuilder > stringbuilder. But i still changed something... Btw, i was asked to do this and thought some more people would need it ;)

  • 1 year later...
Posted

i have this error but npc is working

 

1. WARNING in \BossRespawn.java (at line 57)
        long delay = GrandBossManager.getInstance().getStatsSet(boss).getLong("r
espawn_time");
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The static method getStatsSet(int) from the type GrandBossManager should be acce
ssed in a static way
Posted

 

i have this error but npc is working

 

1. WARNING in \BossRespawn.java (at line 57)
        long delay = GrandBossManager.getInstance().getStatsSet(boss).getLong("r
espawn_time");
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The static method getStatsSet(int) from the type GrandBossManager should be acce
ssed in a static way

It says that the getStatsSet(int) is a static void and static voids don't need new instances so..

this

 

long delay = GrandBossManager.getInstance().getStatsSet(boss).getLong("respawn_time");

to this

long delay = GrandBossManager.getStatsSet(boss).getLong("respawn_time");
  • 7 months later...
Posted (edited)

Change it to L2NpcInstance..... not L2NpcInstaneInstance -.-

i don't write L2NpcInstaneInstance

 

i wrote:

RoWMQjz.png

Edited by netoluan
Posted

Just L2Npc... when its loaded, the server automatically appends Instance. Thats why you get L2NpcInstanceInstance

Guest
This topic is now closed to further replies.
×
×
  • Create New...