Jump to content
  • 0

Boss Announcer


Tugowolf

Question

12 answers to this question

Recommended Posts

  • 0

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);
  }
Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

boss spawn announcer.

 

find the doDie method

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

Link to comment
Share on other sites

  • 0

: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
Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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?  ^-^

Link to comment
Share on other sites

  • 0

 

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...