Coming soon — New Year promotions across the entire SOCNET ecosystem
We are preparing special offers, bonuses, and surprises across all our projects.
Follow updates on our social media — you definitely don’t want to miss them.
News:
➡ Telegram channel: https://t.me/accsforyou_shop
➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t
➡ Discord server: https://discord.gg/y9AStFFsrh
Coming soon — New Year promotions across the entire SOCNET ecosystem
We are preparing special offers, bonuses, and surprises across all our projects.
Follow updates on our social media — you definitely don’t want to miss them.
News:
➡ Telegram channel: https://t.me/accsforyou_shop
➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t
➡ Discord server: https://discord.gg/y9AStFFsrh
We are looking for partners and account suppliers for cooperation
We are open to partnerships with reliable account suppliers for the following services:
➡ Tinder
➡ Badoo
➡ Bumble
➡ Hinge
➡ Happn
➡ Meetic
➡ VK Dating
➡ LINE
➡ Snapchat
➡ Reddit
➡ LinkedIn
➡ Instagram
➡ Facebook
➡ Threads
➡ Google ADS
➡ E-mails
➡ WhatsApp
➡ Twitter
We are considering long-term cooperation, stable volumes, and mutually beneficial terms.
If you have any offers — we will be glad to discuss the details.
Contact us using the details below.
➡ Telegram: https://t.me/socnet_support
➡ WhatsApp: https://wa.me/79051904467
➡ Discord: socnet_support
➡ ✉ Email: solomonbog@socnet.store
Come and JOIN us on Infinite Elmore 10x - Lineage2.cz
Server Grand Opening on Friday, 13th of February 2026 at 19:00 UTC+1.
Web: https://www.lineage2.cz/
Discord: https://www.lineage2.cz/discord
Question
pasha95
Hello guys. How i can add this script ("Announce spawn RB") in acis rev 352. In 340 rev this work perfectly.
Sorry 4 my bad english.
The script:
package custom.NpcScriptThree; import net.sf.l2j.gameserver.util.Broadcast; import net.sf.l2j.gameserver.model.actor.L2Npc; import net.sf.l2j.gameserver.scripting.Quest; public class NpcScriptThree extends Quest { //Ид боссов private static final int[] BossId = { 25035, 25220, 25054, 25126, 25325, 25309, 25312, 25299, 25302, 25269, 25163, 25453, 25328, 25202, 25109, 25319, }; public NpcScriptThree(int questId, String descr) { super(questId, descr); for (int BossIds : BossId) addSpawnId(BossIds); } @Override public String onSpawn(L2Npc raidboss) { int npcId = raidboss.getNpcId(); for (int id : BossId) if (npcId == id) Broadcast.announceToOnlinePlayers("RaidBoss : " + raidboss.getName() + " spawn in the world!"); return super.onSpawn(raidboss); } public static void main(String[] args) { new NpcScriptThree(-1, "custom"); } }I need put this to source or not? Help pls
5 answers to this question
Recommended Posts