🔥 Launch was a success!
Over 500 players joined L2Elixir on opening day, and we are holding a steady 420–450 online!
We faced extortion attempts and heavy DDoS attacks, but our protections held strong — even if the cost was far higher than expected.
What matters is we fought back and kept the server online for you. ⚔️
💙 Our priority is simple:
Deliver a stable, fair, and growing server that will evolve for years to come.
We continue to invest in protections, advertising, and development — and we won’t stop.
All we ask from YOU is one thing:
👉 Keep playing. The more active the community is, the faster the server grows.
💠 Important Note:
We have no paid clans or CPs, no “boosted” groups, no unfair benefits.
Everyone has an equal chance to progress and compete.
Thank you to everyone who joined, supported, and believed in this project.
Let’s make L2Elixir great again — even in 2025–2026! 🚀
Website: https://l2elixir.org/
Discord: https://discord.gg/5ydPHvhbxs
@Atom Can you please move to Private Servers? Thanks!
Question
VideoCopilot
Hello i made an event and i try once the player go there and transform after this the mobs spawn or npc's whatever
and i use this code:
public List<L2Spawn> _MonsterSpawn = new FastList<L2Spawn>(); private int[] mobs={ 21162, 21253, 21184, 21205, 21163, 21254, 21206, 21185, 21255, 21207, 21165, 21186 }; public static L2Spawn _mobsSpawn; . . . . . . . private void spawnGuards(final EventPlayer player) { L2NpcTemplate tmpl = NpcTable.getInstance().getTemplate(mobs[Rnd.get(0, 11)]);// ID do mob try { _mobsSpawn = new L2Spawn(tmpl); _mobsSpawn.setLocx(player.getX() + Rnd.get(650) - Rnd.get(350) + Rnd.get(150)); // loc x _mobsSpawn.setLocy(player.getY() + Rnd.get(650) - Rnd.get(250) + Rnd.get(140)); // loc y _mobsSpawn.setLocz(player.getZ()); // loc z _mobsSpawn.setAmount(1); _mobsSpawn.setHeading(0); _mobsSpawn.setRespawnDelay(150000); _mobsSpawn.setLocation(0); _mobsSpawn.setInstanceId(player.getInstanceId()); _MonsterSpawn.add(_mobsSpawn); _mobsSpawn = null; } catch (Exception e) { System.out.println("Error in event"); } } private void transformPlayer(final EventPlayer player) { player.setNameColor(255, 0, 0); player.transform(303); player.setStatus(1); untransformMutant(); player.broadcastUserInfo(); mutant = player; spawnGuards(player); }So player transform but mobs no spawn...
I though maybe is because inside the event engine where player.teleToEventArea();
is instance and yes it was so i used
_mobsSpawn.setInstanceId(player.getInstanceId());
to be in same instance with player
but still i cant see them or i dont see if they spawn... (ps no errors in GS)
Edited by VideoCopilot11 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now