Jump to content

Recommended Posts

Posted

thx 4 share :D

 

Try this

sendMessage("RaidBoss Manager","Boss " + raidboss.getName() + " is spawned!");

 

'n create the method (here, message will appear on Trade Mode):

    CreatureSay sendMessage(String sender, String msg) {
        CreatureSay cs = new CreatureSay(0, 8, sender, msg);
        return cs;
    }

  • 5 weeks later...
  • 2 weeks later...
  • 1 month later...
  • 3 weeks later...
Posted

l2jserver

 

net\sf\l2j\gameserver\instancemanager RaidBossSpawnManager.java

 

			GmListTable.broadcastMessageToGMs("Spawning Raid Boss " + raidboss.getName());
			_bosses.put(bossId, raidboss);
		}
		_schedules.remove(bossId);

 

add

 

Announcements.getInstance().announceToAll("RaidBoss : " + raidboss.getName() + " has spawning!");

Posted

Hi all, tested but dont work for me... Freya server.

 

What's i doing wrong please ?

 

Checked :

 

_storedInfo.put(bossId, info);

 

_log.info("Spawning Raid Boss " + raidboss.getName());

 

_bosses.put(bossId, raidboss);

}

 

_schedules.remove(bossId);

 

Trying to set all that 3 codes after it :

 

Announcements.getInstance().announceToAll("RaidBoss : " + raidboss.getName() + " has spawning!");

 

sendMessage("RaidBoss Manager","Boss " + raidboss.getName() + " is spawned!");

 

Announcements _an = Announcements.getInstance();

              _an.announceToAll("RaidBoss : " + raidboss.getName() + " has spawning!");

 

 

But no one accepted.

 

Sorry for my poor English and my n00b attitude about java :)

 

And thanks in advance for anwers ;)

Posted

Hi all, tested but dont work for me... Freya server.

 

What's i doing wrong please ?

 

Checked :

 

_storedInfo.put(bossId, info);

 

_log.info("Spawning Raid Boss " + raidboss.getName());

 

_bosses.put(bossId, raidboss);

}

 

_schedules.remove(bossId);

 

Trying to set all that 3 codes after it :

 

Announcements.getInstance().announceToAll("RaidBoss : " + raidboss.getName() + " has spawning!");

 

sendMessage("RaidBoss Manager","Boss " + raidboss.getName() + " is spawned!");

 

Announcements _an = Announcements.getInstance();

              _an.announceToAll("RaidBoss : " + raidboss.getName() + " has spawning!");

 

 

But no one accepted.

 

Sorry for my poor English and my n00b attitude about java :)

 

And thanks in advance for anwers ;)

Posted

Astralys

Announcements.getInstance().announceToAll("RaidBoss : " + raidboss.getName() + " has spawning!");

100% tested and working, its announcing only after "normal" spawn, so if u are writing //spawn id then it wont announce it :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • NEW HIDDENSTASH KEY SYSTEM INTRODUCED TO THE SITE   **Earn While You Spend - Introducing HS Cashback!**   Every purchase on our site now rewards you with **HS Keys cashback**   EVERY ONE WHO REGISTERS IN SITE UNTILL 15TH OF MAY GETS 2000 HS KEYS IN HES BALANE   Here's how it works:       **1 USD = 1000 HS Keys**   **Get 3% cashback** on every purchase   **Use your HS Keys to **save on your next order**   ---   ### ⚡ Why this is awesome   * Every order gives you value back   * Stack it with promos & HS usage   * Turn your spending into future discounts   ---   ### Example   Spend **$10** → Get **300 HS Keys** back   Spend **$50** → Get **1500 HS Keys** back   ---   ### Smart system (built for fairness)   * Cashback is rounded to keep things balanced   * Prevents abuse from tiny orders   * Rewards real buyers   ---   ### Start earning now   Every purchase = progress toward your next discount   Shop now and build your HS balance!   #cashback #gamingdeals #d2r #rewards #loyalty   Stay safe out there, heroes - and happy hunting! www.d2rhiddenstash.com     We just launched our new Affiliate Program — and it’s the easiest way to earn HS Keys.   Invite your friends using your personal link.   Example: If your friend spends $10 → you get 300 HS Keys No limits. No effort. Just share your link.   Get your referral link here: www.d2rhiddenstash.com/profile     Start earning today
    • https://jumpshare.com/share/L45ApA5PVrGN2O5Ua5pQ   Skill synchronization with the server: Launching and synchronizing animations, launching and synchronizing effects. All of this is tied to the server's timing  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..