Jump to content
  • 0

Boss Announcer


Question

12 answers to this question

Recommended Posts

  • 0
Posted

instancemanager/RaidBossSpawnManager.java

 import net.sf.l2j.gameserver.templates.StatsSet;
+import net.sf.l2j.gameserver.util.Broadcast;
 

  _log.info("RaidBoss: " + raidboss.getName() + " has spawned.");
  
+ Broadcast.announceToOnlinePlayers("RaidBoss: " + raidboss.getName() + " has spawned in the world.", true);
+ 
  _bosses.put(bossId, raidboss);
  }
  • 0
Posted (edited)

Looking for l2jacis boss spawn announcer.

Just go at Character.java find the doDie method and somewhere in there add

if (this instanceof L2GrandBossInstance)
{
   Announcements.getInstance().announceToAll(this.getName() + " has been killed.");
} 

now i remembe in aCis there is no Announcements so you have to find how is announce in aCis to make it work. but the idea and the place you place the code is this.

Edited by AccessDenied
  • 0
Posted

boss spawn announcer.

 

find the doDie method

:facepalm:  :roflmao:  :facepalm:  :roflmao:  :facepalm:  :roflmao:  :feelsbadman:

  • 0
Posted (edited)

:facepalm:  :roflmao:  :facepalm:  :roflmao:  :facepalm:  :roflmao:  :feelsbadman:

Laugh bitch laugh, took you 10 months to realise what Reflection is in Java   :-[  :-[

Also why not? doDie handle it well also. Wanna try?

 

maybe but you know i love you more than everyone :D

 

You're more fucked than vorfin. Please maxtor to save you

Edited by AccessDenied
  • 0
Posted

Laugh bitch laugh, took you 10 months to realise what Reflection is in Java  :-[  :-[

 

 

You're more fucked than vorfin. Please maxtor to save you

none can save me only my bet if it comes

  • 0
Posted

Laugh bitch laugh, took you 10 months to realise what Reflection is in Java   :- :-

I still don't know what it is.  ::)

 

Also why not? doDie handle it well also. Wanna try?

Bcs as the name suggests it's doDie?  ^-^

  • 0
Posted

 

instancemanager/RaidBossSpawnManager.java

 import net.sf.l2j.gameserver.templates.StatsSet;
+import net.sf.l2j.gameserver.util.Broadcast;
 

  _log.info("RaidBoss: " + raidboss.getName() + " has spawned.");
  
+ Broadcast.announceToOnlinePlayers("RaidBoss: " + raidboss.getName() + " has spawned in the world.", true);
+ 
  _bosses.put(bossId, raidboss);
  }

Thank you mate, work.

 

4dd2a44f7d8e71bd5cffa3e0454b3864486.jpg

Guest
This topic is now closed to further replies.


×
×
  • Create New...